20230421@093817.9330 n7o28c72q6f6j5ij7maumnhi9f INICIO DE FICHEIRO DE LOG :: /var/www/webservices/logs/website.sql.log
20230421@093817.9328 n7o28c72q6f6j5ij7maumnhi9f Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut644240079164424b79e3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut644246582764424b7996' ,0,0 ,2,23.00,90000,?,?,?)
20230421@093817.9550 n7o28c72q6f6j5ij7maumnhi9f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@093817.9565 n7o28c72q6f6j5ij7maumnhi9f Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@093817.9569 n7o28c72q6f6j5ij7maumnhi9f Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644240079164424b79e3','aut644246582764424b7996' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@093817.9574 n7o28c72q6f6j5ij7maumnhi9f Query : use flama_phc
20230421@093817.9577 n7o28c72q6f6j5ij7maumnhi9f Query : select st.usalote valor from st where st.ref = '324.2031.00.1'
20230421@093817.9589 n7o28c72q6f6j5ij7maumnhi9f Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230421@093817.9726 n7o28c72q6f6j5ij7maumnhi9f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@093817.9739 n7o28c72q6f6j5ij7maumnhi9f Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@093817.9749 n7o28c72q6f6j5ij7maumnhi9f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@093817.9763 n7o28c72q6f6j5ij7maumnhi9f Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@093817.9767 n7o28c72q6f6j5ij7maumnhi9f Query : select sestamp valor from se where ref ='324.2031.00.1' and lote = 'r2100232100a'
20230421@093817.9779 n7o28c72q6f6j5ij7maumnhi9f Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@093817.9789 n7o28c72q6f6j5ij7maumnhi9f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@093817.9801 n7o28c72q6f6j5ij7maumnhi9f Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@093817.9811 n7o28c72q6f6j5ij7maumnhi9f Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644243866064424b79ee',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6 ,'aut644246582764424b7996' ,0,0 ,2,23.00,110000,?,?,?,?,?)
20230421@093818.2800 n7o28c72q6f6j5ij7maumnhi9f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@093818.4300 n7o28c72q6f6j5ij7maumnhi9f Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@093818.4700 n7o28c72q6f6j5ij7maumnhi9f Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644243866064424b79ee','aut644246582764424b7996' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@093818.5300 n7o28c72q6f6j5ij7maumnhi9f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@093818.6600 n7o28c72q6f6j5ij7maumnhi9f Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@093818.7700 n7o28c72q6f6j5ij7maumnhi9f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@093818.8900 n7o28c72q6f6j5ij7maumnhi9f Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@093818.9300 n7o28c72q6f6j5ij7maumnhi9f Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@093818.1070 n7o28c72q6f6j5ij7maumnhi9f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@093818.1180 n7o28c72q6f6j5ij7maumnhi9f Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@093818.1280 n7o28c72q6f6j5ij7maumnhi9f Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut644243780164424b7a02',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut644246582764424b7996' ,0,0 ,2,23.00,120000,?,?,?)
20230421@093818.3510 n7o28c72q6f6j5ij7maumnhi9f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@093818.3650 n7o28c72q6f6j5ij7maumnhi9f Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@093818.3690 n7o28c72q6f6j5ij7maumnhi9f Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644243780164424b7a02','aut644246582764424b7996' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@093818.3750 n7o28c72q6f6j5ij7maumnhi9f Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut644246582764424b7996','','wait',39,'ari17112337378,753000005')
20230421@093818.3950 n7o28c72q6f6j5ij7maumnhi9f Query : use flama_phc
20230421@093818.3980 n7o28c72q6f6j5ij7maumnhi9f Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230421@093818.4220 n7o28c72q6f6j5ij7maumnhi9f Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='16';
20230421@093818.4320 n7o28c72q6f6j5ij7maumnhi9f Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='16';
20230421@093818.4410 n7o28c72q6f6j5ij7maumnhi9f Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='16';
20230421@093818.4500 n7o28c72q6f6j5ij7maumnhi9f Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='16';

20230421@125916.6627 966ss02jc8c9g4usr47224d1im Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='17';
20230421@125916.6647 966ss02jc8c9g4usr47224d1im Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='17';
20230421@125916.6657 966ss02jc8c9g4usr47224d1im Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='17';
20230421@125916.6666 966ss02jc8c9g4usr47224d1im Query : use flama_phc
20230421@125916.6669 966ss02jc8c9g4usr47224d1im Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230421@125916.6707 966ss02jc8c9g4usr47224d1im Query : use flama_phc
20230421@125916.6710 966ss02jc8c9g4usr47224d1im Query : select no, estab,szadrsdesc from szadrs where u_coddest=3155
20230421@125916.6777 966ss02jc8c9g4usr47224d1im 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'
20230421@125916.6908 966ss02jc8c9g4usr47224d1im Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 8 and bi.ref ='304.4211.00.1' and bi.lordem =1
20230421@125916.7203 966ss02jc8c9g4usr47224d1im 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'
20230421@125916.7345 966ss02jc8c9g4usr47224d1im Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 8 and bi.ref ='304.4320.00.1' and bi.lordem =2
20230421@125916.7635 966ss02jc8c9g4usr47224d1im 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'
20230421@125916.7788 966ss02jc8c9g4usr47224d1im Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 8 and bi.ref ='324.1706.00.1' and bi.lordem =3
20230421@125916.8076 966ss02jc8c9g4usr47224d1im 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'
20230421@125916.8207 966ss02jc8c9g4usr47224d1im Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 8 and bi.ref ='324.736.00.01' and bi.lordem =4
20230421@125916.8497 966ss02jc8c9g4usr47224d1im 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'
20230421@125916.8641 966ss02jc8c9g4usr47224d1im Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 8 and bi.ref ='324.4901.00.1' and bi.lordem =5
20230421@125916.8996 966ss02jc8c9g4usr47224d1im Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20230421@125916.9271 966ss02jc8c9g4usr47224d1im Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 8 and bi.ref ='324.4970.00.1' and bi.lordem =6
20230421@125916.9867 966ss02jc8c9g4usr47224d1im Query : use flama_phc
20230421@125916.9871 966ss02jc8c9g4usr47224d1im Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230421@125917.2900 966ss02jc8c9g4usr47224d1im Query : use flama_phc
20230421@125917.3200 966ss02jc8c9g4usr47224d1im Query : select top 1 1 valor from td where td.ndoc = 39
20230421@125917.1140 966ss02jc8c9g4usr47224d1im Query : use flama_phc
20230421@125917.1170 966ss02jc8c9g4usr47224d1im Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230421@125917.1560 966ss02jc8c9g4usr47224d1im 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
20230421@125917.2330 966ss02jc8c9g4usr47224d1im Query : use flama_phc
20230421@125917.2360 966ss02jc8c9g4usr47224d1im Query : select top 1 ~inactivo valor from cl where no = '101176' and estab = 0 order by inactivo desc
20230421@125917.3220 966ss02jc8c9g4usr47224d1im Query : use flama_phc
20230421@125917.3250 966ss02jc8c9g4usr47224d1im Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230421@125917.3690 966ss02jc8c9g4usr47224d1im Query : use flama_phc
20230421@125917.3720 966ss02jc8c9g4usr47224d1im Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230421@125917.4080 966ss02jc8c9g4usr47224d1im Query : use flama_phc
20230421@125917.4120 966ss02jc8c9g4usr47224d1im Query : select szadrsstamp valor from szadrs where szadrsdesc='soares & filhos, lda.-entrega'
20230421@125917.4230 966ss02jc8c9g4usr47224d1im Query : use flama_phc
20230421@125917.4260 966ss02jc8c9g4usr47224d1im Query : select 1 valor from td where ndoc = 39
20230421@125917.4720 966ss02jc8c9g4usr47224d1im Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230421@125917.5230 966ss02jc8c9g4usr47224d1im Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230421@125917.8350 966ss02jc8c9g4usr47224d1im Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230421@125917.8640 966ss02jc8c9g4usr47224d1im Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230421@125917.1131 966ss02jc8c9g4usr47224d1im Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230421@125917.1153 966ss02jc8c9g4usr47224d1im Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230421@125917.1414 966ss02jc8c9g4usr47224d1im Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230421@125917.1573 966ss02jc8c9g4usr47224d1im Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230421@125917.1616 966ss02jc8c9g4usr47224d1im Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230421@125917.1622 966ss02jc8c9g4usr47224d1im Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644279206364427a9522' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@125917.1768 966ss02jc8c9g4usr47224d1im Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230421@125917.2058 966ss02jc8c9g4usr47224d1im Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230421@125917.2089 966ss02jc8c9g4usr47224d1im Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644279206364427a9522',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@125917.2422 966ss02jc8c9g4usr47224d1im Query : select top 1 fno valor from wsft039data order by fno desc
20230421@125917.2670 966ss02jc8c9g4usr47224d1im Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230421@125917.2684 966ss02jc8c9g4usr47224d1im Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230421@125917.2938 966ss02jc8c9g4usr47224d1im 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 ('aut644279206364427a9522',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',9,101176,0,'2023-04-21',39,'euro',0,0,2023 ,'20230421','1329',?,?,?)
20230421@125917.3246 966ss02jc8c9g4usr47224d1im Query : use flama_phc
20230421@125917.3250 966ss02jc8c9g4usr47224d1im Query : select st.usalote valor from st where st.ref = '304.4211.00.1'
20230421@125917.3351 966ss02jc8c9g4usr47224d1im Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230421@125917.3469 966ss02jc8c9g4usr47224d1im Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@125917.3750 966ss02jc8c9g4usr47224d1im Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@125917.3781 966ss02jc8c9g4usr47224d1im Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@125917.4050 966ss02jc8c9g4usr47224d1im Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@125917.4072 966ss02jc8c9g4usr47224d1im Query : select sestamp valor from se where ref ='304.4211.00.1' and lote = '220664'
20230421@125917.4123 966ss02jc8c9g4usr47224d1im Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@125917.4157 966ss02jc8c9g4usr47224d1im Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@125917.4169 966ss02jc8c9g4usr47224d1im Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@125917.4196 966ss02jc8c9g4usr47224d1im Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644271651864427a9565',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2 ,'aut644279206364427a9522' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230421@125917.4404 966ss02jc8c9g4usr47224d1im Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@125917.4417 966ss02jc8c9g4usr47224d1im Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@125917.4438 966ss02jc8c9g4usr47224d1im Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644271651864427a9565','aut644279206364427a9522' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@125917.4501 966ss02jc8c9g4usr47224d1im Query : use flama_phc
20230421@125917.4546 966ss02jc8c9g4usr47224d1im Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20230421@125917.4779 966ss02jc8c9g4usr47224d1im Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230421@125917.4917 966ss02jc8c9g4usr47224d1im Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@125917.4929 966ss02jc8c9g4usr47224d1im Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@125917.4939 966ss02jc8c9g4usr47224d1im Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@125917.4952 966ss02jc8c9g4usr47224d1im Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@125917.4956 966ss02jc8c9g4usr47224d1im Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '230435'
20230421@125917.4966 966ss02jc8c9g4usr47224d1im Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@125917.4975 966ss02jc8c9g4usr47224d1im Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@125917.4987 966ss02jc8c9g4usr47224d1im Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@125917.4996 966ss02jc8c9g4usr47224d1im Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644274608164427a9579',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4 ,'aut644279206364427a9522' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20230421@125917.5286 966ss02jc8c9g4usr47224d1im Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@125917.5471 966ss02jc8c9g4usr47224d1im Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@125917.5581 966ss02jc8c9g4usr47224d1im Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644274608164427a9579','aut644279206364427a9522' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@125917.5587 966ss02jc8c9g4usr47224d1im Query : use flama_phc
20230421@125917.5590 966ss02jc8c9g4usr47224d1im Query : select st.usalote valor from st where st.ref = '324.1706.00.1'
20230421@125917.5633 966ss02jc8c9g4usr47224d1im Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230421@125917.5900 966ss02jc8c9g4usr47224d1im Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@125917.5915 966ss02jc8c9g4usr47224d1im Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@125917.5925 966ss02jc8c9g4usr47224d1im Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@125917.5938 966ss02jc8c9g4usr47224d1im Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@125917.5942 966ss02jc8c9g4usr47224d1im Query : select sestamp valor from se where ref ='324.1706.00.1' and lote = 'r2100123100b'
20230421@125917.5954 966ss02jc8c9g4usr47224d1im Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@125917.5963 966ss02jc8c9g4usr47224d1im Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@125917.5975 966ss02jc8c9g4usr47224d1im Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@125917.5985 966ss02jc8c9g4usr47224d1im Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644274516664427a9591',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2 ,'aut644279206364427a9522' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20230421@125917.6210 966ss02jc8c9g4usr47224d1im Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@125917.6224 966ss02jc8c9g4usr47224d1im Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@125917.6228 966ss02jc8c9g4usr47224d1im Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644274516664427a9591','aut644279206364427a9522' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@125917.6232 966ss02jc8c9g4usr47224d1im Query : use flama_phc
20230421@125917.6235 966ss02jc8c9g4usr47224d1im Query : select st.usalote valor from st where st.ref = '324.736.00.01'
20230421@125917.6246 966ss02jc8c9g4usr47224d1im Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.736.00.01'
20230421@125917.6382 966ss02jc8c9g4usr47224d1im Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@125917.6399 966ss02jc8c9g4usr47224d1im Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@125917.6412 966ss02jc8c9g4usr47224d1im Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@125917.6425 966ss02jc8c9g4usr47224d1im Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@125917.6429 966ss02jc8c9g4usr47224d1im Query : select sestamp valor from se where ref ='324.736.00.01' and lote = '12/20'
20230421@125917.6435 966ss02jc8c9g4usr47224d1im Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@125917.6444 966ss02jc8c9g4usr47224d1im Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@125917.6457 966ss02jc8c9g4usr47224d1im Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@125917.6467 966ss02jc8c9g4usr47224d1im Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644278771064427a959d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4 ,'aut644279206364427a9522' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230421@125917.6736 966ss02jc8c9g4usr47224d1im Query : use flama_phc
20230421@125917.6740 966ss02jc8c9g4usr47224d1im Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20230421@125917.6784 966ss02jc8c9g4usr47224d1im Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='17';
20230421@125917.6795 966ss02jc8c9g4usr47224d1im Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='17';
20230421@125917.7095 qdrnp72c4pior4vtssre25ioah Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230421@125917.7108 qdrnp72c4pior4vtssre25ioah Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230421@125917.7120 qdrnp72c4pior4vtssre25ioah Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='18';
20230421@125917.7158 qdrnp72c4pior4vtssre25ioah Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='18';
20230421@125917.7168 qdrnp72c4pior4vtssre25ioah Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='18';
20230421@125917.7178 qdrnp72c4pior4vtssre25ioah Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='18';
20230421@125917.7187 qdrnp72c4pior4vtssre25ioah Query : use flama_phc
20230421@125917.7190 qdrnp72c4pior4vtssre25ioah Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230421@125917.7203 qdrnp72c4pior4vtssre25ioah Query : use flama_phc
20230421@125917.7206 qdrnp72c4pior4vtssre25ioah Query : select no, estab,szadrsdesc from szadrs where u_coddest=2117
20230421@125917.7279 qdrnp72c4pior4vtssre25ioah 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'
20230421@125917.7425 qdrnp72c4pior4vtssre25ioah Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 9 and bi.ref ='324.1824.00.1' and bi.lordem =1
20230421@125917.7980 qdrnp72c4pior4vtssre25ioah 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'
20230421@125917.8001 qdrnp72c4pior4vtssre25ioah Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 9 and bi.ref ='324.1824.00.1' and bi.lordem =2
20230421@125917.8349 qdrnp72c4pior4vtssre25ioah Query : use flama_phc
20230421@125917.8353 qdrnp72c4pior4vtssre25ioah Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230421@125917.8364 qdrnp72c4pior4vtssre25ioah Query : use flama_phc
20230421@125917.8367 qdrnp72c4pior4vtssre25ioah Query : select top 1 1 valor from td where td.ndoc = 39
20230421@125917.8378 qdrnp72c4pior4vtssre25ioah Query : use flama_phc
20230421@125917.8381 qdrnp72c4pior4vtssre25ioah Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230421@125917.8392 qdrnp72c4pior4vtssre25ioah 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
20230421@125917.8407 qdrnp72c4pior4vtssre25ioah Query : use flama_phc
20230421@125917.8410 qdrnp72c4pior4vtssre25ioah Query : select top 1 ~inactivo valor from cl where no = '102420' and estab = 0 order by inactivo desc
20230421@125917.8503 qdrnp72c4pior4vtssre25ioah Query : use flama_phc
20230421@125917.8506 qdrnp72c4pior4vtssre25ioah Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230421@125917.8516 qdrnp72c4pior4vtssre25ioah Query : use flama_phc
20230421@125917.8519 qdrnp72c4pior4vtssre25ioah Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230421@125917.8530 qdrnp72c4pior4vtssre25ioah Query : use flama_phc
20230421@125917.8540 qdrnp72c4pior4vtssre25ioah Query : select szadrsstamp valor from szadrs where szadrsdesc='ri - eletrodomesticos lda'
20230421@125917.8553 qdrnp72c4pior4vtssre25ioah Query : use flama_phc
20230421@125917.8556 qdrnp72c4pior4vtssre25ioah Query : select 1 valor from td where ndoc = 39
20230421@125917.8566 qdrnp72c4pior4vtssre25ioah Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230421@125917.8577 qdrnp72c4pior4vtssre25ioah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230421@125917.8591 qdrnp72c4pior4vtssre25ioah Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230421@125917.8607 qdrnp72c4pior4vtssre25ioah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230421@125917.8619 qdrnp72c4pior4vtssre25ioah Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230421@125917.8624 qdrnp72c4pior4vtssre25ioah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230421@125917.8630 qdrnp72c4pior4vtssre25ioah Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230421@125917.8673 qdrnp72c4pior4vtssre25ioah Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230421@125917.8685 qdrnp72c4pior4vtssre25ioah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230421@125917.8696 qdrnp72c4pior4vtssre25ioah Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644270502064427a95d2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@125917.8701 qdrnp72c4pior4vtssre25ioah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230421@125917.8714 qdrnp72c4pior4vtssre25ioah Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230421@125917.8717 qdrnp72c4pior4vtssre25ioah Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644270502064427a95d2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@125917.8721 qdrnp72c4pior4vtssre25ioah Query : select top 1 fno valor from wsft039data order by fno desc
20230421@125917.8732 qdrnp72c4pior4vtssre25ioah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230421@125917.8744 qdrnp72c4pior4vtssre25ioah Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230421@125917.8770 qdrnp72c4pior4vtssre25ioah 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 ('aut644270502064427a95d2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',9,102420,0,'2023-04-21',39,'euro',0,0,2023 ,'20230421','1329',?,?,?)
20230421@125917.9016 qdrnp72c4pior4vtssre25ioah Query : use flama_phc
20230421@125917.9020 qdrnp72c4pior4vtssre25ioah Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20230421@125917.9037 qdrnp72c4pior4vtssre25ioah Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230421@125917.9183 qdrnp72c4pior4vtssre25ioah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@125917.9197 qdrnp72c4pior4vtssre25ioah Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@125917.9211 qdrnp72c4pior4vtssre25ioah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@125917.9233 qdrnp72c4pior4vtssre25ioah Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@125917.9238 qdrnp72c4pior4vtssre25ioah Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2200669200a'
20230421@125917.9250 qdrnp72c4pior4vtssre25ioah Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@125917.9260 qdrnp72c4pior4vtssre25ioah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@125917.9273 qdrnp72c4pior4vtssre25ioah Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@125917.9283 qdrnp72c4pior4vtssre25ioah Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644279042864427a95e2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',7 ,'aut644270502064427a95d2' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230421@125917.9496 qdrnp72c4pior4vtssre25ioah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@125917.9511 qdrnp72c4pior4vtssre25ioah Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@125917.9515 qdrnp72c4pior4vtssre25ioah Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644279042864427a95e2','aut644270502064427a95d2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@125917.9520 qdrnp72c4pior4vtssre25ioah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@125917.9533 qdrnp72c4pior4vtssre25ioah Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@125917.9543 qdrnp72c4pior4vtssre25ioah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@125917.9556 qdrnp72c4pior4vtssre25ioah Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@125917.9561 qdrnp72c4pior4vtssre25ioah Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@125917.9570 qdrnp72c4pior4vtssre25ioah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@125917.9582 qdrnp72c4pior4vtssre25ioah Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@125917.9592 qdrnp72c4pior4vtssre25ioah Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut644274449064427a95e9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut644270502064427a95d2' ,0,0 ,2,23.00,20000,?,?,?)
20230421@125917.9843 qdrnp72c4pior4vtssre25ioah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@125917.9858 qdrnp72c4pior4vtssre25ioah Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@125917.9862 qdrnp72c4pior4vtssre25ioah Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644274449064427a95e9','aut644270502064427a95d2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@125917.9867 qdrnp72c4pior4vtssre25ioah Query : use flama_phc
20230421@125917.9870 qdrnp72c4pior4vtssre25ioah Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20230421@125917.9880 qdrnp72c4pior4vtssre25ioah Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230421@125917.9890 qdrnp72c4pior4vtssre25ioah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@125917.9904 qdrnp72c4pior4vtssre25ioah Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@125917.9914 qdrnp72c4pior4vtssre25ioah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@125917.9925 qdrnp72c4pior4vtssre25ioah Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@125917.9930 qdrnp72c4pior4vtssre25ioah Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2200670200a'
20230421@125917.9949 qdrnp72c4pior4vtssre25ioah Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@125917.9959 qdrnp72c4pior4vtssre25ioah Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@125917.9972 qdrnp72c4pior4vtssre25ioah Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@125917.9982 qdrnp72c4pior4vtssre25ioah Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644277020264427a95f3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1 ,'aut644270502064427a95d2' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230421@125918.2110 qdrnp72c4pior4vtssre25ioah Query : use flama_phc
20230421@125918.2180 qdrnp72c4pior4vtssre25ioah Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20230421@125918.2290 qdrnp72c4pior4vtssre25ioah Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='18';
20230421@125918.2620 qdrnp72c4pior4vtssre25ioah Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='18';
20230421@125918.6040 c3aboeja30ogn4nftlg940qg6e Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230421@125918.6170 c3aboeja30ogn4nftlg940qg6e Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230421@125918.6300 c3aboeja30ogn4nftlg940qg6e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='19';
20230421@125918.6680 c3aboeja30ogn4nftlg940qg6e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='19';
20230421@125918.6790 c3aboeja30ogn4nftlg940qg6e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='19';
20230421@125918.6900 c3aboeja30ogn4nftlg940qg6e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='19';
20230421@125918.7010 c3aboeja30ogn4nftlg940qg6e Query : use flama_phc
20230421@125918.7040 c3aboeja30ogn4nftlg940qg6e Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230421@125918.7170 c3aboeja30ogn4nftlg940qg6e Query : use flama_phc
20230421@125918.7200 c3aboeja30ogn4nftlg940qg6e Query : select no, estab,szadrsdesc from szadrs where u_coddest=227
20230421@125918.7900 c3aboeja30ogn4nftlg940qg6e 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'
20230421@125918.9290 c3aboeja30ogn4nftlg940qg6e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 0 and bi.ref ='324.670.00.01' and bi.lordem =1
20230421@125918.1227 c3aboeja30ogn4nftlg940qg6e 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'
20230421@125918.2270 c3aboeja30ogn4nftlg940qg6e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 0 and bi.ref ='324.1705.00.1' and bi.lordem =3
20230421@125918.2655 c3aboeja30ogn4nftlg940qg6e 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'
20230421@125918.2666 c3aboeja30ogn4nftlg940qg6e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 0 and bi.ref ='324.1706.00.1' and bi.lordem =5
20230421@125918.3060 c3aboeja30ogn4nftlg940qg6e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1685.00.1'
20230421@125918.3374 c3aboeja30ogn4nftlg940qg6e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 0 and bi.ref ='324.1685.00.1' and bi.lordem =7
20230421@125918.3676 c3aboeja30ogn4nftlg940qg6e Query : use flama_phc
20230421@125918.3680 c3aboeja30ogn4nftlg940qg6e Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230421@125918.3693 c3aboeja30ogn4nftlg940qg6e Query : use flama_phc
20230421@125918.3696 c3aboeja30ogn4nftlg940qg6e Query : select top 1 1 valor from td where td.ndoc = 39
20230421@125918.3707 c3aboeja30ogn4nftlg940qg6e Query : use flama_phc
20230421@125918.3710 c3aboeja30ogn4nftlg940qg6e Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230421@125918.3721 c3aboeja30ogn4nftlg940qg6e 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
20230421@125918.3735 c3aboeja30ogn4nftlg940qg6e Query : use flama_phc
20230421@125918.3738 c3aboeja30ogn4nftlg940qg6e Query : select top 1 ~inactivo valor from cl where no = '100041' and estab = 0 order by inactivo desc
20230421@125918.3835 c3aboeja30ogn4nftlg940qg6e Query : use flama_phc
20230421@125918.3838 c3aboeja30ogn4nftlg940qg6e Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230421@125918.3848 c3aboeja30ogn4nftlg940qg6e Query : use flama_phc
20230421@125918.3851 c3aboeja30ogn4nftlg940qg6e Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230421@125918.3862 c3aboeja30ogn4nftlg940qg6e Query : use flama_phc
20230421@125918.3864 c3aboeja30ogn4nftlg940qg6e Query : select szadrsstamp valor from szadrs where szadrsdesc='radiobela som, lda'
20230421@125918.3877 c3aboeja30ogn4nftlg940qg6e Query : use flama_phc
20230421@125918.3879 c3aboeja30ogn4nftlg940qg6e Query : select 1 valor from td where ndoc = 39
20230421@125918.3889 c3aboeja30ogn4nftlg940qg6e Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230421@125918.3901 c3aboeja30ogn4nftlg940qg6e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230421@125918.3915 c3aboeja30ogn4nftlg940qg6e Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230421@125918.3924 c3aboeja30ogn4nftlg940qg6e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230421@125918.3937 c3aboeja30ogn4nftlg940qg6e Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230421@125918.3941 c3aboeja30ogn4nftlg940qg6e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230421@125918.3947 c3aboeja30ogn4nftlg940qg6e Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230421@125918.3987 c3aboeja30ogn4nftlg940qg6e Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230421@125918.3996 c3aboeja30ogn4nftlg940qg6e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230421@125918.4002 c3aboeja30ogn4nftlg940qg6e Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644277169164427a9660' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@125918.4011 c3aboeja30ogn4nftlg940qg6e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230421@125918.4023 c3aboeja30ogn4nftlg940qg6e Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230421@125918.4027 c3aboeja30ogn4nftlg940qg6e Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644277169164427a9660',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@125918.4031 c3aboeja30ogn4nftlg940qg6e Query : select top 1 fno valor from wsft039data order by fno desc
20230421@125918.4041 c3aboeja30ogn4nftlg940qg6e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230421@125918.4054 c3aboeja30ogn4nftlg940qg6e Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230421@125918.4063 c3aboeja30ogn4nftlg940qg6e 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 ('aut644277169164427a9660',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',9,100041,0,'2023-04-21',39,'euro',0,0,2023 ,'20230421','1329',?,?,?)
20230421@125918.4312 c3aboeja30ogn4nftlg940qg6e Query : use flama_phc
20230421@125918.4316 c3aboeja30ogn4nftlg940qg6e Query : select st.usalote valor from st where st.ref = '324.670.00.01'
20230421@125918.4329 c3aboeja30ogn4nftlg940qg6e Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230421@125918.4539 c3aboeja30ogn4nftlg940qg6e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@125918.4555 c3aboeja30ogn4nftlg940qg6e Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@125918.4566 c3aboeja30ogn4nftlg940qg6e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@125918.4580 c3aboeja30ogn4nftlg940qg6e Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@125918.4585 c3aboeja30ogn4nftlg940qg6e Query : select sestamp valor from se where ref ='324.670.00.01' and lote = 'r2200755200a'
20230421@125918.4591 c3aboeja30ogn4nftlg940qg6e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@125918.4602 c3aboeja30ogn4nftlg940qg6e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@125918.4616 c3aboeja30ogn4nftlg940qg6e Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@125918.4626 c3aboeja30ogn4nftlg940qg6e Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut644271556864427a9670',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24 ,'aut644277169164427a9660' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230421@125918.4858 c3aboeja30ogn4nftlg940qg6e Query : use flama_phc
20230421@125918.4862 c3aboeja30ogn4nftlg940qg6e Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20230421@125918.4873 c3aboeja30ogn4nftlg940qg6e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='19';
20230421@125918.4883 c3aboeja30ogn4nftlg940qg6e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='19';

20230421@174451.7420 9t7oo4abqpks0rekrhq0bka23u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='20';
20230421@174451.7440 9t7oo4abqpks0rekrhq0bka23u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='20';
20230421@174451.7449 9t7oo4abqpks0rekrhq0bka23u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='20';
20230421@174451.7459 9t7oo4abqpks0rekrhq0bka23u Query : use flama_phc
20230421@174451.7462 9t7oo4abqpks0rekrhq0bka23u Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230421@174451.7500 9t7oo4abqpks0rekrhq0bka23u Query : use flama_phc
20230421@174451.7503 9t7oo4abqpks0rekrhq0bka23u Query : select no, estab,szadrsdesc from szadrs where u_coddest=737
20230421@174451.7578 9t7oo4abqpks0rekrhq0bka23u 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'
20230421@174451.7715 9t7oo4abqpks0rekrhq0bka23u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 1 and bi.ref ='324.1536.00.1' and bi.lordem =1
20230421@174451.8027 9t7oo4abqpks0rekrhq0bka23u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4020.00.1'
20230421@174451.8159 9t7oo4abqpks0rekrhq0bka23u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 1 and bi.ref ='304.4020.00.1' and bi.lordem =2
20230421@174451.8444 9t7oo4abqpks0rekrhq0bka23u 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'
20230421@174451.8575 9t7oo4abqpks0rekrhq0bka23u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 1 and bi.ref ='304.422.00.07' and bi.lordem =3
20230421@174451.8859 9t7oo4abqpks0rekrhq0bka23u Query : use flama_phc
20230421@174451.8863 9t7oo4abqpks0rekrhq0bka23u Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230421@174451.9032 9t7oo4abqpks0rekrhq0bka23u Query : use flama_phc
20230421@174451.9035 9t7oo4abqpks0rekrhq0bka23u Query : select top 1 1 valor from td where td.ndoc = 39
20230421@174451.9092 9t7oo4abqpks0rekrhq0bka23u Query : use flama_phc
20230421@174451.9095 9t7oo4abqpks0rekrhq0bka23u Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230421@174451.9142 9t7oo4abqpks0rekrhq0bka23u 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
20230421@174451.9255 9t7oo4abqpks0rekrhq0bka23u Query : use flama_phc
20230421@174451.9258 9t7oo4abqpks0rekrhq0bka23u Query : select top 1 ~inactivo valor from cl where no = '101249' and estab = 0 order by inactivo desc
20230421@174451.9341 9t7oo4abqpks0rekrhq0bka23u Query : use flama_phc
20230421@174451.9344 9t7oo4abqpks0rekrhq0bka23u Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230421@174451.9386 9t7oo4abqpks0rekrhq0bka23u Query : use flama_phc
20230421@174451.9388 9t7oo4abqpks0rekrhq0bka23u Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230421@174451.9424 9t7oo4abqpks0rekrhq0bka23u Query : use flama_phc
20230421@174451.9426 9t7oo4abqpks0rekrhq0bka23u Query : select szadrsstamp valor from szadrs where szadrsdesc='somusica-comercio de som, lda.'
20230421@174451.9441 9t7oo4abqpks0rekrhq0bka23u Query : use flama_phc
20230421@174451.9444 9t7oo4abqpks0rekrhq0bka23u Query : select 1 valor from td where ndoc = 39
20230421@174451.9496 9t7oo4abqpks0rekrhq0bka23u Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230421@174451.9539 9t7oo4abqpks0rekrhq0bka23u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230421@174451.9834 9t7oo4abqpks0rekrhq0bka23u Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230421@174451.9878 9t7oo4abqpks0rekrhq0bka23u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230421@174452.1460 9t7oo4abqpks0rekrhq0bka23u Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230421@174452.1710 9t7oo4abqpks0rekrhq0bka23u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230421@174452.4360 9t7oo4abqpks0rekrhq0bka23u Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230421@174452.5950 9t7oo4abqpks0rekrhq0bka23u Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230421@174452.6440 9t7oo4abqpks0rekrhq0bka23u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230421@174452.6500 9t7oo4abqpks0rekrhq0bka23u Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b583366442bd840a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174452.1173 9t7oo4abqpks0rekrhq0bka23u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230421@174452.1191 9t7oo4abqpks0rekrhq0bka23u Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230421@174452.1215 9t7oo4abqpks0rekrhq0bka23u Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b583366442bd840a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174452.1607 9t7oo4abqpks0rekrhq0bka23u Query : select top 1 fno valor from wsft039data order by fno desc
20230421@174452.1664 9t7oo4abqpks0rekrhq0bka23u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230421@174452.1683 9t7oo4abqpks0rekrhq0bka23u Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230421@174452.1719 9t7oo4abqpks0rekrhq0bka23u 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 ('aut6442b583366442bd840a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',9,101249,0,'2023-04-21',39,'euro',0,0,2023 ,'20230421','1814',?,?,?)
20230421@174452.2195 9t7oo4abqpks0rekrhq0bka23u Query : use flama_phc
20230421@174452.2233 9t7oo4abqpks0rekrhq0bka23u Query : select st.usalote valor from st where st.ref = '324.1536.00.1'
20230421@174452.2354 9t7oo4abqpks0rekrhq0bka23u Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1536.00.1'
20230421@174452.2477 9t7oo4abqpks0rekrhq0bka23u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174452.2756 9t7oo4abqpks0rekrhq0bka23u Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174452.2798 9t7oo4abqpks0rekrhq0bka23u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174452.3071 9t7oo4abqpks0rekrhq0bka23u Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174452.3094 9t7oo4abqpks0rekrhq0bka23u Query : select sestamp valor from se where ref ='324.1536.00.1' and lote = 'r2100241100a'
20230421@174452.3152 9t7oo4abqpks0rekrhq0bka23u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174452.3188 9t7oo4abqpks0rekrhq0bka23u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174452.3202 9t7oo4abqpks0rekrhq0bka23u Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174452.3231 9t7oo4abqpks0rekrhq0bka23u Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6442b193736442bd844d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1 ,'aut6442b583366442bd840a' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230421@174452.3633 9t7oo4abqpks0rekrhq0bka23u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174452.3650 9t7oo4abqpks0rekrhq0bka23u Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@174452.3675 9t7oo4abqpks0rekrhq0bka23u Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b193736442bd844d','aut6442b583366442bd840a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174452.3720 9t7oo4abqpks0rekrhq0bka23u Query : use flama_phc
20230421@174452.3724 9t7oo4abqpks0rekrhq0bka23u Query : select st.usalote valor from st where st.ref = '304.4020.00.1'
20230421@174452.3737 9t7oo4abqpks0rekrhq0bka23u Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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.4020.00.1'
20230421@174452.3891 9t7oo4abqpks0rekrhq0bka23u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174452.3907 9t7oo4abqpks0rekrhq0bka23u Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174452.3919 9t7oo4abqpks0rekrhq0bka23u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174452.3935 9t7oo4abqpks0rekrhq0bka23u Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174452.3941 9t7oo4abqpks0rekrhq0bka23u Query : select sestamp valor from se where ref ='304.4020.00.1' and lote = '221640'
20230421@174452.3961 9t7oo4abqpks0rekrhq0bka23u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174452.3972 9t7oo4abqpks0rekrhq0bka23u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174452.3986 9t7oo4abqpks0rekrhq0bka23u Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174452.3998 9t7oo4abqpks0rekrhq0bka23u Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6442b890446442bd8460',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4 ,'aut6442b583366442bd840a' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20230421@174452.4381 9t7oo4abqpks0rekrhq0bka23u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174452.5032 9t7oo4abqpks0rekrhq0bka23u Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@174452.5040 9t7oo4abqpks0rekrhq0bka23u Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b890446442bd8460','aut6442b583366442bd840a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174452.5045 9t7oo4abqpks0rekrhq0bka23u Query : use flama_phc
20230421@174452.5049 9t7oo4abqpks0rekrhq0bka23u Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20230421@174452.5061 9t7oo4abqpks0rekrhq0bka23u Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230421@174452.5318 9t7oo4abqpks0rekrhq0bka23u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174452.5331 9t7oo4abqpks0rekrhq0bka23u Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174452.5341 9t7oo4abqpks0rekrhq0bka23u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174452.5354 9t7oo4abqpks0rekrhq0bka23u Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174452.5358 9t7oo4abqpks0rekrhq0bka23u Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '230334'
20230421@174452.5369 9t7oo4abqpks0rekrhq0bka23u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174452.5379 9t7oo4abqpks0rekrhq0bka23u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174452.5395 9t7oo4abqpks0rekrhq0bka23u Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174452.5406 9t7oo4abqpks0rekrhq0bka23u Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6442b108496442bd8483',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4 ,'aut6442b583366442bd840a' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20230421@174452.5624 9t7oo4abqpks0rekrhq0bka23u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174452.5641 9t7oo4abqpks0rekrhq0bka23u Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@174452.5647 9t7oo4abqpks0rekrhq0bka23u Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b108496442bd8483','aut6442b583366442bd840a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174452.5657 9t7oo4abqpks0rekrhq0bka23u Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6442b583366442bd840a','','wait',39,'ari17112337378,753000005')
20230421@174452.5709 9t7oo4abqpks0rekrhq0bka23u Query : use flama_phc
20230421@174452.5712 9t7oo4abqpks0rekrhq0bka23u Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230421@174452.5735 9t7oo4abqpks0rekrhq0bka23u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='20';
20230421@174452.5746 9t7oo4abqpks0rekrhq0bka23u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='20';
20230421@174452.5755 9t7oo4abqpks0rekrhq0bka23u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='20';
20230421@174452.5767 9t7oo4abqpks0rekrhq0bka23u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='20';
20230421@174452.6084 m223nia8eqt27j7rsgfbaa7l2t Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230421@174452.6097 m223nia8eqt27j7rsgfbaa7l2t Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230421@174452.6110 m223nia8eqt27j7rsgfbaa7l2t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='21';
20230421@174452.6146 m223nia8eqt27j7rsgfbaa7l2t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='21';
20230421@174452.6157 m223nia8eqt27j7rsgfbaa7l2t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='21';
20230421@174452.6167 m223nia8eqt27j7rsgfbaa7l2t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='21';
20230421@174452.6177 m223nia8eqt27j7rsgfbaa7l2t Query : use flama_phc
20230421@174452.6180 m223nia8eqt27j7rsgfbaa7l2t Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230421@174452.6194 m223nia8eqt27j7rsgfbaa7l2t Query : use flama_phc
20230421@174452.6197 m223nia8eqt27j7rsgfbaa7l2t Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20230421@174452.6266 m223nia8eqt27j7rsgfbaa7l2t 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'
20230421@174452.6405 m223nia8eqt27j7rsgfbaa7l2t Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 2 and bi.ref ='324.1716.00.1' and bi.lordem =1
20230421@174452.6712 m223nia8eqt27j7rsgfbaa7l2t Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1578.00.1'
20230421@174452.6853 m223nia8eqt27j7rsgfbaa7l2t Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 2 and bi.ref ='324.1578.00.1' and bi.lordem =2
20230421@174452.7140 m223nia8eqt27j7rsgfbaa7l2t 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'
20230421@174452.7279 m223nia8eqt27j7rsgfbaa7l2t Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 2 and bi.ref ='324.1646.00.1' and bi.lordem =3
20230421@174452.7568 m223nia8eqt27j7rsgfbaa7l2t Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2340.00.1'
20230421@174452.7699 m223nia8eqt27j7rsgfbaa7l2t Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 2 and bi.ref ='324.2340.00.1' and bi.lordem =4
20230421@174452.7984 m223nia8eqt27j7rsgfbaa7l2t Query : use flama_phc
20230421@174452.7988 m223nia8eqt27j7rsgfbaa7l2t Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230421@174452.8001 m223nia8eqt27j7rsgfbaa7l2t Query : use flama_phc
20230421@174452.8004 m223nia8eqt27j7rsgfbaa7l2t Query : select top 1 1 valor from td where td.ndoc = 39
20230421@174452.8013 m223nia8eqt27j7rsgfbaa7l2t Query : use flama_phc
20230421@174452.8016 m223nia8eqt27j7rsgfbaa7l2t Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230421@174452.8026 m223nia8eqt27j7rsgfbaa7l2t 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
20230421@174452.8039 m223nia8eqt27j7rsgfbaa7l2t Query : use flama_phc
20230421@174452.8042 m223nia8eqt27j7rsgfbaa7l2t Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20230421@174452.8138 m223nia8eqt27j7rsgfbaa7l2t Query : use flama_phc
20230421@174452.8141 m223nia8eqt27j7rsgfbaa7l2t Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230421@174452.8151 m223nia8eqt27j7rsgfbaa7l2t Query : use flama_phc
20230421@174452.8154 m223nia8eqt27j7rsgfbaa7l2t Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230421@174452.8164 m223nia8eqt27j7rsgfbaa7l2t Query : use flama_phc
20230421@174452.8166 m223nia8eqt27j7rsgfbaa7l2t Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20230421@174452.8178 m223nia8eqt27j7rsgfbaa7l2t Query : use flama_phc
20230421@174452.8181 m223nia8eqt27j7rsgfbaa7l2t Query : select 1 valor from td where ndoc = 39
20230421@174452.8191 m223nia8eqt27j7rsgfbaa7l2t Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230421@174452.8202 m223nia8eqt27j7rsgfbaa7l2t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230421@174452.8215 m223nia8eqt27j7rsgfbaa7l2t Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230421@174452.8224 m223nia8eqt27j7rsgfbaa7l2t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230421@174452.8236 m223nia8eqt27j7rsgfbaa7l2t Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230421@174452.8240 m223nia8eqt27j7rsgfbaa7l2t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230421@174452.8246 m223nia8eqt27j7rsgfbaa7l2t Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230421@174452.8286 m223nia8eqt27j7rsgfbaa7l2t Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230421@174452.8295 m223nia8eqt27j7rsgfbaa7l2t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230421@174452.8301 m223nia8eqt27j7rsgfbaa7l2t Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b020166442bd84c9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174452.8305 m223nia8eqt27j7rsgfbaa7l2t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230421@174452.8317 m223nia8eqt27j7rsgfbaa7l2t Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230421@174452.8320 m223nia8eqt27j7rsgfbaa7l2t Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b020166442bd84c9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174452.8324 m223nia8eqt27j7rsgfbaa7l2t Query : select top 1 fno valor from wsft039data order by fno desc
20230421@174452.8335 m223nia8eqt27j7rsgfbaa7l2t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230421@174452.8347 m223nia8eqt27j7rsgfbaa7l2t Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230421@174452.8357 m223nia8eqt27j7rsgfbaa7l2t 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 ('aut6442b020166442bd84c9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10,100810,0,'2023-04-21',39,'euro',0,0,2023 ,'20230421','1814',?,?,?)
20230421@174452.8601 m223nia8eqt27j7rsgfbaa7l2t Query : use flama_phc
20230421@174452.8605 m223nia8eqt27j7rsgfbaa7l2t Query : select st.usalote valor from st where st.ref = '324.1716.00.1'
20230421@174452.8616 m223nia8eqt27j7rsgfbaa7l2t Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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.1716.00.1'
20230421@174452.8755 m223nia8eqt27j7rsgfbaa7l2t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174452.8769 m223nia8eqt27j7rsgfbaa7l2t Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174452.8780 m223nia8eqt27j7rsgfbaa7l2t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174452.8794 m223nia8eqt27j7rsgfbaa7l2t Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174452.8800 m223nia8eqt27j7rsgfbaa7l2t Query : select sestamp valor from se where ref ='324.1716.00.1' and lote = 'r2100893150a'
20230421@174452.8812 m223nia8eqt27j7rsgfbaa7l2t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174452.8822 m223nia8eqt27j7rsgfbaa7l2t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174452.8835 m223nia8eqt27j7rsgfbaa7l2t Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174452.8846 m223nia8eqt27j7rsgfbaa7l2t Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6442b077946442bd84d7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4 ,'aut6442b020166442bd84c9' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230421@174452.9056 m223nia8eqt27j7rsgfbaa7l2t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174452.9070 m223nia8eqt27j7rsgfbaa7l2t Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@174452.9074 m223nia8eqt27j7rsgfbaa7l2t Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b077946442bd84d7','aut6442b020166442bd84c9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174452.9079 m223nia8eqt27j7rsgfbaa7l2t Query : use flama_phc
20230421@174452.9083 m223nia8eqt27j7rsgfbaa7l2t Query : select st.usalote valor from st where st.ref = '324.1578.00.1'
20230421@174452.9096 m223nia8eqt27j7rsgfbaa7l2t Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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.1578.00.1'
20230421@174452.9240 m223nia8eqt27j7rsgfbaa7l2t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174452.9254 m223nia8eqt27j7rsgfbaa7l2t Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174452.9264 m223nia8eqt27j7rsgfbaa7l2t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174452.9277 m223nia8eqt27j7rsgfbaa7l2t Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174452.9281 m223nia8eqt27j7rsgfbaa7l2t Query : select sestamp valor from se where ref ='324.1578.00.1' and lote = 'r2100121100a'
20230421@174452.9300 m223nia8eqt27j7rsgfbaa7l2t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174452.9311 m223nia8eqt27j7rsgfbaa7l2t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174452.9323 m223nia8eqt27j7rsgfbaa7l2t Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174452.9334 m223nia8eqt27j7rsgfbaa7l2t Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6442b129766442bd84e3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1 ,'aut6442b020166442bd84c9' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20230421@174452.9552 m223nia8eqt27j7rsgfbaa7l2t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174452.9567 m223nia8eqt27j7rsgfbaa7l2t Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@174452.9571 m223nia8eqt27j7rsgfbaa7l2t Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b129766442bd84e3','aut6442b020166442bd84c9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174452.9576 m223nia8eqt27j7rsgfbaa7l2t Query : use flama_phc
20230421@174452.9579 m223nia8eqt27j7rsgfbaa7l2t Query : select st.usalote valor from st where st.ref = '324.1646.00.1'
20230421@174452.9590 m223nia8eqt27j7rsgfbaa7l2t Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230421@174452.9731 m223nia8eqt27j7rsgfbaa7l2t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174452.9745 m223nia8eqt27j7rsgfbaa7l2t Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174452.9755 m223nia8eqt27j7rsgfbaa7l2t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174452.9770 m223nia8eqt27j7rsgfbaa7l2t Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174452.9775 m223nia8eqt27j7rsgfbaa7l2t Query : select sestamp valor from se where ref ='324.1646.00.1' and lote = 'r2101259200a'
20230421@174452.9781 m223nia8eqt27j7rsgfbaa7l2t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174452.9792 m223nia8eqt27j7rsgfbaa7l2t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174452.9804 m223nia8eqt27j7rsgfbaa7l2t Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174452.9814 m223nia8eqt27j7rsgfbaa7l2t Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6442b328396442bd84ef',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2 ,'aut6442b020166442bd84c9' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20230421@174453.4300 m223nia8eqt27j7rsgfbaa7l2t Query : use flama_phc
20230421@174453.4700 m223nia8eqt27j7rsgfbaa7l2t Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20230421@174453.9000 m223nia8eqt27j7rsgfbaa7l2t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='21';
20230421@174453.1000 m223nia8eqt27j7rsgfbaa7l2t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='21';
20230421@174453.4080 p5rv5eolq8qeo20qfafro7dvk6 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230421@174453.4200 p5rv5eolq8qeo20qfafro7dvk6 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230421@174453.4310 p5rv5eolq8qeo20qfafro7dvk6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='22';
20230421@174453.4670 p5rv5eolq8qeo20qfafro7dvk6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='22';
20230421@174453.4770 p5rv5eolq8qeo20qfafro7dvk6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='22';
20230421@174453.4870 p5rv5eolq8qeo20qfafro7dvk6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='22';
20230421@174453.4970 p5rv5eolq8qeo20qfafro7dvk6 Query : use flama_phc
20230421@174453.5000 p5rv5eolq8qeo20qfafro7dvk6 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230421@174453.5120 p5rv5eolq8qeo20qfafro7dvk6 Query : use flama_phc
20230421@174453.5150 p5rv5eolq8qeo20qfafro7dvk6 Query : select no, estab,szadrsdesc from szadrs where u_coddest=743
20230421@174453.5890 p5rv5eolq8qeo20qfafro7dvk6 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1256.00.1'
20230421@174453.7530 p5rv5eolq8qeo20qfafro7dvk6 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 3 and bi.ref ='324.1256.00.1' and bi.lordem =1
20230421@174453.1038 p5rv5eolq8qeo20qfafro7dvk6 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'
20230421@174453.1170 p5rv5eolq8qeo20qfafro7dvk6 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 3 and bi.ref ='324.1266.00.1' and bi.lordem =2
20230421@174453.1451 p5rv5eolq8qeo20qfafro7dvk6 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'
20230421@174453.1582 p5rv5eolq8qeo20qfafro7dvk6 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 3 and bi.ref ='324.5500.00.1' and bi.lordem =3
20230421@174453.1884 p5rv5eolq8qeo20qfafro7dvk6 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '321.162.60.00'
20230421@174453.2016 p5rv5eolq8qeo20qfafro7dvk6 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 3 and bi.ref ='321.162.60.00' and bi.lordem =4
20230421@174453.2293 p5rv5eolq8qeo20qfafro7dvk6 Query : use flama_phc
20230421@174453.2297 p5rv5eolq8qeo20qfafro7dvk6 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230421@174453.2310 p5rv5eolq8qeo20qfafro7dvk6 Query : use flama_phc
20230421@174453.2313 p5rv5eolq8qeo20qfafro7dvk6 Query : select top 1 1 valor from td where td.ndoc = 39
20230421@174453.2323 p5rv5eolq8qeo20qfafro7dvk6 Query : use flama_phc
20230421@174453.2326 p5rv5eolq8qeo20qfafro7dvk6 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230421@174453.2336 p5rv5eolq8qeo20qfafro7dvk6 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
20230421@174453.2350 p5rv5eolq8qeo20qfafro7dvk6 Query : use flama_phc
20230421@174453.2353 p5rv5eolq8qeo20qfafro7dvk6 Query : select top 1 ~inactivo valor from cl where no = '100497' and estab = 0 order by inactivo desc
20230421@174453.2442 p5rv5eolq8qeo20qfafro7dvk6 Query : use flama_phc
20230421@174453.2445 p5rv5eolq8qeo20qfafro7dvk6 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230421@174453.2456 p5rv5eolq8qeo20qfafro7dvk6 Query : use flama_phc
20230421@174453.2459 p5rv5eolq8qeo20qfafro7dvk6 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230421@174453.2469 p5rv5eolq8qeo20qfafro7dvk6 Query : use flama_phc
20230421@174453.2471 p5rv5eolq8qeo20qfafro7dvk6 Query : select szadrsstamp valor from szadrs where szadrsdesc='utilar-utilidades para o lar, lda.'
20230421@174453.2484 p5rv5eolq8qeo20qfafro7dvk6 Query : use flama_phc
20230421@174453.2487 p5rv5eolq8qeo20qfafro7dvk6 Query : select 1 valor from td where ndoc = 39
20230421@174453.2496 p5rv5eolq8qeo20qfafro7dvk6 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230421@174453.2507 p5rv5eolq8qeo20qfafro7dvk6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230421@174453.2520 p5rv5eolq8qeo20qfafro7dvk6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230421@174453.2529 p5rv5eolq8qeo20qfafro7dvk6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230421@174453.2542 p5rv5eolq8qeo20qfafro7dvk6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230421@174453.2546 p5rv5eolq8qeo20qfafro7dvk6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230421@174453.2552 p5rv5eolq8qeo20qfafro7dvk6 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230421@174453.2592 p5rv5eolq8qeo20qfafro7dvk6 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230421@174453.2601 p5rv5eolq8qeo20qfafro7dvk6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230421@174453.2607 p5rv5eolq8qeo20qfafro7dvk6 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b909806442bd853e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174453.2612 p5rv5eolq8qeo20qfafro7dvk6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230421@174453.2624 p5rv5eolq8qeo20qfafro7dvk6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230421@174453.2628 p5rv5eolq8qeo20qfafro7dvk6 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b909806442bd853e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174453.2633 p5rv5eolq8qeo20qfafro7dvk6 Query : select top 1 fno valor from wsft039data order by fno desc
20230421@174453.2644 p5rv5eolq8qeo20qfafro7dvk6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230421@174453.2656 p5rv5eolq8qeo20qfafro7dvk6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230421@174453.2665 p5rv5eolq8qeo20qfafro7dvk6 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 ('aut6442b909806442bd853e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10,100497,0,'2023-04-21',39,'euro',0,0,2023 ,'20230421','1814',?,?,?)
20230421@174453.2905 p5rv5eolq8qeo20qfafro7dvk6 Query : use flama_phc
20230421@174453.2908 p5rv5eolq8qeo20qfafro7dvk6 Query : select st.usalote valor from st where st.ref = '324.1256.00.1'
20230421@174453.2921 p5rv5eolq8qeo20qfafro7dvk6 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1256.00.1'
20230421@174453.3057 p5rv5eolq8qeo20qfafro7dvk6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174453.3071 p5rv5eolq8qeo20qfafro7dvk6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174453.3080 p5rv5eolq8qeo20qfafro7dvk6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174453.3092 p5rv5eolq8qeo20qfafro7dvk6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174453.3097 p5rv5eolq8qeo20qfafro7dvk6 Query : select sestamp valor from se where ref ='324.1256.00.1' and lote = 'r2100116100a'
20230421@174453.3113 p5rv5eolq8qeo20qfafro7dvk6 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174453.3122 p5rv5eolq8qeo20qfafro7dvk6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174453.3133 p5rv5eolq8qeo20qfafro7dvk6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174453.3143 p5rv5eolq8qeo20qfafro7dvk6 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6442b307086442bd854c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2 ,'aut6442b909806442bd853e' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230421@174453.3355 p5rv5eolq8qeo20qfafro7dvk6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174453.3370 p5rv5eolq8qeo20qfafro7dvk6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@174453.3375 p5rv5eolq8qeo20qfafro7dvk6 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b307086442bd854c','aut6442b909806442bd853e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174453.3380 p5rv5eolq8qeo20qfafro7dvk6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174453.3393 p5rv5eolq8qeo20qfafro7dvk6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174453.3403 p5rv5eolq8qeo20qfafro7dvk6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174453.3415 p5rv5eolq8qeo20qfafro7dvk6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174453.3420 p5rv5eolq8qeo20qfafro7dvk6 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174453.3430 p5rv5eolq8qeo20qfafro7dvk6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174453.3444 p5rv5eolq8qeo20qfafro7dvk6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174453.3454 p5rv5eolq8qeo20qfafro7dvk6 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6442b214256442bd8553',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6442b909806442bd853e' ,0,0 ,2,23.00,20000,?,?,?)
20230421@174453.3756 p5rv5eolq8qeo20qfafro7dvk6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174453.3772 p5rv5eolq8qeo20qfafro7dvk6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@174453.3776 p5rv5eolq8qeo20qfafro7dvk6 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b214256442bd8553','aut6442b909806442bd853e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174453.3781 p5rv5eolq8qeo20qfafro7dvk6 Query : use flama_phc
20230421@174453.3784 p5rv5eolq8qeo20qfafro7dvk6 Query : select st.usalote valor from st where st.ref = '324.1266.00.1'
20230421@174453.3796 p5rv5eolq8qeo20qfafro7dvk6 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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.1266.00.1'
20230421@174453.3933 p5rv5eolq8qeo20qfafro7dvk6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174453.3946 p5rv5eolq8qeo20qfafro7dvk6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174453.3955 p5rv5eolq8qeo20qfafro7dvk6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174453.3967 p5rv5eolq8qeo20qfafro7dvk6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174453.3972 p5rv5eolq8qeo20qfafro7dvk6 Query : select sestamp valor from se where ref ='324.1266.00.1' and lote = 'r2101351100a'
20230421@174453.3982 p5rv5eolq8qeo20qfafro7dvk6 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174453.3992 p5rv5eolq8qeo20qfafro7dvk6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174453.4003 p5rv5eolq8qeo20qfafro7dvk6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174453.4012 p5rv5eolq8qeo20qfafro7dvk6 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6442b592176442bd8561',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2 ,'aut6442b909806442bd853e' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230421@174453.4228 p5rv5eolq8qeo20qfafro7dvk6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174453.4243 p5rv5eolq8qeo20qfafro7dvk6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@174453.4247 p5rv5eolq8qeo20qfafro7dvk6 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b592176442bd8561','aut6442b909806442bd853e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174453.4253 p5rv5eolq8qeo20qfafro7dvk6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174453.4266 p5rv5eolq8qeo20qfafro7dvk6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174453.4276 p5rv5eolq8qeo20qfafro7dvk6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174453.4288 p5rv5eolq8qeo20qfafro7dvk6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174453.4293 p5rv5eolq8qeo20qfafro7dvk6 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174453.4302 p5rv5eolq8qeo20qfafro7dvk6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174453.4314 p5rv5eolq8qeo20qfafro7dvk6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174453.4325 p5rv5eolq8qeo20qfafro7dvk6 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6442b200356442bd8569',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6442b909806442bd853e' ,0,0 ,2,23.00,50000,?,?,?)
20230421@174453.4540 p5rv5eolq8qeo20qfafro7dvk6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174453.4554 p5rv5eolq8qeo20qfafro7dvk6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@174453.4558 p5rv5eolq8qeo20qfafro7dvk6 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b200356442bd8569','aut6442b909806442bd853e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174453.4562 p5rv5eolq8qeo20qfafro7dvk6 Query : use flama_phc
20230421@174453.4565 p5rv5eolq8qeo20qfafro7dvk6 Query : select st.usalote valor from st where st.ref = '324.5500.00.1'
20230421@174453.4576 p5rv5eolq8qeo20qfafro7dvk6 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230421@174453.4719 p5rv5eolq8qeo20qfafro7dvk6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174453.4735 p5rv5eolq8qeo20qfafro7dvk6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174453.4747 p5rv5eolq8qeo20qfafro7dvk6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174453.4762 p5rv5eolq8qeo20qfafro7dvk6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174453.4779 p5rv5eolq8qeo20qfafro7dvk6 Query : select sestamp valor from se where ref ='324.5500.00.1' and lote = 'r2101221200a'
20230421@174453.4934 p5rv5eolq8qeo20qfafro7dvk6 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174453.4946 p5rv5eolq8qeo20qfafro7dvk6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174453.5779 p5rv5eolq8qeo20qfafro7dvk6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174453.5791 p5rv5eolq8qeo20qfafro7dvk6 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6442b271216442bd8578',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2 ,'aut6442b909806442bd853e' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20230421@174453.6010 p5rv5eolq8qeo20qfafro7dvk6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174453.6026 p5rv5eolq8qeo20qfafro7dvk6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@174453.6031 p5rv5eolq8qeo20qfafro7dvk6 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b271216442bd8578','aut6442b909806442bd853e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174453.6035 p5rv5eolq8qeo20qfafro7dvk6 Query : use flama_phc
20230421@174453.6039 p5rv5eolq8qeo20qfafro7dvk6 Query : select st.usalote valor from st where st.ref = '321.162.60.00'
20230421@174453.6052 p5rv5eolq8qeo20qfafro7dvk6 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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.60.00'
20230421@174453.6188 p5rv5eolq8qeo20qfafro7dvk6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174453.6203 p5rv5eolq8qeo20qfafro7dvk6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174453.6214 p5rv5eolq8qeo20qfafro7dvk6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174453.6228 p5rv5eolq8qeo20qfafro7dvk6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174453.6233 p5rv5eolq8qeo20qfafro7dvk6 Query : select sestamp valor from se where ref ='321.162.60.00' and lote = '1'
20230421@174453.6239 p5rv5eolq8qeo20qfafro7dvk6 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174453.6250 p5rv5eolq8qeo20qfafro7dvk6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174453.6262 p5rv5eolq8qeo20qfafro7dvk6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174453.6272 p5rv5eolq8qeo20qfafro7dvk6 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6442b982876442bd8598',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2 ,'aut6442b909806442bd853e' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20230421@174453.6491 p5rv5eolq8qeo20qfafro7dvk6 Query : use flama_phc
20230421@174453.6495 p5rv5eolq8qeo20qfafro7dvk6 Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20230421@174453.6506 p5rv5eolq8qeo20qfafro7dvk6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='22';
20230421@174453.6518 p5rv5eolq8qeo20qfafro7dvk6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='22';
20230421@174453.6942 ipjaq1ekdaeulaqoj1o2hf3p3j Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230421@174453.6978 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230421@174453.6991 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='23';
20230421@174453.7029 ipjaq1ekdaeulaqoj1o2hf3p3j Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='23';
20230421@174453.7039 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='23';
20230421@174453.7050 ipjaq1ekdaeulaqoj1o2hf3p3j Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='23';
20230421@174453.7059 ipjaq1ekdaeulaqoj1o2hf3p3j Query : use flama_phc
20230421@174453.7062 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230421@174453.7074 ipjaq1ekdaeulaqoj1o2hf3p3j Query : use flama_phc
20230421@174453.7077 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select no, estab,szadrsdesc from szadrs where u_coddest=1816
20230421@174453.7150 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20230421@174453.7294 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 4 and bi.ref ='324.4970.00.1' and bi.lordem =1
20230421@174453.7593 ipjaq1ekdaeulaqoj1o2hf3p3j 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'
20230421@174453.7735 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 4 and bi.ref ='304.4320.00.1' and bi.lordem =2
20230421@174453.8038 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1676.00.1'
20230421@174453.8177 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 4 and bi.ref ='324.1676.00.1' and bi.lordem =3
20230421@174453.8481 ipjaq1ekdaeulaqoj1o2hf3p3j Query : use flama_phc
20230421@174453.8484 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230421@174453.8498 ipjaq1ekdaeulaqoj1o2hf3p3j Query : use flama_phc
20230421@174453.8501 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select top 1 1 valor from td where td.ndoc = 39
20230421@174453.8512 ipjaq1ekdaeulaqoj1o2hf3p3j Query : use flama_phc
20230421@174453.8515 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230421@174453.8526 ipjaq1ekdaeulaqoj1o2hf3p3j 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
20230421@174453.8542 ipjaq1ekdaeulaqoj1o2hf3p3j Query : use flama_phc
20230421@174453.8545 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select top 1 ~inactivo valor from cl where no = '101446' and estab = 0 order by inactivo desc
20230421@174453.8644 ipjaq1ekdaeulaqoj1o2hf3p3j Query : use flama_phc
20230421@174453.8647 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230421@174453.8658 ipjaq1ekdaeulaqoj1o2hf3p3j Query : use flama_phc
20230421@174453.8661 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230421@174453.8671 ipjaq1ekdaeulaqoj1o2hf3p3j Query : use flama_phc
20230421@174453.8673 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select szadrsstamp valor from szadrs where szadrsdesc='arnaldo martins domingos (electro jardim)'
20230421@174453.8687 ipjaq1ekdaeulaqoj1o2hf3p3j Query : use flama_phc
20230421@174453.8690 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select 1 valor from td where ndoc = 39
20230421@174453.8772 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230421@174453.8785 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230421@174453.8801 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230421@174453.8811 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230421@174453.9828 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230421@174453.9834 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230421@174453.9841 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230421@174453.9881 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230421@174453.9892 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230421@174453.9898 ipjaq1ekdaeulaqoj1o2hf3p3j Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b132526442bd85f0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174453.9903 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230421@174453.9920 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230421@174453.9924 ipjaq1ekdaeulaqoj1o2hf3p3j Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b132526442bd85f0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174453.9929 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select top 1 fno valor from wsft039data order by fno desc
20230421@174453.9939 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230421@174453.9953 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230421@174453.9963 ipjaq1ekdaeulaqoj1o2hf3p3j 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 ('aut6442b132526442bd85f0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10,101446,0,'2023-04-21',39,'euro',0,0,2023 ,'20230421','1814',?,?,?)
20230421@174454.2130 ipjaq1ekdaeulaqoj1o2hf3p3j Query : use flama_phc
20230421@174454.2170 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20230421@174454.2300 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4970.00.1'
20230421@174454.3780 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174454.3950 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174454.4050 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174454.4180 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174454.4220 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2100190100a'
20230421@174454.4330 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174454.4430 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174454.4570 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174454.4670 ipjaq1ekdaeulaqoj1o2hf3p3j Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6442b895946442bd860a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4 ,'aut6442b132526442bd85f0' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230421@174454.7670 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174454.7860 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@174454.7900 ipjaq1ekdaeulaqoj1o2hf3p3j Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b895946442bd860a','aut6442b132526442bd85f0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174454.7950 ipjaq1ekdaeulaqoj1o2hf3p3j Query : use flama_phc
20230421@174454.7980 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20230421@174454.8100 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230421@174454.9520 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174454.9670 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174454.9780 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174454.9920 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174454.9960 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '230435'
20230421@174454.1007 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174454.1017 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174454.1030 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174454.1040 ipjaq1ekdaeulaqoj1o2hf3p3j Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6442b751696442bd8618',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4 ,'aut6442b132526442bd85f0' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20230421@174454.1260 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174454.1274 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@174454.1279 ipjaq1ekdaeulaqoj1o2hf3p3j Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b751696442bd8618','aut6442b132526442bd85f0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174454.1283 ipjaq1ekdaeulaqoj1o2hf3p3j Query : use flama_phc
20230421@174454.1287 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select st.usalote valor from st where st.ref = '324.1676.00.1'
20230421@174454.1298 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1676.00.1'
20230421@174454.1442 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174454.1456 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174454.1466 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174454.1482 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174454.1487 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select sestamp valor from se where ref ='324.1676.00.1' and lote = 'r2200299100a'
20230421@174454.1499 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174454.1509 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174454.1521 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174454.1532 ipjaq1ekdaeulaqoj1o2hf3p3j Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6442b666426442bd8624',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2 ,'aut6442b132526442bd85f0' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20230421@174454.1762 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174454.1778 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@174454.1783 ipjaq1ekdaeulaqoj1o2hf3p3j Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b666426442bd8624','aut6442b132526442bd85f0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174454.1789 ipjaq1ekdaeulaqoj1o2hf3p3j Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6442b132526442bd85f0','','wait',39,'ari17112337378,753000005')
20230421@174454.1806 ipjaq1ekdaeulaqoj1o2hf3p3j Query : use flama_phc
20230421@174454.1809 ipjaq1ekdaeulaqoj1o2hf3p3j Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230421@174454.1821 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='23';
20230421@174454.1833 ipjaq1ekdaeulaqoj1o2hf3p3j Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='23';
20230421@174454.1844 ipjaq1ekdaeulaqoj1o2hf3p3j Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='23';
20230421@174454.1855 ipjaq1ekdaeulaqoj1o2hf3p3j Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='23';
20230421@174454.2204 rk9ftlcl18srgmkk590v45ouhl Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230421@174454.2217 rk9ftlcl18srgmkk590v45ouhl Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230421@174454.2229 rk9ftlcl18srgmkk590v45ouhl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='24';
20230421@174454.2267 rk9ftlcl18srgmkk590v45ouhl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='24';
20230421@174454.2277 rk9ftlcl18srgmkk590v45ouhl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='24';
20230421@174454.2288 rk9ftlcl18srgmkk590v45ouhl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='24';
20230421@174454.2297 rk9ftlcl18srgmkk590v45ouhl Query : use flama_phc
20230421@174454.2300 rk9ftlcl18srgmkk590v45ouhl Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230421@174454.2313 rk9ftlcl18srgmkk590v45ouhl Query : use flama_phc
20230421@174454.2316 rk9ftlcl18srgmkk590v45ouhl Query : select no, estab,szadrsdesc from szadrs where u_coddest=1335
20230421@174454.2387 rk9ftlcl18srgmkk590v45ouhl 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'
20230421@174454.2706 rk9ftlcl18srgmkk590v45ouhl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 5 and bi.ref ='324.1824.00.1' and bi.lordem =1
20230421@174454.3016 rk9ftlcl18srgmkk590v45ouhl 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'
20230421@174454.3028 rk9ftlcl18srgmkk590v45ouhl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 5 and bi.ref ='324.1824.00.1' and bi.lordem =2
20230421@174454.3312 rk9ftlcl18srgmkk590v45ouhl Query : use flama_phc
20230421@174454.3316 rk9ftlcl18srgmkk590v45ouhl Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230421@174454.3329 rk9ftlcl18srgmkk590v45ouhl Query : use flama_phc
20230421@174454.3332 rk9ftlcl18srgmkk590v45ouhl Query : select top 1 1 valor from td where td.ndoc = 39
20230421@174454.3342 rk9ftlcl18srgmkk590v45ouhl Query : use flama_phc
20230421@174454.3345 rk9ftlcl18srgmkk590v45ouhl Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230421@174454.3356 rk9ftlcl18srgmkk590v45ouhl 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
20230421@174454.3370 rk9ftlcl18srgmkk590v45ouhl Query : use flama_phc
20230421@174454.3373 rk9ftlcl18srgmkk590v45ouhl Query : select top 1 ~inactivo valor from cl where no = '102299' and estab = 0 order by inactivo desc
20230421@174454.3472 rk9ftlcl18srgmkk590v45ouhl Query : use flama_phc
20230421@174454.3475 rk9ftlcl18srgmkk590v45ouhl Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230421@174454.3486 rk9ftlcl18srgmkk590v45ouhl Query : use flama_phc
20230421@174454.3489 rk9ftlcl18srgmkk590v45ouhl Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230421@174454.3499 rk9ftlcl18srgmkk590v45ouhl Query : use flama_phc
20230421@174454.3502 rk9ftlcl18srgmkk590v45ouhl Query : select szadrsstamp valor from szadrs where szadrsdesc='jose afonso batista, unipessoal lda.'
20230421@174454.3514 rk9ftlcl18srgmkk590v45ouhl Query : use flama_phc
20230421@174454.3517 rk9ftlcl18srgmkk590v45ouhl Query : select 1 valor from td where ndoc = 39
20230421@174454.3526 rk9ftlcl18srgmkk590v45ouhl Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230421@174454.3539 rk9ftlcl18srgmkk590v45ouhl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230421@174454.3552 rk9ftlcl18srgmkk590v45ouhl Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230421@174454.3562 rk9ftlcl18srgmkk590v45ouhl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230421@174454.3575 rk9ftlcl18srgmkk590v45ouhl Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230421@174454.3579 rk9ftlcl18srgmkk590v45ouhl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230421@174454.3586 rk9ftlcl18srgmkk590v45ouhl Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230421@174454.3626 rk9ftlcl18srgmkk590v45ouhl Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230421@174454.3636 rk9ftlcl18srgmkk590v45ouhl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230421@174454.3643 rk9ftlcl18srgmkk590v45ouhl Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b314476442bd8657' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174454.3648 rk9ftlcl18srgmkk590v45ouhl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230421@174454.3660 rk9ftlcl18srgmkk590v45ouhl Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230421@174454.3664 rk9ftlcl18srgmkk590v45ouhl Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b314476442bd8657',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174454.3668 rk9ftlcl18srgmkk590v45ouhl Query : select top 1 fno valor from wsft039data order by fno desc
20230421@174454.3678 rk9ftlcl18srgmkk590v45ouhl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230421@174454.3691 rk9ftlcl18srgmkk590v45ouhl Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230421@174454.3701 rk9ftlcl18srgmkk590v45ouhl 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 ('aut6442b314476442bd8657',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',11,102299,0,'2023-04-21',39,'euro',0,0,2023 ,'20230421','1814',?,?,?)
20230421@174454.4050 rk9ftlcl18srgmkk590v45ouhl Query : use flama_phc
20230421@174454.4054 rk9ftlcl18srgmkk590v45ouhl Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20230421@174454.4066 rk9ftlcl18srgmkk590v45ouhl Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230421@174454.4223 rk9ftlcl18srgmkk590v45ouhl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174454.4237 rk9ftlcl18srgmkk590v45ouhl Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174454.4247 rk9ftlcl18srgmkk590v45ouhl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174454.4260 rk9ftlcl18srgmkk590v45ouhl Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174454.4264 rk9ftlcl18srgmkk590v45ouhl Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2200670200a'
20230421@174454.4270 rk9ftlcl18srgmkk590v45ouhl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174454.4280 rk9ftlcl18srgmkk590v45ouhl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174454.4293 rk9ftlcl18srgmkk590v45ouhl Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174454.4304 rk9ftlcl18srgmkk590v45ouhl Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6442b808446442bd8668',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',7 ,'aut6442b314476442bd8657' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230421@174454.4547 rk9ftlcl18srgmkk590v45ouhl Query : use flama_phc
20230421@174454.4551 rk9ftlcl18srgmkk590v45ouhl Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20230421@174454.4563 rk9ftlcl18srgmkk590v45ouhl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='24';
20230421@174454.4573 rk9ftlcl18srgmkk590v45ouhl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='24';
20230421@174454.4877 2mm8qhalmf0iv8rtlctleqcajo Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230421@174454.4889 2mm8qhalmf0iv8rtlctleqcajo Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230421@174454.4901 2mm8qhalmf0iv8rtlctleqcajo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='25';
20230421@174454.4937 2mm8qhalmf0iv8rtlctleqcajo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='25';
20230421@174454.4948 2mm8qhalmf0iv8rtlctleqcajo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='25';
20230421@174454.4957 2mm8qhalmf0iv8rtlctleqcajo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='25';
20230421@174454.4966 2mm8qhalmf0iv8rtlctleqcajo Query : use flama_phc
20230421@174454.4969 2mm8qhalmf0iv8rtlctleqcajo Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230421@174454.4981 2mm8qhalmf0iv8rtlctleqcajo Query : use flama_phc
20230421@174454.4984 2mm8qhalmf0iv8rtlctleqcajo Query : select no, estab,szadrsdesc from szadrs where u_coddest=1492
20230421@174454.5054 2mm8qhalmf0iv8rtlctleqcajo 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'
20230421@174454.5325 2mm8qhalmf0iv8rtlctleqcajo Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 6 and bi.ref ='324.1816.00.1' and bi.lordem =1
20230421@174454.5636 2mm8qhalmf0iv8rtlctleqcajo 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'
20230421@174454.5778 2mm8qhalmf0iv8rtlctleqcajo Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 6 and bi.ref ='324.5343.00.1' and bi.lordem =2
20230421@174454.6068 2mm8qhalmf0iv8rtlctleqcajo Query : use flama_phc
20230421@174454.6071 2mm8qhalmf0iv8rtlctleqcajo Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230421@174454.6085 2mm8qhalmf0iv8rtlctleqcajo Query : use flama_phc
20230421@174454.6088 2mm8qhalmf0iv8rtlctleqcajo Query : select top 1 1 valor from td where td.ndoc = 39
20230421@174454.6099 2mm8qhalmf0iv8rtlctleqcajo Query : use flama_phc
20230421@174454.6101 2mm8qhalmf0iv8rtlctleqcajo Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230421@174454.6112 2mm8qhalmf0iv8rtlctleqcajo 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
20230421@174454.6125 2mm8qhalmf0iv8rtlctleqcajo Query : use flama_phc
20230421@174454.6128 2mm8qhalmf0iv8rtlctleqcajo Query : select top 1 ~inactivo valor from cl where no = '102321' and estab = 0 order by inactivo desc
20230421@174454.6224 2mm8qhalmf0iv8rtlctleqcajo Query : use flama_phc
20230421@174454.6227 2mm8qhalmf0iv8rtlctleqcajo Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230421@174454.6238 2mm8qhalmf0iv8rtlctleqcajo Query : use flama_phc
20230421@174454.6241 2mm8qhalmf0iv8rtlctleqcajo Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230421@174454.6252 2mm8qhalmf0iv8rtlctleqcajo Query : use flama_phc
20230421@174454.6255 2mm8qhalmf0iv8rtlctleqcajo Query : select szadrsstamp valor from szadrs where szadrsdesc='antÓnio joÃo silva afonso'
20230421@174454.6267 2mm8qhalmf0iv8rtlctleqcajo Query : use flama_phc
20230421@174454.6270 2mm8qhalmf0iv8rtlctleqcajo Query : select 1 valor from td where ndoc = 39
20230421@174454.6280 2mm8qhalmf0iv8rtlctleqcajo Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230421@174454.6293 2mm8qhalmf0iv8rtlctleqcajo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230421@174454.6307 2mm8qhalmf0iv8rtlctleqcajo Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230421@174454.6317 2mm8qhalmf0iv8rtlctleqcajo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230421@174454.6329 2mm8qhalmf0iv8rtlctleqcajo Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230421@174454.6335 2mm8qhalmf0iv8rtlctleqcajo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230421@174454.6342 2mm8qhalmf0iv8rtlctleqcajo Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230421@174454.6384 2mm8qhalmf0iv8rtlctleqcajo Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230421@174454.6394 2mm8qhalmf0iv8rtlctleqcajo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230421@174454.6400 2mm8qhalmf0iv8rtlctleqcajo Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b141706442bd869a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174454.6411 2mm8qhalmf0iv8rtlctleqcajo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230421@174454.6424 2mm8qhalmf0iv8rtlctleqcajo Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230421@174454.6429 2mm8qhalmf0iv8rtlctleqcajo Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b141706442bd869a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174454.6439 2mm8qhalmf0iv8rtlctleqcajo Query : select top 1 fno valor from wsft039data order by fno desc
20230421@174454.6450 2mm8qhalmf0iv8rtlctleqcajo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230421@174454.6463 2mm8qhalmf0iv8rtlctleqcajo Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230421@174454.6472 2mm8qhalmf0iv8rtlctleqcajo 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 ('aut6442b141706442bd869a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',11,102321,0,'2023-04-21',39,'euro',0,0,2023 ,'20230421','1814',?,?,?)
20230421@174454.6745 2mm8qhalmf0iv8rtlctleqcajo Query : use flama_phc
20230421@174454.6749 2mm8qhalmf0iv8rtlctleqcajo Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20230421@174454.6762 2mm8qhalmf0iv8rtlctleqcajo Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230421@174454.6905 2mm8qhalmf0iv8rtlctleqcajo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174454.6919 2mm8qhalmf0iv8rtlctleqcajo Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174454.6930 2mm8qhalmf0iv8rtlctleqcajo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174454.6944 2mm8qhalmf0iv8rtlctleqcajo Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174454.6949 2mm8qhalmf0iv8rtlctleqcajo Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2200645200a'
20230421@174454.6960 2mm8qhalmf0iv8rtlctleqcajo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174454.6970 2mm8qhalmf0iv8rtlctleqcajo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174454.6983 2mm8qhalmf0iv8rtlctleqcajo Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174454.6994 2mm8qhalmf0iv8rtlctleqcajo Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6442b130826442bd86aa',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4 ,'aut6442b141706442bd869a' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230421@174454.7261 2mm8qhalmf0iv8rtlctleqcajo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174454.7346 2mm8qhalmf0iv8rtlctleqcajo Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@174454.7352 2mm8qhalmf0iv8rtlctleqcajo Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b130826442bd86aa','aut6442b141706442bd869a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174454.7397 2mm8qhalmf0iv8rtlctleqcajo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174454.7610 2mm8qhalmf0iv8rtlctleqcajo Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174454.7817 2mm8qhalmf0iv8rtlctleqcajo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174454.8031 2mm8qhalmf0iv8rtlctleqcajo Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174454.8103 2mm8qhalmf0iv8rtlctleqcajo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174454.8115 2mm8qhalmf0iv8rtlctleqcajo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174454.8129 2mm8qhalmf0iv8rtlctleqcajo Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174454.8139 2mm8qhalmf0iv8rtlctleqcajo Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6442b693026442bd86c6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6442b141706442bd869a' ,0,0 ,2,23.00,20000,?,?,?)
20230421@174454.8677 2mm8qhalmf0iv8rtlctleqcajo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174454.8886 2mm8qhalmf0iv8rtlctleqcajo Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@174454.8981 2mm8qhalmf0iv8rtlctleqcajo Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b693026442bd86c6','aut6442b141706442bd869a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174454.9025 2mm8qhalmf0iv8rtlctleqcajo Query : use flama_phc
20230421@174454.9067 2mm8qhalmf0iv8rtlctleqcajo Query : select st.usalote valor from st where st.ref = '324.5343.00.1'
20230421@174454.9305 2mm8qhalmf0iv8rtlctleqcajo Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230421@174454.9784 2mm8qhalmf0iv8rtlctleqcajo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174455.2300 2mm8qhalmf0iv8rtlctleqcajo Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174455.2330 2mm8qhalmf0iv8rtlctleqcajo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174455.6390 2mm8qhalmf0iv8rtlctleqcajo Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174455.7190 2mm8qhalmf0iv8rtlctleqcajo Query : select sestamp valor from se where ref ='324.5343.00.1' and lote = 'r2100244100a'
20230421@174455.9320 2mm8qhalmf0iv8rtlctleqcajo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174455.1565 2mm8qhalmf0iv8rtlctleqcajo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174455.2166 2mm8qhalmf0iv8rtlctleqcajo Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174455.2382 2mm8qhalmf0iv8rtlctleqcajo Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6442b676646442bd8726',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6 ,'aut6442b141706442bd869a' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230421@174455.2876 2mm8qhalmf0iv8rtlctleqcajo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174455.3102 2mm8qhalmf0iv8rtlctleqcajo Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@174455.3206 2mm8qhalmf0iv8rtlctleqcajo Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b676646442bd8726','aut6442b141706442bd869a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174455.3250 2mm8qhalmf0iv8rtlctleqcajo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174455.3462 2mm8qhalmf0iv8rtlctleqcajo Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174455.3673 2mm8qhalmf0iv8rtlctleqcajo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174455.3885 2mm8qhalmf0iv8rtlctleqcajo Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174455.3968 2mm8qhalmf0iv8rtlctleqcajo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174455.4178 2mm8qhalmf0iv8rtlctleqcajo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174455.4410 2mm8qhalmf0iv8rtlctleqcajo Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174455.4634 2mm8qhalmf0iv8rtlctleqcajo Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6442b972676442bd8766',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6442b141706442bd869a' ,0,0 ,2,23.00,50000,?,?,?)
20230421@174455.5113 2mm8qhalmf0iv8rtlctleqcajo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174455.5332 2mm8qhalmf0iv8rtlctleqcajo Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@174455.5519 2mm8qhalmf0iv8rtlctleqcajo Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b972676442bd8766','aut6442b141706442bd869a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174455.5607 2mm8qhalmf0iv8rtlctleqcajo Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6442b141706442bd869a','','wait',39,'ari17112337378,753000005')
20230421@174455.5976 2mm8qhalmf0iv8rtlctleqcajo Query : use flama_phc
20230421@174455.6016 2mm8qhalmf0iv8rtlctleqcajo Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230421@174455.6114 2mm8qhalmf0iv8rtlctleqcajo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='25';
20230421@174455.6320 2mm8qhalmf0iv8rtlctleqcajo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='25';
20230421@174455.6402 2mm8qhalmf0iv8rtlctleqcajo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='25';
20230421@174455.6610 2mm8qhalmf0iv8rtlctleqcajo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='25';
20230421@174455.7027 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230421@174455.7040 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230421@174455.7051 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='26';
20230421@174455.7082 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='26';
20230421@174455.7094 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='26';
20230421@174455.7103 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='26';
20230421@174455.7113 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : use flama_phc
20230421@174455.7116 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230421@174455.7127 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : use flama_phc
20230421@174455.7130 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select no, estab,szadrsdesc from szadrs where u_coddest=16
20230421@174455.7198 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '325.1670.3015'
20230421@174455.7338 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 7 and bi.ref ='325.1670.3015' and bi.lordem =1
20230421@174455.7637 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4910.00.1'
20230421@174455.7770 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 7 and bi.ref ='324.4910.00.1' and bi.lordem =2
20230421@174455.8067 tbkoctkbh3h7tr2bjl3hpbo4t7 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'
20230421@174455.8204 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 7 and bi.ref ='324.948.00.01' and bi.lordem =3
20230421@174455.8500 tbkoctkbh3h7tr2bjl3hpbo4t7 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'
20230421@174455.8511 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 7 and bi.ref ='324.948.00.01' and bi.lordem =3
20230421@174455.8516 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4990.00.1'
20230421@174455.8657 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 7 and bi.ref ='324.4990.00.1' and bi.lordem =4
20230421@174455.9128 tbkoctkbh3h7tr2bjl3hpbo4t7 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'
20230421@174455.9914 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 7 and bi.ref ='324.4930.00.1' and bi.lordem =5
20230421@174456.2450 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4860.00.1'
20230421@174456.3930 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 7 and bi.ref ='304.4860.00.1' and bi.lordem =6
20230421@174456.6900 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4590.00.1'
20230421@174456.8250 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 7 and bi.ref ='324.4590.00.1' and bi.lordem =7
20230421@174456.1110 tbkoctkbh3h7tr2bjl3hpbo4t7 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'
20230421@174456.1241 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 7 and bi.ref ='324.1834.00.1' and bi.lordem =8
20230421@174456.1532 tbkoctkbh3h7tr2bjl3hpbo4t7 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'
20230421@174456.1543 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 7 and bi.ref ='324.1834.00.1' and bi.lordem =8
20230421@174456.1549 tbkoctkbh3h7tr2bjl3hpbo4t7 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'
20230421@174456.1559 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 7 and bi.ref ='324.1834.00.1' and bi.lordem =9
20230421@174456.1985 tbkoctkbh3h7tr2bjl3hpbo4t7 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'
20230421@174456.2104 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 7 and bi.ref ='324.1824.00.1' and bi.lordem =10
20230421@174456.2417 tbkoctkbh3h7tr2bjl3hpbo4t7 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'
20230421@174456.2429 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 7 and bi.ref ='324.1824.00.1' and bi.lordem =11
20230421@174456.2706 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1685.00.1'
20230421@174456.2837 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 7 and bi.ref ='324.1685.00.1' and bi.lordem =12
20230421@174456.3115 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1608.00.1'
20230421@174456.3242 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 7 and bi.ref ='324.1608.00.1' and bi.lordem =13
20230421@174456.3530 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : use flama_phc
20230421@174456.3534 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230421@174456.3548 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : use flama_phc
20230421@174456.3551 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select top 1 1 valor from td where td.ndoc = 39
20230421@174456.3561 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : use flama_phc
20230421@174456.3564 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230421@174456.3576 tbkoctkbh3h7tr2bjl3hpbo4t7 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
20230421@174456.3590 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : use flama_phc
20230421@174456.3593 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select top 1 ~inactivo valor from cl where no = '100327' and estab = 0 order by inactivo desc
20230421@174456.3682 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : use flama_phc
20230421@174456.3686 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230421@174456.3697 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : use flama_phc
20230421@174456.3700 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230421@174456.3710 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : use flama_phc
20230421@174456.3713 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select szadrsstamp valor from szadrs where szadrsdesc='discoteca juvenil, lda.'
20230421@174456.3725 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : use flama_phc
20230421@174456.3728 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select 1 valor from td where ndoc = 39
20230421@174456.3739 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230421@174456.3750 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230421@174456.3763 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230421@174456.3773 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230421@174456.3786 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230421@174456.3792 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230421@174456.3799 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230421@174456.3839 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230421@174456.3849 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230421@174456.3855 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b280596442bd885c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174456.3860 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230421@174456.3873 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230421@174456.3877 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b280596442bd885c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174456.3881 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select top 1 fno valor from wsft039data order by fno desc
20230421@174456.3892 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230421@174456.3904 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230421@174456.3913 tbkoctkbh3h7tr2bjl3hpbo4t7 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 ('aut6442b280596442bd885c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12,100327,0,'2023-04-21',39,'euro',0,0,2023 ,'20230421','1814',?,?,?)
20230421@174456.4156 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : use flama_phc
20230421@174456.4160 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select st.usalote valor from st where st.ref = '325.1670.3015'
20230421@174456.4172 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '325.1670.3015'
20230421@174456.4308 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174456.4321 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174456.4330 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174456.4342 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174456.4346 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select sestamp valor from se where ref ='325.1670.3015' and lote = 'r2300369200a'
20230421@174456.4356 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174456.4365 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174456.4377 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174456.4386 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6442b121406442bd886a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48 ,'aut6442b280596442bd885c' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230421@174456.4598 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174456.4612 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@174456.4616 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b121406442bd886a','aut6442b280596442bd885c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174456.4619 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : use flama_phc
20230421@174456.4623 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select st.usalote valor from st where st.ref = '324.4910.00.1'
20230421@174456.4633 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4910.00.1'
20230421@174456.4764 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174456.4777 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174456.4786 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174456.4799 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174456.4802 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select sestamp valor from se where ref ='324.4910.00.1' and lote = 'r2100754100a'
20230421@174456.4812 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174456.4821 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174456.4832 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174456.4841 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6442b337316442bd8875',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24 ,'aut6442b280596442bd885c' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20230421@174456.5050 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174456.5064 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@174456.5068 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b337316442bd8875','aut6442b280596442bd885c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174456.5072 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : use flama_phc
20230421@174456.5075 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select st.usalote valor from st where st.ref = '324.948.00.01'
20230421@174456.5086 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230421@174456.5218 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174456.5230 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174456.6156 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174456.6170 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174456.6175 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select sestamp valor from se where ref ='324.948.00.01' and lote = '2204327'
20230421@174456.6180 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174456.6190 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174456.6203 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174456.6213 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6442b836136442bd8897',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12 ,'aut6442b280596442bd885c' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20230421@174456.6435 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : use flama_phc
20230421@174456.6439 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20230421@174456.6450 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='26';
20230421@174456.6460 tbkoctkbh3h7tr2bjl3hpbo4t7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='26';
20230421@174456.6798 vrp9ro1r47h8p6kv8qegftnnfo Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230421@174456.6811 vrp9ro1r47h8p6kv8qegftnnfo Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230421@174456.6824 vrp9ro1r47h8p6kv8qegftnnfo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='27';
20230421@174456.6862 vrp9ro1r47h8p6kv8qegftnnfo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='27';
20230421@174456.6872 vrp9ro1r47h8p6kv8qegftnnfo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='27';
20230421@174456.6883 vrp9ro1r47h8p6kv8qegftnnfo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='27';
20230421@174456.6892 vrp9ro1r47h8p6kv8qegftnnfo Query : use flama_phc
20230421@174456.6896 vrp9ro1r47h8p6kv8qegftnnfo Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230421@174456.6908 vrp9ro1r47h8p6kv8qegftnnfo Query : use flama_phc
20230421@174456.6911 vrp9ro1r47h8p6kv8qegftnnfo Query : select no, estab,szadrsdesc from szadrs where u_coddest=2759
20230421@174456.6985 vrp9ro1r47h8p6kv8qegftnnfo 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'
20230421@174456.6997 vrp9ro1r47h8p6kv8qegftnnfo Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 8 and bi.ref ='324.1716.00.1' and bi.lordem =1
20230421@174456.7310 vrp9ro1r47h8p6kv8qegftnnfo 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'
20230421@174456.7464 vrp9ro1r47h8p6kv8qegftnnfo Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 8 and bi.ref ='323.367.09.00' and bi.lordem =2
20230421@174456.7904 vrp9ro1r47h8p6kv8qegftnnfo 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'
20230421@174456.8136 vrp9ro1r47h8p6kv8qegftnnfo Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 8 and bi.ref ='324.4980.00.1' and bi.lordem =3
20230421@174456.8475 vrp9ro1r47h8p6kv8qegftnnfo Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4990.00.1'
20230421@174456.8487 vrp9ro1r47h8p6kv8qegftnnfo Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 8 and bi.ref ='324.4990.00.1' and bi.lordem =5
20230421@174456.8781 vrp9ro1r47h8p6kv8qegftnnfo Query : use flama_phc
20230421@174456.8786 vrp9ro1r47h8p6kv8qegftnnfo Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230421@174456.8799 vrp9ro1r47h8p6kv8qegftnnfo Query : use flama_phc
20230421@174456.8802 vrp9ro1r47h8p6kv8qegftnnfo Query : select top 1 1 valor from td where td.ndoc = 39
20230421@174456.8812 vrp9ro1r47h8p6kv8qegftnnfo Query : use flama_phc
20230421@174456.8815 vrp9ro1r47h8p6kv8qegftnnfo Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230421@174456.8826 vrp9ro1r47h8p6kv8qegftnnfo 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
20230421@174456.8840 vrp9ro1r47h8p6kv8qegftnnfo Query : use flama_phc
20230421@174456.8843 vrp9ro1r47h8p6kv8qegftnnfo Query : select top 1 ~inactivo valor from cl where no = '102145' and estab = 0 order by inactivo desc
20230421@174456.8937 vrp9ro1r47h8p6kv8qegftnnfo Query : use flama_phc
20230421@174456.8941 vrp9ro1r47h8p6kv8qegftnnfo Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230421@174456.8952 vrp9ro1r47h8p6kv8qegftnnfo Query : use flama_phc
20230421@174456.8954 vrp9ro1r47h8p6kv8qegftnnfo Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230421@174456.8965 vrp9ro1r47h8p6kv8qegftnnfo Query : use flama_phc
20230421@174456.8968 vrp9ro1r47h8p6kv8qegftnnfo Query : select szadrsstamp valor from szadrs where szadrsdesc='paulo jorge almeida gomes unip.,lda.-entrega'
20230421@174456.8980 vrp9ro1r47h8p6kv8qegftnnfo Query : use flama_phc
20230421@174456.8983 vrp9ro1r47h8p6kv8qegftnnfo Query : select 1 valor from td where ndoc = 39
20230421@174456.8992 vrp9ro1r47h8p6kv8qegftnnfo Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230421@174456.9003 vrp9ro1r47h8p6kv8qegftnnfo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230421@174456.9016 vrp9ro1r47h8p6kv8qegftnnfo Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230421@174456.9025 vrp9ro1r47h8p6kv8qegftnnfo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230421@174456.9037 vrp9ro1r47h8p6kv8qegftnnfo Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230421@174456.9041 vrp9ro1r47h8p6kv8qegftnnfo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230421@174456.9047 vrp9ro1r47h8p6kv8qegftnnfo Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230421@174456.9089 vrp9ro1r47h8p6kv8qegftnnfo Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230421@174456.9098 vrp9ro1r47h8p6kv8qegftnnfo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230421@174456.9104 vrp9ro1r47h8p6kv8qegftnnfo Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b784786442bd88dc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174456.9108 vrp9ro1r47h8p6kv8qegftnnfo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230421@174456.9121 vrp9ro1r47h8p6kv8qegftnnfo Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230421@174456.9125 vrp9ro1r47h8p6kv8qegftnnfo Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b784786442bd88dc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174456.9129 vrp9ro1r47h8p6kv8qegftnnfo Query : select top 1 fno valor from wsft039data order by fno desc
20230421@174456.9142 vrp9ro1r47h8p6kv8qegftnnfo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230421@174456.9155 vrp9ro1r47h8p6kv8qegftnnfo Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230421@174456.9165 vrp9ro1r47h8p6kv8qegftnnfo 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 ('aut6442b784786442bd88dc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12,102145,0,'2023-04-21',39,'euro',0,0,2023 ,'20230421','1814',?,?,?)
20230421@174456.9404 vrp9ro1r47h8p6kv8qegftnnfo Query : use flama_phc
20230421@174456.9408 vrp9ro1r47h8p6kv8qegftnnfo Query : select st.usalote valor from st where st.ref = '324.1716.00.1'
20230421@174456.9419 vrp9ro1r47h8p6kv8qegftnnfo Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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.1716.00.1'
20230421@174456.9430 vrp9ro1r47h8p6kv8qegftnnfo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174456.9442 vrp9ro1r47h8p6kv8qegftnnfo Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174456.9452 vrp9ro1r47h8p6kv8qegftnnfo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174456.9464 vrp9ro1r47h8p6kv8qegftnnfo Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174456.9468 vrp9ro1r47h8p6kv8qegftnnfo Query : select sestamp valor from se where ref ='324.1716.00.1' and lote = 'r2100893150a'
20230421@174456.9477 vrp9ro1r47h8p6kv8qegftnnfo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174456.9487 vrp9ro1r47h8p6kv8qegftnnfo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174456.9499 vrp9ro1r47h8p6kv8qegftnnfo Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174456.9508 vrp9ro1r47h8p6kv8qegftnnfo Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6442b469276442bd88e7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4 ,'aut6442b784786442bd88dc' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230421@174456.9721 vrp9ro1r47h8p6kv8qegftnnfo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174456.9735 vrp9ro1r47h8p6kv8qegftnnfo Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@174456.9740 vrp9ro1r47h8p6kv8qegftnnfo Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b469276442bd88e7','aut6442b784786442bd88dc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174456.9744 vrp9ro1r47h8p6kv8qegftnnfo Query : use flama_phc
20230421@174456.9747 vrp9ro1r47h8p6kv8qegftnnfo Query : select st.usalote valor from st where st.ref = '323.367.09.00'
20230421@174456.9762 vrp9ro1r47h8p6kv8qegftnnfo Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '323.367.09.00'
20230421@174456.9898 vrp9ro1r47h8p6kv8qegftnnfo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174456.9913 vrp9ro1r47h8p6kv8qegftnnfo Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174456.9923 vrp9ro1r47h8p6kv8qegftnnfo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174456.9936 vrp9ro1r47h8p6kv8qegftnnfo Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174456.9941 vrp9ro1r47h8p6kv8qegftnnfo Query : select sestamp valor from se where ref ='323.367.09.00' and lote = 'r2100870100a'
20230421@174456.9952 vrp9ro1r47h8p6kv8qegftnnfo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174456.9963 vrp9ro1r47h8p6kv8qegftnnfo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174456.9975 vrp9ro1r47h8p6kv8qegftnnfo Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174456.9986 vrp9ro1r47h8p6kv8qegftnnfo Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6442b854946442bd88f3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2 ,'aut6442b784786442bd88dc' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20230421@174457.2000 vrp9ro1r47h8p6kv8qegftnnfo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174457.2140 vrp9ro1r47h8p6kv8qegftnnfo Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@174457.2180 vrp9ro1r47h8p6kv8qegftnnfo Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b854946442bd88f3','aut6442b784786442bd88dc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174457.2230 vrp9ro1r47h8p6kv8qegftnnfo Query : use flama_phc
20230421@174457.2260 vrp9ro1r47h8p6kv8qegftnnfo Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20230421@174457.2370 vrp9ro1r47h8p6kv8qegftnnfo Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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.4980.00.1'
20230421@174457.3720 vrp9ro1r47h8p6kv8qegftnnfo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174457.3840 vrp9ro1r47h8p6kv8qegftnnfo Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174457.3980 vrp9ro1r47h8p6kv8qegftnnfo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174457.4110 vrp9ro1r47h8p6kv8qegftnnfo Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174457.4150 vrp9ro1r47h8p6kv8qegftnnfo Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2100553200a'
20230421@174457.4310 vrp9ro1r47h8p6kv8qegftnnfo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174457.4400 vrp9ro1r47h8p6kv8qegftnnfo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174457.4530 vrp9ro1r47h8p6kv8qegftnnfo Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174457.4620 vrp9ro1r47h8p6kv8qegftnnfo Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6442b934556442bd890a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8 ,'aut6442b784786442bd88dc' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20230421@174457.6730 vrp9ro1r47h8p6kv8qegftnnfo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174457.6880 vrp9ro1r47h8p6kv8qegftnnfo Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@174457.6920 vrp9ro1r47h8p6kv8qegftnnfo Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b934556442bd890a','aut6442b784786442bd88dc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174457.6960 vrp9ro1r47h8p6kv8qegftnnfo Query : use flama_phc
20230421@174457.6990 vrp9ro1r47h8p6kv8qegftnnfo Query : select st.usalote valor from st where st.ref = '324.4990.00.1'
20230421@174457.7110 vrp9ro1r47h8p6kv8qegftnnfo Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4990.00.1'
20230421@174457.8480 vrp9ro1r47h8p6kv8qegftnnfo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174457.8620 vrp9ro1r47h8p6kv8qegftnnfo Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174457.8710 vrp9ro1r47h8p6kv8qegftnnfo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174457.8830 vrp9ro1r47h8p6kv8qegftnnfo Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174457.8880 vrp9ro1r47h8p6kv8qegftnnfo Query : select sestamp valor from se where ref ='324.4990.00.1' and lote = 'r2100189200a'
20230421@174457.8990 vrp9ro1r47h8p6kv8qegftnnfo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174457.9080 vrp9ro1r47h8p6kv8qegftnnfo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174457.9220 vrp9ro1r47h8p6kv8qegftnnfo Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174457.9310 vrp9ro1r47h8p6kv8qegftnnfo Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6442b952726442bd8916',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4 ,'aut6442b784786442bd88dc' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230421@174457.1157 vrp9ro1r47h8p6kv8qegftnnfo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174457.1170 vrp9ro1r47h8p6kv8qegftnnfo Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@174457.1175 vrp9ro1r47h8p6kv8qegftnnfo Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b952726442bd8916','aut6442b784786442bd88dc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174457.1179 vrp9ro1r47h8p6kv8qegftnnfo Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6442b784786442bd88dc','','wait',39,'ari17112337378,753000005')
20230421@174457.1195 vrp9ro1r47h8p6kv8qegftnnfo Query : use flama_phc
20230421@174457.1198 vrp9ro1r47h8p6kv8qegftnnfo Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230421@174457.1209 vrp9ro1r47h8p6kv8qegftnnfo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='27';
20230421@174457.1219 vrp9ro1r47h8p6kv8qegftnnfo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='27';
20230421@174457.1228 vrp9ro1r47h8p6kv8qegftnnfo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='27';
20230421@174457.1239 vrp9ro1r47h8p6kv8qegftnnfo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='27';
20230421@174457.1599 laff2pjvn4h6nll2t80e2nv2kj Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230421@174457.1611 laff2pjvn4h6nll2t80e2nv2kj Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230421@174457.1623 laff2pjvn4h6nll2t80e2nv2kj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='28';
20230421@174457.1660 laff2pjvn4h6nll2t80e2nv2kj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='28';
20230421@174457.1671 laff2pjvn4h6nll2t80e2nv2kj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='28';
20230421@174457.1681 laff2pjvn4h6nll2t80e2nv2kj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='28';
20230421@174457.1692 laff2pjvn4h6nll2t80e2nv2kj Query : use flama_phc
20230421@174457.1695 laff2pjvn4h6nll2t80e2nv2kj Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230421@174457.1707 laff2pjvn4h6nll2t80e2nv2kj Query : use flama_phc
20230421@174457.1710 laff2pjvn4h6nll2t80e2nv2kj Query : select no, estab,szadrsdesc from szadrs where u_coddest=3457
20230421@174457.1779 laff2pjvn4h6nll2t80e2nv2kj 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'
20230421@174457.1789 laff2pjvn4h6nll2t80e2nv2kj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 9 and bi.ref ='324.1816.00.1' and bi.lordem =1
20230421@174457.2901 laff2pjvn4h6nll2t80e2nv2kj 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'
20230421@174457.3048 laff2pjvn4h6nll2t80e2nv2kj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 9 and bi.ref ='324.2222.00.1' and bi.lordem =2
20230421@174457.3326 laff2pjvn4h6nll2t80e2nv2kj 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'
20230421@174457.3456 laff2pjvn4h6nll2t80e2nv2kj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 9 and bi.ref ='324.4960.00.1' and bi.lordem =3
20230421@174457.3730 laff2pjvn4h6nll2t80e2nv2kj 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'
20230421@174457.3858 laff2pjvn4h6nll2t80e2nv2kj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 9 and bi.ref ='324.4961.00.1' and bi.lordem =4
20230421@174457.4132 laff2pjvn4h6nll2t80e2nv2kj 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'
20230421@174457.4269 laff2pjvn4h6nll2t80e2nv2kj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 9 and bi.ref ='324.4963.00.1' and bi.lordem =5
20230421@174457.4547 laff2pjvn4h6nll2t80e2nv2kj 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'
20230421@174457.4676 laff2pjvn4h6nll2t80e2nv2kj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =231 and bo.boano =2010 and bo.obrano = 9 and bi.ref ='324.4964.00.1' and bi.lordem =6
20230421@174457.4952 laff2pjvn4h6nll2t80e2nv2kj Query : use flama_phc
20230421@174457.4956 laff2pjvn4h6nll2t80e2nv2kj Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230421@174457.4968 laff2pjvn4h6nll2t80e2nv2kj Query : use flama_phc
20230421@174457.4972 laff2pjvn4h6nll2t80e2nv2kj Query : select top 1 1 valor from td where td.ndoc = 39
20230421@174457.4982 laff2pjvn4h6nll2t80e2nv2kj Query : use flama_phc
20230421@174457.4985 laff2pjvn4h6nll2t80e2nv2kj Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230421@174457.4996 laff2pjvn4h6nll2t80e2nv2kj 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
20230421@174457.5010 laff2pjvn4h6nll2t80e2nv2kj Query : use flama_phc
20230421@174457.5013 laff2pjvn4h6nll2t80e2nv2kj Query : select top 1 ~inactivo valor from cl where no = '200500' and estab = 0 order by inactivo desc
20230421@174457.5105 laff2pjvn4h6nll2t80e2nv2kj Query : use flama_phc
20230421@174457.5108 laff2pjvn4h6nll2t80e2nv2kj Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230421@174457.5118 laff2pjvn4h6nll2t80e2nv2kj Query : use flama_phc
20230421@174457.5121 laff2pjvn4h6nll2t80e2nv2kj Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230421@174457.5131 laff2pjvn4h6nll2t80e2nv2kj Query : use flama_phc
20230421@174457.5134 laff2pjvn4h6nll2t80e2nv2kj Query : select szadrsstamp valor from szadrs where szadrsdesc='representaciones sanjurjo, s.l.u.'
20230421@174457.5146 laff2pjvn4h6nll2t80e2nv2kj Query : use flama_phc
20230421@174457.5148 laff2pjvn4h6nll2t80e2nv2kj Query : select 1 valor from td where ndoc = 39
20230421@174457.5157 laff2pjvn4h6nll2t80e2nv2kj Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230421@174457.5167 laff2pjvn4h6nll2t80e2nv2kj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230421@174457.5181 laff2pjvn4h6nll2t80e2nv2kj Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230421@174457.5190 laff2pjvn4h6nll2t80e2nv2kj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230421@174457.5204 laff2pjvn4h6nll2t80e2nv2kj Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230421@174457.5208 laff2pjvn4h6nll2t80e2nv2kj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230421@174457.5214 laff2pjvn4h6nll2t80e2nv2kj Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230421@174457.5254 laff2pjvn4h6nll2t80e2nv2kj Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230421@174457.5263 laff2pjvn4h6nll2t80e2nv2kj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230421@174457.5268 laff2pjvn4h6nll2t80e2nv2kj Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b735596442bd897f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174457.5273 laff2pjvn4h6nll2t80e2nv2kj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230421@174457.5285 laff2pjvn4h6nll2t80e2nv2kj Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230421@174457.5289 laff2pjvn4h6nll2t80e2nv2kj Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b735596442bd897f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174457.5299 laff2pjvn4h6nll2t80e2nv2kj Query : select top 1 fno valor from wsft039data order by fno desc
20230421@174457.5309 laff2pjvn4h6nll2t80e2nv2kj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230421@174457.5320 laff2pjvn4h6nll2t80e2nv2kj Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230421@174457.5329 laff2pjvn4h6nll2t80e2nv2kj 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 ('aut6442b735596442bd897f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',13,200500,0,'2023-04-21',39,'euro',0,0,2023 ,'20230421','1814',?,?,?)
20230421@174457.5563 laff2pjvn4h6nll2t80e2nv2kj Query : use flama_phc
20230421@174457.5566 laff2pjvn4h6nll2t80e2nv2kj Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20230421@174457.5577 laff2pjvn4h6nll2t80e2nv2kj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230421@174457.5599 laff2pjvn4h6nll2t80e2nv2kj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174457.5613 laff2pjvn4h6nll2t80e2nv2kj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174457.5623 laff2pjvn4h6nll2t80e2nv2kj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174457.5635 laff2pjvn4h6nll2t80e2nv2kj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174457.5640 laff2pjvn4h6nll2t80e2nv2kj Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2200645200a'
20230421@174457.5650 laff2pjvn4h6nll2t80e2nv2kj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174457.5659 laff2pjvn4h6nll2t80e2nv2kj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174457.5670 laff2pjvn4h6nll2t80e2nv2kj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174457.5679 laff2pjvn4h6nll2t80e2nv2kj Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6442b626746442bd898a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48 ,'aut6442b735596442bd897f' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230421@174457.5890 laff2pjvn4h6nll2t80e2nv2kj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174457.5903 laff2pjvn4h6nll2t80e2nv2kj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@174457.5907 laff2pjvn4h6nll2t80e2nv2kj Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b626746442bd898a','aut6442b735596442bd897f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174457.5912 laff2pjvn4h6nll2t80e2nv2kj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174457.5924 laff2pjvn4h6nll2t80e2nv2kj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174457.5933 laff2pjvn4h6nll2t80e2nv2kj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174457.5945 laff2pjvn4h6nll2t80e2nv2kj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174457.5950 laff2pjvn4h6nll2t80e2nv2kj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174457.5959 laff2pjvn4h6nll2t80e2nv2kj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174457.5971 laff2pjvn4h6nll2t80e2nv2kj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174457.5980 laff2pjvn4h6nll2t80e2nv2kj Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6442b070926442bd8991',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6442b735596442bd897f' ,0,0 ,2,23.00,20000,?,?,?)
20230421@174457.6192 laff2pjvn4h6nll2t80e2nv2kj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174457.6207 laff2pjvn4h6nll2t80e2nv2kj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@174457.6211 laff2pjvn4h6nll2t80e2nv2kj Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b070926442bd8991','aut6442b735596442bd897f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174457.6216 laff2pjvn4h6nll2t80e2nv2kj Query : use flama_phc
20230421@174457.6219 laff2pjvn4h6nll2t80e2nv2kj Query : select st.usalote valor from st where st.ref = '324.2222.00.1'
20230421@174457.6231 laff2pjvn4h6nll2t80e2nv2kj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230421@174457.6369 laff2pjvn4h6nll2t80e2nv2kj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174457.6382 laff2pjvn4h6nll2t80e2nv2kj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174457.6393 laff2pjvn4h6nll2t80e2nv2kj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174457.6405 laff2pjvn4h6nll2t80e2nv2kj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174457.6409 laff2pjvn4h6nll2t80e2nv2kj Query : select sestamp valor from se where ref ='324.2222.00.1' and lote = 'r2101297100a'
20230421@174457.6420 laff2pjvn4h6nll2t80e2nv2kj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174457.6430 laff2pjvn4h6nll2t80e2nv2kj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174457.6442 laff2pjvn4h6nll2t80e2nv2kj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174457.6452 laff2pjvn4h6nll2t80e2nv2kj Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6442b899496442bd899c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8 ,'aut6442b735596442bd897f' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230421@174457.6663 laff2pjvn4h6nll2t80e2nv2kj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174457.6676 laff2pjvn4h6nll2t80e2nv2kj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@174457.6680 laff2pjvn4h6nll2t80e2nv2kj Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b899496442bd899c','aut6442b735596442bd897f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174457.6685 laff2pjvn4h6nll2t80e2nv2kj Query : use flama_phc
20230421@174457.6688 laff2pjvn4h6nll2t80e2nv2kj Query : select st.usalote valor from st where st.ref = '324.4960.00.1'
20230421@174457.6700 laff2pjvn4h6nll2t80e2nv2kj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230421@174457.6834 laff2pjvn4h6nll2t80e2nv2kj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174457.6847 laff2pjvn4h6nll2t80e2nv2kj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174457.6858 laff2pjvn4h6nll2t80e2nv2kj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174457.6872 laff2pjvn4h6nll2t80e2nv2kj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174457.6877 laff2pjvn4h6nll2t80e2nv2kj Query : select sestamp valor from se where ref ='324.4960.00.1' and lote = 'r2100754100a'
20230421@174457.6889 laff2pjvn4h6nll2t80e2nv2kj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174457.6899 laff2pjvn4h6nll2t80e2nv2kj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174457.6911 laff2pjvn4h6nll2t80e2nv2kj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174457.6921 laff2pjvn4h6nll2t80e2nv2kj Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6442b169296442bd89a8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6 ,'aut6442b735596442bd897f' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20230421@174457.7133 laff2pjvn4h6nll2t80e2nv2kj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174457.7147 laff2pjvn4h6nll2t80e2nv2kj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@174457.7152 laff2pjvn4h6nll2t80e2nv2kj Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b169296442bd89a8','aut6442b735596442bd897f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174457.7156 laff2pjvn4h6nll2t80e2nv2kj Query : use flama_phc
20230421@174457.7159 laff2pjvn4h6nll2t80e2nv2kj Query : select st.usalote valor from st where st.ref = '324.4961.00.1'
20230421@174457.7170 laff2pjvn4h6nll2t80e2nv2kj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230421@174457.7310 laff2pjvn4h6nll2t80e2nv2kj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174457.7323 laff2pjvn4h6nll2t80e2nv2kj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174457.7334 laff2pjvn4h6nll2t80e2nv2kj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174457.7349 laff2pjvn4h6nll2t80e2nv2kj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174457.7353 laff2pjvn4h6nll2t80e2nv2kj Query : select sestamp valor from se where ref ='324.4961.00.1' and lote = 'r2101091200a'
20230421@174457.7364 laff2pjvn4h6nll2t80e2nv2kj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174457.7374 laff2pjvn4h6nll2t80e2nv2kj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174457.7387 laff2pjvn4h6nll2t80e2nv2kj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174457.7397 laff2pjvn4h6nll2t80e2nv2kj Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6442b866726442bd89b4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8 ,'aut6442b735596442bd897f' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20230421@174457.7608 laff2pjvn4h6nll2t80e2nv2kj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174457.7623 laff2pjvn4h6nll2t80e2nv2kj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@174457.7627 laff2pjvn4h6nll2t80e2nv2kj Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b866726442bd89b4','aut6442b735596442bd897f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174457.7632 laff2pjvn4h6nll2t80e2nv2kj Query : use flama_phc
20230421@174457.7635 laff2pjvn4h6nll2t80e2nv2kj Query : select st.usalote valor from st where st.ref = '324.4963.00.1'
20230421@174457.7648 laff2pjvn4h6nll2t80e2nv2kj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230421@174457.7782 laff2pjvn4h6nll2t80e2nv2kj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174457.7795 laff2pjvn4h6nll2t80e2nv2kj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174457.7805 laff2pjvn4h6nll2t80e2nv2kj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174457.7818 laff2pjvn4h6nll2t80e2nv2kj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174457.7822 laff2pjvn4h6nll2t80e2nv2kj Query : select sestamp valor from se where ref ='324.4963.00.1' and lote = 'r2101091100a'
20230421@174457.7834 laff2pjvn4h6nll2t80e2nv2kj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174457.7844 laff2pjvn4h6nll2t80e2nv2kj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174457.7857 laff2pjvn4h6nll2t80e2nv2kj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174457.7867 laff2pjvn4h6nll2t80e2nv2kj Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6442b383636442bd89bf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8 ,'aut6442b735596442bd897f' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20230421@174457.8082 laff2pjvn4h6nll2t80e2nv2kj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174457.8097 laff2pjvn4h6nll2t80e2nv2kj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@174457.8102 laff2pjvn4h6nll2t80e2nv2kj Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b383636442bd89bf','aut6442b735596442bd897f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174457.8106 laff2pjvn4h6nll2t80e2nv2kj Query : use flama_phc
20230421@174457.8109 laff2pjvn4h6nll2t80e2nv2kj Query : select st.usalote valor from st where st.ref = '324.4964.00.1'
20230421@174457.8121 laff2pjvn4h6nll2t80e2nv2kj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230421@174457.8257 laff2pjvn4h6nll2t80e2nv2kj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174457.8271 laff2pjvn4h6nll2t80e2nv2kj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174457.8281 laff2pjvn4h6nll2t80e2nv2kj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174457.8293 laff2pjvn4h6nll2t80e2nv2kj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174457.8298 laff2pjvn4h6nll2t80e2nv2kj Query : select sestamp valor from se where ref ='324.4964.00.1' and lote = 'r2101092100a'
20230421@174457.8303 laff2pjvn4h6nll2t80e2nv2kj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174457.8312 laff2pjvn4h6nll2t80e2nv2kj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174457.8324 laff2pjvn4h6nll2t80e2nv2kj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174457.8334 laff2pjvn4h6nll2t80e2nv2kj Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6442b264076442bd89ca',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8 ,'aut6442b735596442bd897f' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20230421@174457.8563 laff2pjvn4h6nll2t80e2nv2kj Query : use flama_phc
20230421@174457.8567 laff2pjvn4h6nll2t80e2nv2kj Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20230421@174457.8578 laff2pjvn4h6nll2t80e2nv2kj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='28';
20230421@174457.8589 laff2pjvn4h6nll2t80e2nv2kj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='28';
20230421@174457.8871 ovrpq4b9k35qqte4nq0mem79df Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230421@174457.8883 ovrpq4b9k35qqte4nq0mem79df Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230421@174457.8895 ovrpq4b9k35qqte4nq0mem79df Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='29';
20230421@174457.8937 ovrpq4b9k35qqte4nq0mem79df Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='29';
20230421@174457.8948 ovrpq4b9k35qqte4nq0mem79df Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='29';
20230421@174457.8959 ovrpq4b9k35qqte4nq0mem79df Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='29';
20230421@174457.8968 ovrpq4b9k35qqte4nq0mem79df Query : use flama_phc
20230421@174457.8971 ovrpq4b9k35qqte4nq0mem79df Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230421@174457.8985 ovrpq4b9k35qqte4nq0mem79df Query : use flama_phc
20230421@174457.8988 ovrpq4b9k35qqte4nq0mem79df Query : select no, estab,szadrsdesc from szadrs where u_coddest=2120
20230421@174457.9061 ovrpq4b9k35qqte4nq0mem79df Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5501.00.1'
20230421@174457.9206 ovrpq4b9k35qqte4nq0mem79df 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.5501.00.1' and bi.lordem =1
20230421@174457.9795 ovrpq4b9k35qqte4nq0mem79df 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'
20230421@174458.3750 ovrpq4b9k35qqte4nq0mem79df 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 ='323.367.09.00' and bi.lordem =3
20230421@174458.6830 ovrpq4b9k35qqte4nq0mem79df 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'
20230421@174458.8200 ovrpq4b9k35qqte4nq0mem79df 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 ='304.421.00.04' and bi.lordem =4
20230421@174458.1124 ovrpq4b9k35qqte4nq0mem79df Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4860.00.1'
20230421@174458.1137 ovrpq4b9k35qqte4nq0mem79df 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 ='304.4860.00.1' and bi.lordem =6
20230421@174458.1441 ovrpq4b9k35qqte4nq0mem79df 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'
20230421@174458.1578 ovrpq4b9k35qqte4nq0mem79df 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 ='304.4211.00.1' and bi.lordem =7
20230421@174458.1877 ovrpq4b9k35qqte4nq0mem79df Query : use flama_phc
20230421@174458.1881 ovrpq4b9k35qqte4nq0mem79df Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230421@174458.1895 ovrpq4b9k35qqte4nq0mem79df Query : use flama_phc
20230421@174458.1898 ovrpq4b9k35qqte4nq0mem79df Query : select top 1 1 valor from td where td.ndoc = 39
20230421@174458.1909 ovrpq4b9k35qqte4nq0mem79df Query : use flama_phc
20230421@174458.1912 ovrpq4b9k35qqte4nq0mem79df Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230421@174458.1923 ovrpq4b9k35qqte4nq0mem79df 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
20230421@174458.1938 ovrpq4b9k35qqte4nq0mem79df Query : use flama_phc
20230421@174458.1941 ovrpq4b9k35qqte4nq0mem79df Query : select top 1 ~inactivo valor from cl where no = '101489' and estab = 0 order by inactivo desc
20230421@174458.2035 ovrpq4b9k35qqte4nq0mem79df Query : use flama_phc
20230421@174458.2038 ovrpq4b9k35qqte4nq0mem79df Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230421@174458.2050 ovrpq4b9k35qqte4nq0mem79df Query : use flama_phc
20230421@174458.2052 ovrpq4b9k35qqte4nq0mem79df Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230421@174458.2064 ovrpq4b9k35qqte4nq0mem79df Query : use flama_phc
20230421@174458.2068 ovrpq4b9k35qqte4nq0mem79df Query : select szadrsstamp valor from szadrs where szadrsdesc='m.castro & cª.,lda'
20230421@174458.2081 ovrpq4b9k35qqte4nq0mem79df Query : use flama_phc
20230421@174458.2084 ovrpq4b9k35qqte4nq0mem79df Query : select 1 valor from td where ndoc = 39
20230421@174458.2094 ovrpq4b9k35qqte4nq0mem79df Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230421@174458.2105 ovrpq4b9k35qqte4nq0mem79df Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230421@174458.2118 ovrpq4b9k35qqte4nq0mem79df Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230421@174458.2128 ovrpq4b9k35qqte4nq0mem79df Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230421@174458.2141 ovrpq4b9k35qqte4nq0mem79df Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230421@174458.2146 ovrpq4b9k35qqte4nq0mem79df Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230421@174458.2153 ovrpq4b9k35qqte4nq0mem79df Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230421@174458.2195 ovrpq4b9k35qqte4nq0mem79df Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230421@174458.2205 ovrpq4b9k35qqte4nq0mem79df Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230421@174458.2212 ovrpq4b9k35qqte4nq0mem79df Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b354666442bd8a34' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174458.2218 ovrpq4b9k35qqte4nq0mem79df Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230421@174458.2230 ovrpq4b9k35qqte4nq0mem79df Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230421@174458.2235 ovrpq4b9k35qqte4nq0mem79df Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b354666442bd8a34',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174458.2240 ovrpq4b9k35qqte4nq0mem79df Query : select top 1 fno valor from wsft039data order by fno desc
20230421@174458.2250 ovrpq4b9k35qqte4nq0mem79df Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230421@174458.2267 ovrpq4b9k35qqte4nq0mem79df Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230421@174458.2277 ovrpq4b9k35qqte4nq0mem79df 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 ('aut6442b354666442bd8a34',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',13,101489,0,'2023-04-21',39,'euro',0,0,2023 ,'20230421','1814',?,?,?)
20230421@174458.2526 ovrpq4b9k35qqte4nq0mem79df Query : use flama_phc
20230421@174458.2529 ovrpq4b9k35qqte4nq0mem79df Query : select st.usalote valor from st where st.ref = '324.5501.00.1'
20230421@174458.2543 ovrpq4b9k35qqte4nq0mem79df Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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.5501.00.1'
20230421@174458.2683 ovrpq4b9k35qqte4nq0mem79df Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174458.2697 ovrpq4b9k35qqte4nq0mem79df Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174458.2708 ovrpq4b9k35qqte4nq0mem79df Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174458.2720 ovrpq4b9k35qqte4nq0mem79df Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174458.2725 ovrpq4b9k35qqte4nq0mem79df Query : select sestamp valor from se where ref ='324.5501.00.1' and lote = 'r2200800200a'
20230421@174458.2737 ovrpq4b9k35qqte4nq0mem79df Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174458.2748 ovrpq4b9k35qqte4nq0mem79df Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174458.2760 ovrpq4b9k35qqte4nq0mem79df Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174458.2770 ovrpq4b9k35qqte4nq0mem79df Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6442b981146442bd8a43',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4 ,'aut6442b354666442bd8a34' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230421@174458.3004 ovrpq4b9k35qqte4nq0mem79df Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174458.3018 ovrpq4b9k35qqte4nq0mem79df Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@174458.3023 ovrpq4b9k35qqte4nq0mem79df Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b981146442bd8a43','aut6442b354666442bd8a34' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174458.3028 ovrpq4b9k35qqte4nq0mem79df Query : use flama_phc
20230421@174458.3031 ovrpq4b9k35qqte4nq0mem79df Query : select st.usalote valor from st where st.ref = '323.367.09.00'
20230421@174458.3042 ovrpq4b9k35qqte4nq0mem79df Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '323.367.09.00'
20230421@174458.3053 ovrpq4b9k35qqte4nq0mem79df Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174458.3067 ovrpq4b9k35qqte4nq0mem79df Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174458.3077 ovrpq4b9k35qqte4nq0mem79df Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174458.3089 ovrpq4b9k35qqte4nq0mem79df Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174458.3093 ovrpq4b9k35qqte4nq0mem79df Query : select sestamp valor from se where ref ='323.367.09.00' and lote = 'r2100870100a'
20230421@174458.3104 ovrpq4b9k35qqte4nq0mem79df Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174458.3114 ovrpq4b9k35qqte4nq0mem79df Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174458.3126 ovrpq4b9k35qqte4nq0mem79df Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174458.3137 ovrpq4b9k35qqte4nq0mem79df Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6442b223786442bd8a4c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1 ,'aut6442b354666442bd8a34' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20230421@174458.3354 ovrpq4b9k35qqte4nq0mem79df Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174458.3368 ovrpq4b9k35qqte4nq0mem79df Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@174458.3373 ovrpq4b9k35qqte4nq0mem79df Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b223786442bd8a4c','aut6442b354666442bd8a34' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174458.3377 ovrpq4b9k35qqte4nq0mem79df Query : use flama_phc
20230421@174458.3381 ovrpq4b9k35qqte4nq0mem79df Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20230421@174458.3394 ovrpq4b9k35qqte4nq0mem79df Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230421@174458.3534 ovrpq4b9k35qqte4nq0mem79df Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174458.3547 ovrpq4b9k35qqte4nq0mem79df Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174458.3558 ovrpq4b9k35qqte4nq0mem79df Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174458.3571 ovrpq4b9k35qqte4nq0mem79df Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174458.3575 ovrpq4b9k35qqte4nq0mem79df Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '230223'
20230421@174458.3591 ovrpq4b9k35qqte4nq0mem79df Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174458.3601 ovrpq4b9k35qqte4nq0mem79df Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174458.3614 ovrpq4b9k35qqte4nq0mem79df Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174458.3624 ovrpq4b9k35qqte4nq0mem79df Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6442b897616442bd8a57',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8 ,'aut6442b354666442bd8a34' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20230421@174458.3843 ovrpq4b9k35qqte4nq0mem79df Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174458.3858 ovrpq4b9k35qqte4nq0mem79df Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@174458.3862 ovrpq4b9k35qqte4nq0mem79df Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b897616442bd8a57','aut6442b354666442bd8a34' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174458.3867 ovrpq4b9k35qqte4nq0mem79df Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174458.3882 ovrpq4b9k35qqte4nq0mem79df Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174458.3892 ovrpq4b9k35qqte4nq0mem79df Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174458.3904 ovrpq4b9k35qqte4nq0mem79df Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174458.3909 ovrpq4b9k35qqte4nq0mem79df Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174458.3918 ovrpq4b9k35qqte4nq0mem79df Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174458.3930 ovrpq4b9k35qqte4nq0mem79df Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174458.3940 ovrpq4b9k35qqte4nq0mem79df Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6442b530466442bd8a5f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6442b354666442bd8a34' ,0,0 ,2,23.00,40000,?,?,?)
20230421@174458.4163 ovrpq4b9k35qqte4nq0mem79df Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174458.4178 ovrpq4b9k35qqte4nq0mem79df Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@174458.4182 ovrpq4b9k35qqte4nq0mem79df Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b530466442bd8a5f','aut6442b354666442bd8a34' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174458.4187 ovrpq4b9k35qqte4nq0mem79df Query : use flama_phc
20230421@174458.4190 ovrpq4b9k35qqte4nq0mem79df Query : select st.usalote valor from st where st.ref = '304.4860.00.1'
20230421@174458.4201 ovrpq4b9k35qqte4nq0mem79df Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4860.00.1'
20230421@174458.4342 ovrpq4b9k35qqte4nq0mem79df Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174458.4355 ovrpq4b9k35qqte4nq0mem79df Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174458.4365 ovrpq4b9k35qqte4nq0mem79df Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174458.4378 ovrpq4b9k35qqte4nq0mem79df Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174458.4383 ovrpq4b9k35qqte4nq0mem79df Query : select sestamp valor from se where ref ='304.4860.00.1' and lote = '20210723'
20230421@174458.4389 ovrpq4b9k35qqte4nq0mem79df Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174458.4399 ovrpq4b9k35qqte4nq0mem79df Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174458.4412 ovrpq4b9k35qqte4nq0mem79df Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174458.4422 ovrpq4b9k35qqte4nq0mem79df Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6442b505906442bd8a6b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2 ,'aut6442b354666442bd8a34' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20230421@174458.4652 ovrpq4b9k35qqte4nq0mem79df Query : use flama_phc
20230421@174458.4656 ovrpq4b9k35qqte4nq0mem79df Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20230421@174458.4667 ovrpq4b9k35qqte4nq0mem79df Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='29';
20230421@174458.4678 ovrpq4b9k35qqte4nq0mem79df Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='29';
20230421@174458.5040 so4393kqef3f5moqa35igma8lt Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230421@174458.5052 so4393kqef3f5moqa35igma8lt Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230421@174458.5064 so4393kqef3f5moqa35igma8lt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='30';
20230421@174458.5102 so4393kqef3f5moqa35igma8lt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='30';
20230421@174458.5112 so4393kqef3f5moqa35igma8lt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='30';
20230421@174458.5123 so4393kqef3f5moqa35igma8lt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='30';
20230421@174458.5133 so4393kqef3f5moqa35igma8lt Query : use flama_phc
20230421@174458.5136 so4393kqef3f5moqa35igma8lt Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230421@174458.5148 so4393kqef3f5moqa35igma8lt Query : use flama_phc
20230421@174458.5152 so4393kqef3f5moqa35igma8lt Query : select no, estab,szadrsdesc from szadrs where u_coddest=227
20230421@174458.5222 so4393kqef3f5moqa35igma8lt 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'
20230421@174458.5363 so4393kqef3f5moqa35igma8lt 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.656.00.01' and bi.lordem =1
20230421@174458.5669 so4393kqef3f5moqa35igma8lt 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'
20230421@174458.5688 so4393kqef3f5moqa35igma8lt 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.656.00.01' and bi.lordem =2
20230421@174458.5979 so4393kqef3f5moqa35igma8lt 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'
20230421@174458.6111 so4393kqef3f5moqa35igma8lt 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.670.00.01' and bi.lordem =3
20230421@174458.6400 so4393kqef3f5moqa35igma8lt 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'
20230421@174458.6411 so4393kqef3f5moqa35igma8lt 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.670.00.01' and bi.lordem =4
20230421@174458.6696 so4393kqef3f5moqa35igma8lt Query : use flama_phc
20230421@174458.6700 so4393kqef3f5moqa35igma8lt Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230421@174458.6712 so4393kqef3f5moqa35igma8lt Query : use flama_phc
20230421@174458.6715 so4393kqef3f5moqa35igma8lt Query : select top 1 1 valor from td where td.ndoc = 39
20230421@174458.6724 so4393kqef3f5moqa35igma8lt Query : use flama_phc
20230421@174458.6727 so4393kqef3f5moqa35igma8lt Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230421@174458.6738 so4393kqef3f5moqa35igma8lt 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
20230421@174458.6751 so4393kqef3f5moqa35igma8lt Query : use flama_phc
20230421@174458.6754 so4393kqef3f5moqa35igma8lt Query : select top 1 ~inactivo valor from cl where no = '100041' and estab = 0 order by inactivo desc
20230421@174458.6844 so4393kqef3f5moqa35igma8lt Query : use flama_phc
20230421@174458.6847 so4393kqef3f5moqa35igma8lt Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230421@174458.6857 so4393kqef3f5moqa35igma8lt Query : use flama_phc
20230421@174458.6860 so4393kqef3f5moqa35igma8lt Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230421@174458.6870 so4393kqef3f5moqa35igma8lt Query : use flama_phc
20230421@174458.6873 so4393kqef3f5moqa35igma8lt Query : select szadrsstamp valor from szadrs where szadrsdesc='radiobela som, lda'
20230421@174458.6885 so4393kqef3f5moqa35igma8lt Query : use flama_phc
20230421@174458.6888 so4393kqef3f5moqa35igma8lt Query : select 1 valor from td where ndoc = 39
20230421@174458.6898 so4393kqef3f5moqa35igma8lt Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230421@174458.6909 so4393kqef3f5moqa35igma8lt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230421@174458.6922 so4393kqef3f5moqa35igma8lt Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230421@174458.6931 so4393kqef3f5moqa35igma8lt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230421@174458.6944 so4393kqef3f5moqa35igma8lt Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230421@174458.6948 so4393kqef3f5moqa35igma8lt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230421@174458.6954 so4393kqef3f5moqa35igma8lt Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230421@174458.6997 so4393kqef3f5moqa35igma8lt Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230421@174458.7007 so4393kqef3f5moqa35igma8lt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230421@174458.7013 so4393kqef3f5moqa35igma8lt Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b693956442bd8aa9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174458.7018 so4393kqef3f5moqa35igma8lt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230421@174458.7030 so4393kqef3f5moqa35igma8lt Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230421@174458.7034 so4393kqef3f5moqa35igma8lt Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b693956442bd8aa9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174458.7038 so4393kqef3f5moqa35igma8lt Query : select top 1 fno valor from wsft039data order by fno desc
20230421@174458.7049 so4393kqef3f5moqa35igma8lt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230421@174458.7062 so4393kqef3f5moqa35igma8lt Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230421@174458.7072 so4393kqef3f5moqa35igma8lt 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 ('aut6442b693956442bd8aa9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',13,100041,0,'2023-04-21',39,'euro',0,0,2023 ,'20230421','1814',?,?,?)
20230421@174458.7318 so4393kqef3f5moqa35igma8lt Query : use flama_phc
20230421@174458.7323 so4393kqef3f5moqa35igma8lt Query : select st.usalote valor from st where st.ref = '324.656.00.01'
20230421@174458.7335 so4393kqef3f5moqa35igma8lt Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.656.00.01'
20230421@174458.7472 so4393kqef3f5moqa35igma8lt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174458.7485 so4393kqef3f5moqa35igma8lt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174458.7499 so4393kqef3f5moqa35igma8lt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174458.7512 so4393kqef3f5moqa35igma8lt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174458.7516 so4393kqef3f5moqa35igma8lt Query : select sestamp valor from se where ref ='324.656.00.01' and lote = 'r2200819100a'
20230421@174458.7528 so4393kqef3f5moqa35igma8lt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174458.7538 so4393kqef3f5moqa35igma8lt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174458.7551 so4393kqef3f5moqa35igma8lt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174458.7561 so4393kqef3f5moqa35igma8lt Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6442b182696442bd8ab8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',22 ,'aut6442b693956442bd8aa9' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230421@174458.7773 so4393kqef3f5moqa35igma8lt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174458.7787 so4393kqef3f5moqa35igma8lt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@174458.7791 so4393kqef3f5moqa35igma8lt Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b182696442bd8ab8','aut6442b693956442bd8aa9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174458.7796 so4393kqef3f5moqa35igma8lt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174458.7808 so4393kqef3f5moqa35igma8lt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174458.7817 so4393kqef3f5moqa35igma8lt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174458.7828 so4393kqef3f5moqa35igma8lt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174458.7831 so4393kqef3f5moqa35igma8lt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174458.7840 so4393kqef3f5moqa35igma8lt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174458.7852 so4393kqef3f5moqa35igma8lt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174458.7862 so4393kqef3f5moqa35igma8lt Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6442b051856442bd8abf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6442b693956442bd8aa9' ,0,0 ,2,23.00,20000,?,?,?)
20230421@174458.8081 so4393kqef3f5moqa35igma8lt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174458.8097 so4393kqef3f5moqa35igma8lt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@174458.8101 so4393kqef3f5moqa35igma8lt Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b051856442bd8abf','aut6442b693956442bd8aa9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174458.8106 so4393kqef3f5moqa35igma8lt Query : use flama_phc
20230421@174458.8109 so4393kqef3f5moqa35igma8lt Query : select st.usalote valor from st where st.ref = '324.656.00.01'
20230421@174458.8119 so4393kqef3f5moqa35igma8lt Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.656.00.01'
20230421@174458.8129 so4393kqef3f5moqa35igma8lt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174458.8146 so4393kqef3f5moqa35igma8lt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174458.8155 so4393kqef3f5moqa35igma8lt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174458.8167 so4393kqef3f5moqa35igma8lt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174458.8172 so4393kqef3f5moqa35igma8lt Query : select sestamp valor from se where ref ='324.656.00.01' and lote = 'r2200819100a'
20230421@174458.8181 so4393kqef3f5moqa35igma8lt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174458.8190 so4393kqef3f5moqa35igma8lt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174458.8202 so4393kqef3f5moqa35igma8lt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174458.8215 so4393kqef3f5moqa35igma8lt Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6442b918426442bd8ac7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2 ,'aut6442b693956442bd8aa9' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230421@174458.8431 so4393kqef3f5moqa35igma8lt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174458.8446 so4393kqef3f5moqa35igma8lt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@174458.8452 so4393kqef3f5moqa35igma8lt Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b918426442bd8ac7','aut6442b693956442bd8aa9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174458.8457 so4393kqef3f5moqa35igma8lt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174458.8469 so4393kqef3f5moqa35igma8lt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174458.8478 so4393kqef3f5moqa35igma8lt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174458.8490 so4393kqef3f5moqa35igma8lt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174458.8494 so4393kqef3f5moqa35igma8lt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174458.8504 so4393kqef3f5moqa35igma8lt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174458.9531 so4393kqef3f5moqa35igma8lt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174458.9640 so4393kqef3f5moqa35igma8lt Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6442b325596442bd8acf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6442b693956442bd8aa9' ,0,0 ,2,23.00,50000,?,?,?)
20230421@174458.9858 so4393kqef3f5moqa35igma8lt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174458.9872 so4393kqef3f5moqa35igma8lt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@174458.9876 so4393kqef3f5moqa35igma8lt Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b325596442bd8acf','aut6442b693956442bd8aa9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174458.9881 so4393kqef3f5moqa35igma8lt Query : use flama_phc
20230421@174458.9884 so4393kqef3f5moqa35igma8lt Query : select st.usalote valor from st where st.ref = '324.670.00.01'
20230421@174458.9896 so4393kqef3f5moqa35igma8lt Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230421@174459.3300 so4393kqef3f5moqa35igma8lt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174459.4500 so4393kqef3f5moqa35igma8lt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174459.5400 so4393kqef3f5moqa35igma8lt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174459.6600 so4393kqef3f5moqa35igma8lt Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174459.7000 so4393kqef3f5moqa35igma8lt Query : select sestamp valor from se where ref ='324.670.00.01' and lote = 'r2200755200a'
20230421@174459.7500 so4393kqef3f5moqa35igma8lt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174459.8400 so4393kqef3f5moqa35igma8lt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174459.9600 so4393kqef3f5moqa35igma8lt Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174459.1060 so4393kqef3f5moqa35igma8lt Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6442b917756442bd8b02',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',22 ,'aut6442b693956442bd8aa9' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20230421@174459.3230 so4393kqef3f5moqa35igma8lt Query : use flama_phc
20230421@174459.3260 so4393kqef3f5moqa35igma8lt Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20230421@174459.3370 so4393kqef3f5moqa35igma8lt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='30';
20230421@174459.3460 so4393kqef3f5moqa35igma8lt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='30';
20230421@174459.6550 50r7due61qlodf0j7jd476l3ko Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230421@174459.6670 50r7due61qlodf0j7jd476l3ko Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230421@174459.6790 50r7due61qlodf0j7jd476l3ko Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='31';
20230421@174459.7150 50r7due61qlodf0j7jd476l3ko Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='31';
20230421@174459.7260 50r7due61qlodf0j7jd476l3ko Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='31';
20230421@174459.7360 50r7due61qlodf0j7jd476l3ko Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='31';
20230421@174459.7450 50r7due61qlodf0j7jd476l3ko Query : use flama_phc
20230421@174459.7480 50r7due61qlodf0j7jd476l3ko Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230421@174459.7600 50r7due61qlodf0j7jd476l3ko Query : use flama_phc
20230421@174459.7630 50r7due61qlodf0j7jd476l3ko Query : select no, estab,szadrsdesc from szadrs where u_coddest=1973
20230421@174459.8360 50r7due61qlodf0j7jd476l3ko Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20230421@174459.8480 50r7due61qlodf0j7jd476l3ko 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.4970.00.1' and bi.lordem =1
20230421@174459.1256 50r7due61qlodf0j7jd476l3ko 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'
20230421@174459.1443 50r7due61qlodf0j7jd476l3ko 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.1416.00.1' and bi.lordem =2
20230421@174459.1737 50r7due61qlodf0j7jd476l3ko 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'
20230421@174459.1748 50r7due61qlodf0j7jd476l3ko 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.670.00.01' and bi.lordem =3
20230421@174459.2045 50r7due61qlodf0j7jd476l3ko Query : use flama_phc
20230421@174459.2049 50r7due61qlodf0j7jd476l3ko Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230421@174459.2061 50r7due61qlodf0j7jd476l3ko Query : use flama_phc
20230421@174459.2064 50r7due61qlodf0j7jd476l3ko Query : select top 1 1 valor from td where td.ndoc = 39
20230421@174459.2074 50r7due61qlodf0j7jd476l3ko Query : use flama_phc
20230421@174459.2077 50r7due61qlodf0j7jd476l3ko Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230421@174459.2092 50r7due61qlodf0j7jd476l3ko 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
20230421@174459.2106 50r7due61qlodf0j7jd476l3ko Query : use flama_phc
20230421@174459.2110 50r7due61qlodf0j7jd476l3ko Query : select top 1 ~inactivo valor from cl where no = '100651' and estab = 0 order by inactivo desc
20230421@174459.2205 50r7due61qlodf0j7jd476l3ko Query : use flama_phc
20230421@174459.2208 50r7due61qlodf0j7jd476l3ko Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230421@174459.2219 50r7due61qlodf0j7jd476l3ko Query : use flama_phc
20230421@174459.2222 50r7due61qlodf0j7jd476l3ko Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230421@174459.2232 50r7due61qlodf0j7jd476l3ko Query : use flama_phc
20230421@174459.2234 50r7due61qlodf0j7jd476l3ko Query : select szadrsstamp valor from szadrs where szadrsdesc='antonio da conceiÇao martins'
20230421@174459.2246 50r7due61qlodf0j7jd476l3ko Query : use flama_phc
20230421@174459.2250 50r7due61qlodf0j7jd476l3ko Query : select 1 valor from td where ndoc = 39
20230421@174459.2259 50r7due61qlodf0j7jd476l3ko Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230421@174459.2270 50r7due61qlodf0j7jd476l3ko Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230421@174459.2284 50r7due61qlodf0j7jd476l3ko Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230421@174459.2295 50r7due61qlodf0j7jd476l3ko Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230421@174459.2308 50r7due61qlodf0j7jd476l3ko Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230421@174459.2312 50r7due61qlodf0j7jd476l3ko Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230421@174459.2318 50r7due61qlodf0j7jd476l3ko Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230421@174459.2375 50r7due61qlodf0j7jd476l3ko Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230421@174459.2385 50r7due61qlodf0j7jd476l3ko Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230421@174459.2391 50r7due61qlodf0j7jd476l3ko Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b199606442bd8b38' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174459.2395 50r7due61qlodf0j7jd476l3ko Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230421@174459.2407 50r7due61qlodf0j7jd476l3ko Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230421@174459.2411 50r7due61qlodf0j7jd476l3ko Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b199606442bd8b38',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174459.2415 50r7due61qlodf0j7jd476l3ko Query : select top 1 fno valor from wsft039data order by fno desc
20230421@174459.2425 50r7due61qlodf0j7jd476l3ko Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230421@174459.2438 50r7due61qlodf0j7jd476l3ko Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230421@174459.2447 50r7due61qlodf0j7jd476l3ko 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 ('aut6442b199606442bd8b38',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',13,100651,0,'2023-04-21',39,'euro',0,0,2023 ,'20230421','1814',?,?,?)
20230421@174459.2709 50r7due61qlodf0j7jd476l3ko Query : use flama_phc
20230421@174459.2713 50r7due61qlodf0j7jd476l3ko Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20230421@174459.2723 50r7due61qlodf0j7jd476l3ko Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4970.00.1'
20230421@174459.2735 50r7due61qlodf0j7jd476l3ko Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174459.2748 50r7due61qlodf0j7jd476l3ko Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174459.2758 50r7due61qlodf0j7jd476l3ko Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174459.2770 50r7due61qlodf0j7jd476l3ko Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174459.2774 50r7due61qlodf0j7jd476l3ko Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2100190100a'
20230421@174459.2784 50r7due61qlodf0j7jd476l3ko Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174459.2793 50r7due61qlodf0j7jd476l3ko Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174459.2804 50r7due61qlodf0j7jd476l3ko Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174459.2813 50r7due61qlodf0j7jd476l3ko Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6442b753546442bd8b44',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8 ,'aut6442b199606442bd8b38' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230421@174459.3036 50r7due61qlodf0j7jd476l3ko Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174459.3050 50r7due61qlodf0j7jd476l3ko Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@174459.3055 50r7due61qlodf0j7jd476l3ko Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b753546442bd8b44','aut6442b199606442bd8b38' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174459.3059 50r7due61qlodf0j7jd476l3ko Query : use flama_phc
20230421@174459.3061 50r7due61qlodf0j7jd476l3ko Query : select st.usalote valor from st where st.ref = '324.1416.00.1'
20230421@174459.3073 50r7due61qlodf0j7jd476l3ko Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230421@174459.3211 50r7due61qlodf0j7jd476l3ko Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174459.3224 50r7due61qlodf0j7jd476l3ko Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174459.3234 50r7due61qlodf0j7jd476l3ko Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174459.3261 50r7due61qlodf0j7jd476l3ko Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174459.3266 50r7due61qlodf0j7jd476l3ko Query : select sestamp valor from se where ref ='324.1416.00.1' and lote = 'r2101113200a'
20230421@174459.3276 50r7due61qlodf0j7jd476l3ko Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174459.3286 50r7due61qlodf0j7jd476l3ko Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174459.3298 50r7due61qlodf0j7jd476l3ko Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174459.3307 50r7due61qlodf0j7jd476l3ko Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6442b556166442bd8b50',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4 ,'aut6442b199606442bd8b38' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20230421@174459.3555 50r7due61qlodf0j7jd476l3ko Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174459.3573 50r7due61qlodf0j7jd476l3ko Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@174459.3578 50r7due61qlodf0j7jd476l3ko Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b556166442bd8b50','aut6442b199606442bd8b38' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174459.3585 50r7due61qlodf0j7jd476l3ko Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174459.3601 50r7due61qlodf0j7jd476l3ko Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174459.3631 50r7due61qlodf0j7jd476l3ko Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174459.3646 50r7due61qlodf0j7jd476l3ko Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174459.3652 50r7due61qlodf0j7jd476l3ko Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174459.3664 50r7due61qlodf0j7jd476l3ko Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174459.3679 50r7due61qlodf0j7jd476l3ko Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174459.3690 50r7due61qlodf0j7jd476l3ko Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6442b136316442bd8b59',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6442b199606442bd8b38' ,0,0 ,2,23.00,30000,?,?,?)
20230421@174459.3908 50r7due61qlodf0j7jd476l3ko Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174459.3924 50r7due61qlodf0j7jd476l3ko Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@174459.3930 50r7due61qlodf0j7jd476l3ko Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b136316442bd8b59','aut6442b199606442bd8b38' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174459.3935 50r7due61qlodf0j7jd476l3ko Query : use flama_phc
20230421@174459.3939 50r7due61qlodf0j7jd476l3ko Query : select st.usalote valor from st where st.ref = '324.670.00.01'
20230421@174459.3952 50r7due61qlodf0j7jd476l3ko Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230421@174459.3965 50r7due61qlodf0j7jd476l3ko Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174459.3979 50r7due61qlodf0j7jd476l3ko Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174459.3991 50r7due61qlodf0j7jd476l3ko Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174459.4005 50r7due61qlodf0j7jd476l3ko Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174459.4010 50r7due61qlodf0j7jd476l3ko Query : select sestamp valor from se where ref ='324.670.00.01' and lote = 'r2200755200a'
20230421@174459.4015 50r7due61qlodf0j7jd476l3ko Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174459.4026 50r7due61qlodf0j7jd476l3ko Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174459.4040 50r7due61qlodf0j7jd476l3ko Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174459.4051 50r7due61qlodf0j7jd476l3ko Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6442b112296442bd8b62',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2 ,'aut6442b199606442bd8b38' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20230421@174459.4278 50r7due61qlodf0j7jd476l3ko Query : use flama_phc
20230421@174459.4282 50r7due61qlodf0j7jd476l3ko Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20230421@174459.4295 50r7due61qlodf0j7jd476l3ko Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='31';
20230421@174459.4308 50r7due61qlodf0j7jd476l3ko Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='31';
20230421@174459.4651 pal87upfjte0bfqmerpb7u3lg6 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230421@174459.4672 pal87upfjte0bfqmerpb7u3lg6 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230421@174459.4687 pal87upfjte0bfqmerpb7u3lg6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='32';
20230421@174459.4723 pal87upfjte0bfqmerpb7u3lg6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='32';
20230421@174459.4737 pal87upfjte0bfqmerpb7u3lg6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='32';
20230421@174459.4748 pal87upfjte0bfqmerpb7u3lg6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='32';
20230421@174459.4775 pal87upfjte0bfqmerpb7u3lg6 Query : use flama_phc
20230421@174459.4778 pal87upfjte0bfqmerpb7u3lg6 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230421@174459.4793 pal87upfjte0bfqmerpb7u3lg6 Query : use flama_phc
20230421@174459.4797 pal87upfjte0bfqmerpb7u3lg6 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2017
20230421@174459.4868 pal87upfjte0bfqmerpb7u3lg6 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'
20230421@174459.5248 pal87upfjte0bfqmerpb7u3lg6 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.1879.00.1' and bi.lordem =1
20230421@174459.5622 pal87upfjte0bfqmerpb7u3lg6 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'
20230421@174459.5670 pal87upfjte0bfqmerpb7u3lg6 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 =2
20230421@174459.6086 pal87upfjte0bfqmerpb7u3lg6 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'
20230421@174459.7115 pal87upfjte0bfqmerpb7u3lg6 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 =3
20230421@174459.7428 pal87upfjte0bfqmerpb7u3lg6 Query : use flama_phc
20230421@174459.7432 pal87upfjte0bfqmerpb7u3lg6 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230421@174459.7446 pal87upfjte0bfqmerpb7u3lg6 Query : use flama_phc
20230421@174459.7448 pal87upfjte0bfqmerpb7u3lg6 Query : select top 1 1 valor from td where td.ndoc = 39
20230421@174459.7457 pal87upfjte0bfqmerpb7u3lg6 Query : use flama_phc
20230421@174459.7460 pal87upfjte0bfqmerpb7u3lg6 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230421@174459.7470 pal87upfjte0bfqmerpb7u3lg6 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
20230421@174459.7497 pal87upfjte0bfqmerpb7u3lg6 Query : use flama_phc
20230421@174459.7500 pal87upfjte0bfqmerpb7u3lg6 Query : select top 1 ~inactivo valor from cl where no = '102251' and estab = 0 order by inactivo desc
20230421@174459.7600 pal87upfjte0bfqmerpb7u3lg6 Query : use flama_phc
20230421@174459.7603 pal87upfjte0bfqmerpb7u3lg6 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230421@174459.7614 pal87upfjte0bfqmerpb7u3lg6 Query : use flama_phc
20230421@174459.7616 pal87upfjte0bfqmerpb7u3lg6 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230421@174459.7626 pal87upfjte0bfqmerpb7u3lg6 Query : use flama_phc
20230421@174459.7629 pal87upfjte0bfqmerpb7u3lg6 Query : select szadrsstamp valor from szadrs where szadrsdesc='joÃo mota nunes'
20230421@174459.7641 pal87upfjte0bfqmerpb7u3lg6 Query : use flama_phc
20230421@174459.7644 pal87upfjte0bfqmerpb7u3lg6 Query : select 1 valor from td where ndoc = 39
20230421@174459.7654 pal87upfjte0bfqmerpb7u3lg6 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230421@174459.7664 pal87upfjte0bfqmerpb7u3lg6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230421@174459.7677 pal87upfjte0bfqmerpb7u3lg6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230421@174459.7686 pal87upfjte0bfqmerpb7u3lg6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230421@174459.7700 pal87upfjte0bfqmerpb7u3lg6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230421@174459.7704 pal87upfjte0bfqmerpb7u3lg6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230421@174459.7710 pal87upfjte0bfqmerpb7u3lg6 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230421@174459.7750 pal87upfjte0bfqmerpb7u3lg6 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230421@174459.7759 pal87upfjte0bfqmerpb7u3lg6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230421@174459.7764 pal87upfjte0bfqmerpb7u3lg6 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b246106442bd8bbc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174459.7769 pal87upfjte0bfqmerpb7u3lg6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230421@174459.7780 pal87upfjte0bfqmerpb7u3lg6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230421@174459.7784 pal87upfjte0bfqmerpb7u3lg6 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b246106442bd8bbc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174459.7789 pal87upfjte0bfqmerpb7u3lg6 Query : select top 1 fno valor from wsft039data order by fno desc
20230421@174459.7800 pal87upfjte0bfqmerpb7u3lg6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230421@174459.7811 pal87upfjte0bfqmerpb7u3lg6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230421@174459.7820 pal87upfjte0bfqmerpb7u3lg6 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 ('aut6442b246106442bd8bbc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',13,102251,0,'2023-04-21',39,'euro',0,0,2023 ,'20230421','1814',?,?,?)
20230421@174459.8082 pal87upfjte0bfqmerpb7u3lg6 Query : use flama_phc
20230421@174459.8086 pal87upfjte0bfqmerpb7u3lg6 Query : select st.usalote valor from st where st.ref = '324.1879.00.1'
20230421@174459.8098 pal87upfjte0bfqmerpb7u3lg6 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1879.00.1'
20230421@174459.8509 pal87upfjte0bfqmerpb7u3lg6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174459.8733 pal87upfjte0bfqmerpb7u3lg6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174459.8940 pal87upfjte0bfqmerpb7u3lg6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174459.9178 pal87upfjte0bfqmerpb7u3lg6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174459.9259 pal87upfjte0bfqmerpb7u3lg6 Query : select sestamp valor from se where ref ='324.1879.00.1' and lote = 'r2100526100a'
20230421@174459.9480 pal87upfjte0bfqmerpb7u3lg6 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174459.9688 pal87upfjte0bfqmerpb7u3lg6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174500.1400 pal87upfjte0bfqmerpb7u3lg6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174500.2930 pal87upfjte0bfqmerpb7u3lg6 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6442b984446442bd8bec',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2 ,'aut6442b246106442bd8bbc' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230421@174500.7550 pal87upfjte0bfqmerpb7u3lg6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174500.9690 pal87upfjte0bfqmerpb7u3lg6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@174500.1052 pal87upfjte0bfqmerpb7u3lg6 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b984446442bd8bec','aut6442b246106442bd8bbc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174500.1097 pal87upfjte0bfqmerpb7u3lg6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174500.1122 pal87upfjte0bfqmerpb7u3lg6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174500.1134 pal87upfjte0bfqmerpb7u3lg6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174500.1146 pal87upfjte0bfqmerpb7u3lg6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174500.1151 pal87upfjte0bfqmerpb7u3lg6 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174500.1160 pal87upfjte0bfqmerpb7u3lg6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174500.1172 pal87upfjte0bfqmerpb7u3lg6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174500.1182 pal87upfjte0bfqmerpb7u3lg6 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6442b640666442bd8c1c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6442b246106442bd8bbc' ,0,0 ,2,23.00,20000,?,?,?)
20230421@174500.1405 pal87upfjte0bfqmerpb7u3lg6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174500.1419 pal87upfjte0bfqmerpb7u3lg6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@174500.1424 pal87upfjte0bfqmerpb7u3lg6 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b640666442bd8c1c','aut6442b246106442bd8bbc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174500.1428 pal87upfjte0bfqmerpb7u3lg6 Query : use flama_phc
20230421@174500.1431 pal87upfjte0bfqmerpb7u3lg6 Query : select st.usalote valor from st where st.ref = '324.670.00.01'
20230421@174500.1442 pal87upfjte0bfqmerpb7u3lg6 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230421@174500.1453 pal87upfjte0bfqmerpb7u3lg6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174500.1465 pal87upfjte0bfqmerpb7u3lg6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174500.1475 pal87upfjte0bfqmerpb7u3lg6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174500.1487 pal87upfjte0bfqmerpb7u3lg6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174500.1492 pal87upfjte0bfqmerpb7u3lg6 Query : select sestamp valor from se where ref ='324.670.00.01' and lote = 'r2200755200a'
20230421@174500.1497 pal87upfjte0bfqmerpb7u3lg6 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174500.1507 pal87upfjte0bfqmerpb7u3lg6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174500.1520 pal87upfjte0bfqmerpb7u3lg6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174500.1715 pal87upfjte0bfqmerpb7u3lg6 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6442b183336442bd8c24',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2 ,'aut6442b246106442bd8bbc' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230421@174500.2292 pal87upfjte0bfqmerpb7u3lg6 Query : use flama_phc
20230421@174500.2334 pal87upfjte0bfqmerpb7u3lg6 Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20230421@174500.2543 pal87upfjte0bfqmerpb7u3lg6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='32';
20230421@174500.2753 pal87upfjte0bfqmerpb7u3lg6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='32';
20230421@174500.3523 fs79vkdvpib42lqu4q707qg7eq Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230421@174500.3536 fs79vkdvpib42lqu4q707qg7eq Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230421@174500.3549 fs79vkdvpib42lqu4q707qg7eq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='33';
20230421@174500.3602 fs79vkdvpib42lqu4q707qg7eq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='33';
20230421@174500.3613 fs79vkdvpib42lqu4q707qg7eq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='33';
20230421@174500.3624 fs79vkdvpib42lqu4q707qg7eq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='33';
20230421@174500.3634 fs79vkdvpib42lqu4q707qg7eq Query : use flama_phc
20230421@174500.3637 fs79vkdvpib42lqu4q707qg7eq Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230421@174500.3651 fs79vkdvpib42lqu4q707qg7eq Query : use flama_phc
20230421@174500.3654 fs79vkdvpib42lqu4q707qg7eq Query : select no, estab,szadrsdesc from szadrs where u_coddest=73
20230421@174500.3730 fs79vkdvpib42lqu4q707qg7eq 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'
20230421@174500.3742 fs79vkdvpib42lqu4q707qg7eq 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.1816.00.1' and bi.lordem =2
20230421@174500.4246 fs79vkdvpib42lqu4q707qg7eq 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'
20230421@174500.4259 fs79vkdvpib42lqu4q707qg7eq 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.1816.00.1' and bi.lordem =3
20230421@174500.5037 fs79vkdvpib42lqu4q707qg7eq 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'
20230421@174500.5212 fs79vkdvpib42lqu4q707qg7eq 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
20230421@174500.5510 fs79vkdvpib42lqu4q707qg7eq 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'
20230421@174500.5521 fs79vkdvpib42lqu4q707qg7eq 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 =5
20230421@174500.5838 fs79vkdvpib42lqu4q707qg7eq 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'
20230421@174500.5850 fs79vkdvpib42lqu4q707qg7eq 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.1834.00.1' and bi.lordem =6
20230421@174500.6134 fs79vkdvpib42lqu4q707qg7eq 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'
20230421@174500.6280 fs79vkdvpib42lqu4q707qg7eq 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.1837.00.1' and bi.lordem =7
20230421@174500.6581 fs79vkdvpib42lqu4q707qg7eq 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'
20230421@174500.6594 fs79vkdvpib42lqu4q707qg7eq 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.1837.00.1' and bi.lordem =8
20230421@174500.6897 fs79vkdvpib42lqu4q707qg7eq 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'
20230421@174500.6909 fs79vkdvpib42lqu4q707qg7eq 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.1879.00.1' and bi.lordem =9
20230421@174500.7219 fs79vkdvpib42lqu4q707qg7eq 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'
20230421@174500.7230 fs79vkdvpib42lqu4q707qg7eq 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.1879.00.1' and bi.lordem =10
20230421@174500.7526 fs79vkdvpib42lqu4q707qg7eq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1895.00.1'
20230421@174500.7669 fs79vkdvpib42lqu4q707qg7eq 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.1895.00.1' and bi.lordem =11
20230421@174500.7960 fs79vkdvpib42lqu4q707qg7eq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1896.00.1'
20230421@174500.8109 fs79vkdvpib42lqu4q707qg7eq 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.1896.00.1' and bi.lordem =12
20230421@174500.8430 fs79vkdvpib42lqu4q707qg7eq 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'
20230421@174500.8648 fs79vkdvpib42lqu4q707qg7eq 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.1534.00.1' and bi.lordem =13
20230421@174500.9212 fs79vkdvpib42lqu4q707qg7eq 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'
20230421@174500.9449 fs79vkdvpib42lqu4q707qg7eq 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.1547.00.1' and bi.lordem =14
20230421@174500.9778 fs79vkdvpib42lqu4q707qg7eq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1557.00.1'
20230421@174501.7570 fs79vkdvpib42lqu4q707qg7eq 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.1557.00.1' and bi.lordem =15
20230421@174501.1079 fs79vkdvpib42lqu4q707qg7eq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1578.00.1'
20230421@174501.1091 fs79vkdvpib42lqu4q707qg7eq 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.1578.00.1' and bi.lordem =16
20230421@174501.1505 fs79vkdvpib42lqu4q707qg7eq 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'
20230421@174501.1741 fs79vkdvpib42lqu4q707qg7eq 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.4421.00.1' and bi.lordem =17
20230421@174501.2070 fs79vkdvpib42lqu4q707qg7eq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4590.00.1'
20230421@174501.2081 fs79vkdvpib42lqu4q707qg7eq 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.4590.00.1' and bi.lordem =19
20230421@174501.2401 fs79vkdvpib42lqu4q707qg7eq 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'
20230421@174501.2532 fs79vkdvpib42lqu4q707qg7eq 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.727.00.01' and bi.lordem =20
20230421@174501.2833 fs79vkdvpib42lqu4q707qg7eq 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'
20230421@174501.2966 fs79vkdvpib42lqu4q707qg7eq 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.734.00.01' and bi.lordem =22
20230421@174501.3250 fs79vkdvpib42lqu4q707qg7eq Query : use flama_phc
20230421@174501.3254 fs79vkdvpib42lqu4q707qg7eq Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230421@174501.3267 fs79vkdvpib42lqu4q707qg7eq Query : use flama_phc
20230421@174501.3269 fs79vkdvpib42lqu4q707qg7eq Query : select top 1 1 valor from td where td.ndoc = 39
20230421@174501.3281 fs79vkdvpib42lqu4q707qg7eq Query : use flama_phc
20230421@174501.3284 fs79vkdvpib42lqu4q707qg7eq Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230421@174501.3295 fs79vkdvpib42lqu4q707qg7eq 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
20230421@174501.3310 fs79vkdvpib42lqu4q707qg7eq Query : use flama_phc
20230421@174501.3313 fs79vkdvpib42lqu4q707qg7eq Query : select top 1 ~inactivo valor from cl where no = '101228' and estab = 0 order by inactivo desc
20230421@174501.3418 fs79vkdvpib42lqu4q707qg7eq Query : use flama_phc
20230421@174501.3421 fs79vkdvpib42lqu4q707qg7eq Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230421@174501.3433 fs79vkdvpib42lqu4q707qg7eq Query : use flama_phc
20230421@174501.3436 fs79vkdvpib42lqu4q707qg7eq Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230421@174501.3447 fs79vkdvpib42lqu4q707qg7eq Query : use flama_phc
20230421@174501.3451 fs79vkdvpib42lqu4q707qg7eq Query : select szadrsstamp valor from szadrs where szadrsdesc='joÃo crisÓstomo figueira da silva, s.a.'
20230421@174501.3466 fs79vkdvpib42lqu4q707qg7eq Query : use flama_phc
20230421@174501.3469 fs79vkdvpib42lqu4q707qg7eq Query : select 1 valor from td where ndoc = 39
20230421@174501.3479 fs79vkdvpib42lqu4q707qg7eq Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230421@174501.3493 fs79vkdvpib42lqu4q707qg7eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230421@174501.3509 fs79vkdvpib42lqu4q707qg7eq Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230421@174501.3521 fs79vkdvpib42lqu4q707qg7eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230421@174501.3536 fs79vkdvpib42lqu4q707qg7eq Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230421@174501.3541 fs79vkdvpib42lqu4q707qg7eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230421@174501.3548 fs79vkdvpib42lqu4q707qg7eq Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230421@174501.3605 fs79vkdvpib42lqu4q707qg7eq Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230421@174501.3615 fs79vkdvpib42lqu4q707qg7eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230421@174501.3621 fs79vkdvpib42lqu4q707qg7eq Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b134416442bd8d56' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174501.3626 fs79vkdvpib42lqu4q707qg7eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230421@174501.3639 fs79vkdvpib42lqu4q707qg7eq Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230421@174501.3643 fs79vkdvpib42lqu4q707qg7eq Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b134416442bd8d56',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174501.3647 fs79vkdvpib42lqu4q707qg7eq Query : select top 1 fno valor from wsft039data order by fno desc
20230421@174501.3657 fs79vkdvpib42lqu4q707qg7eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230421@174501.3669 fs79vkdvpib42lqu4q707qg7eq Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230421@174501.3680 fs79vkdvpib42lqu4q707qg7eq 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 ('aut6442b134416442bd8d56',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',13,101228,0,'2023-04-21',39,'euro',0,0,2023 ,'20230421','1815',?,?,?)
20230421@174501.3924 fs79vkdvpib42lqu4q707qg7eq Query : use flama_phc
20230421@174501.3928 fs79vkdvpib42lqu4q707qg7eq Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20230421@174501.3942 fs79vkdvpib42lqu4q707qg7eq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230421@174501.3956 fs79vkdvpib42lqu4q707qg7eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174501.3970 fs79vkdvpib42lqu4q707qg7eq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174501.3982 fs79vkdvpib42lqu4q707qg7eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174501.3997 fs79vkdvpib42lqu4q707qg7eq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174501.4002 fs79vkdvpib42lqu4q707qg7eq Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2200645200a'
20230421@174501.4014 fs79vkdvpib42lqu4q707qg7eq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174501.4026 fs79vkdvpib42lqu4q707qg7eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174501.4056 fs79vkdvpib42lqu4q707qg7eq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174501.4070 fs79vkdvpib42lqu4q707qg7eq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6442b081256442bd8d62',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',22 ,'aut6442b134416442bd8d56' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230421@174501.4323 fs79vkdvpib42lqu4q707qg7eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174501.4505 fs79vkdvpib42lqu4q707qg7eq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@174501.4510 fs79vkdvpib42lqu4q707qg7eq Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b081256442bd8d62','aut6442b134416442bd8d56' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174501.4555 fs79vkdvpib42lqu4q707qg7eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174501.4651 fs79vkdvpib42lqu4q707qg7eq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174501.4690 fs79vkdvpib42lqu4q707qg7eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174501.4705 fs79vkdvpib42lqu4q707qg7eq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174501.4710 fs79vkdvpib42lqu4q707qg7eq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174501.4739 fs79vkdvpib42lqu4q707qg7eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174501.4755 fs79vkdvpib42lqu4q707qg7eq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174501.4780 fs79vkdvpib42lqu4q707qg7eq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6442b775186442bd8d73',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6442b134416442bd8d56' ,0,0 ,2,23.00,20000,?,?,?)
20230421@174501.5009 fs79vkdvpib42lqu4q707qg7eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174501.5029 fs79vkdvpib42lqu4q707qg7eq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@174501.5034 fs79vkdvpib42lqu4q707qg7eq Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b775186442bd8d73','aut6442b134416442bd8d56' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174501.5070 fs79vkdvpib42lqu4q707qg7eq Query : use flama_phc
20230421@174501.5075 fs79vkdvpib42lqu4q707qg7eq Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20230421@174501.5088 fs79vkdvpib42lqu4q707qg7eq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230421@174501.5102 fs79vkdvpib42lqu4q707qg7eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174501.5118 fs79vkdvpib42lqu4q707qg7eq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174501.5128 fs79vkdvpib42lqu4q707qg7eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174501.5143 fs79vkdvpib42lqu4q707qg7eq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174501.5148 fs79vkdvpib42lqu4q707qg7eq Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2200645200a'
20230421@174501.5159 fs79vkdvpib42lqu4q707qg7eq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174501.5169 fs79vkdvpib42lqu4q707qg7eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174501.5183 fs79vkdvpib42lqu4q707qg7eq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174501.5195 fs79vkdvpib42lqu4q707qg7eq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6442b919806442bd8d7e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2 ,'aut6442b134416442bd8d56' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230421@174501.5407 fs79vkdvpib42lqu4q707qg7eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174501.5422 fs79vkdvpib42lqu4q707qg7eq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@174501.5427 fs79vkdvpib42lqu4q707qg7eq Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b919806442bd8d7e','aut6442b134416442bd8d56' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174501.5432 fs79vkdvpib42lqu4q707qg7eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174501.5446 fs79vkdvpib42lqu4q707qg7eq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174501.5472 fs79vkdvpib42lqu4q707qg7eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174501.5486 fs79vkdvpib42lqu4q707qg7eq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174501.5492 fs79vkdvpib42lqu4q707qg7eq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174501.5503 fs79vkdvpib42lqu4q707qg7eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174501.5528 fs79vkdvpib42lqu4q707qg7eq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174501.5542 fs79vkdvpib42lqu4q707qg7eq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6442b592986442bd8d86',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6442b134416442bd8d56' ,0,0 ,2,23.00,50000,?,?,?)
20230421@174501.5779 fs79vkdvpib42lqu4q707qg7eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174501.5797 fs79vkdvpib42lqu4q707qg7eq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@174501.5802 fs79vkdvpib42lqu4q707qg7eq Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b592986442bd8d86','aut6442b134416442bd8d56' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174501.5807 fs79vkdvpib42lqu4q707qg7eq Query : use flama_phc
20230421@174501.5810 fs79vkdvpib42lqu4q707qg7eq Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20230421@174501.5822 fs79vkdvpib42lqu4q707qg7eq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230421@174501.5835 fs79vkdvpib42lqu4q707qg7eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174501.5850 fs79vkdvpib42lqu4q707qg7eq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174501.5861 fs79vkdvpib42lqu4q707qg7eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174501.5875 fs79vkdvpib42lqu4q707qg7eq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174501.5880 fs79vkdvpib42lqu4q707qg7eq Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2200671200a'
20230421@174501.5886 fs79vkdvpib42lqu4q707qg7eq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174501.6141 fs79vkdvpib42lqu4q707qg7eq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174501.6158 fs79vkdvpib42lqu4q707qg7eq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174501.6170 fs79vkdvpib42lqu4q707qg7eq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6442b295536442bd8d95',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',22 ,'aut6442b134416442bd8d56' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20230421@174501.6437 fs79vkdvpib42lqu4q707qg7eq Query : use flama_phc
20230421@174501.6441 fs79vkdvpib42lqu4q707qg7eq Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20230421@174501.6454 fs79vkdvpib42lqu4q707qg7eq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='33';
20230421@174501.6466 fs79vkdvpib42lqu4q707qg7eq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='33';
20230421@174501.6809 acfcgikdq72cf8mjc3fcmjnl96 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230421@174501.6822 acfcgikdq72cf8mjc3fcmjnl96 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230421@174501.6840 acfcgikdq72cf8mjc3fcmjnl96 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='34';
20230421@174501.6879 acfcgikdq72cf8mjc3fcmjnl96 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='34';
20230421@174501.6891 acfcgikdq72cf8mjc3fcmjnl96 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='34';
20230421@174501.6903 acfcgikdq72cf8mjc3fcmjnl96 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='34';
20230421@174501.6914 acfcgikdq72cf8mjc3fcmjnl96 Query : use flama_phc
20230421@174501.6918 acfcgikdq72cf8mjc3fcmjnl96 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230421@174501.6932 acfcgikdq72cf8mjc3fcmjnl96 Query : use flama_phc
20230421@174501.6936 acfcgikdq72cf8mjc3fcmjnl96 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2588
20230421@174501.7021 acfcgikdq72cf8mjc3fcmjnl96 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'
20230421@174501.7036 acfcgikdq72cf8mjc3fcmjnl96 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
20230421@174501.7346 acfcgikdq72cf8mjc3fcmjnl96 Query : use flama_phc
20230421@174501.7351 acfcgikdq72cf8mjc3fcmjnl96 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230421@174501.7365 acfcgikdq72cf8mjc3fcmjnl96 Query : use flama_phc
20230421@174501.7369 acfcgikdq72cf8mjc3fcmjnl96 Query : select top 1 1 valor from td where td.ndoc = 39
20230421@174501.7379 acfcgikdq72cf8mjc3fcmjnl96 Query : use flama_phc
20230421@174501.7383 acfcgikdq72cf8mjc3fcmjnl96 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230421@174501.7395 acfcgikdq72cf8mjc3fcmjnl96 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
20230421@174501.7410 acfcgikdq72cf8mjc3fcmjnl96 Query : use flama_phc
20230421@174501.7413 acfcgikdq72cf8mjc3fcmjnl96 Query : select top 1 ~inactivo valor from cl where no = '102561' and estab = 0 order by inactivo desc
20230421@174501.7505 acfcgikdq72cf8mjc3fcmjnl96 Query : use flama_phc
20230421@174501.7508 acfcgikdq72cf8mjc3fcmjnl96 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230421@174501.7520 acfcgikdq72cf8mjc3fcmjnl96 Query : use flama_phc
20230421@174501.7523 acfcgikdq72cf8mjc3fcmjnl96 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230421@174501.7535 acfcgikdq72cf8mjc3fcmjnl96 Query : use flama_phc
20230421@174501.7539 acfcgikdq72cf8mjc3fcmjnl96 Query : select szadrsstamp valor from szadrs where szadrsdesc='caisdis sociedade de distribuiÇÃo s a'
20230421@174501.7554 acfcgikdq72cf8mjc3fcmjnl96 Query : use flama_phc
20230421@174501.7557 acfcgikdq72cf8mjc3fcmjnl96 Query : select 1 valor from td where ndoc = 39
20230421@174501.7567 acfcgikdq72cf8mjc3fcmjnl96 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230421@174501.7579 acfcgikdq72cf8mjc3fcmjnl96 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230421@174501.7647 acfcgikdq72cf8mjc3fcmjnl96 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230421@174501.7659 acfcgikdq72cf8mjc3fcmjnl96 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230421@174501.7672 acfcgikdq72cf8mjc3fcmjnl96 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230421@174501.7677 acfcgikdq72cf8mjc3fcmjnl96 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230421@174501.7684 acfcgikdq72cf8mjc3fcmjnl96 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230421@174501.7724 acfcgikdq72cf8mjc3fcmjnl96 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230421@174501.7735 acfcgikdq72cf8mjc3fcmjnl96 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230421@174501.7742 acfcgikdq72cf8mjc3fcmjnl96 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b689976442bd8dbb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174501.7748 acfcgikdq72cf8mjc3fcmjnl96 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230421@174501.7762 acfcgikdq72cf8mjc3fcmjnl96 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230421@174501.7766 acfcgikdq72cf8mjc3fcmjnl96 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b689976442bd8dbb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174501.7771 acfcgikdq72cf8mjc3fcmjnl96 Query : select top 1 fno valor from wsft039data order by fno desc
20230421@174501.7782 acfcgikdq72cf8mjc3fcmjnl96 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230421@174501.7797 acfcgikdq72cf8mjc3fcmjnl96 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230421@174501.7809 acfcgikdq72cf8mjc3fcmjnl96 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 ('aut6442b689976442bd8dbb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',13,102561,0,'2023-04-21',39,'euro',0,0,2023 ,'20230421','1815',?,?,?)
20230421@174501.8055 acfcgikdq72cf8mjc3fcmjnl96 Query : use flama_phc
20230421@174501.8060 acfcgikdq72cf8mjc3fcmjnl96 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20230421@174501.8075 acfcgikdq72cf8mjc3fcmjnl96 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230421@174501.8087 acfcgikdq72cf8mjc3fcmjnl96 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174501.8100 acfcgikdq72cf8mjc3fcmjnl96 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174501.8111 acfcgikdq72cf8mjc3fcmjnl96 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174501.8135 acfcgikdq72cf8mjc3fcmjnl96 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174501.8140 acfcgikdq72cf8mjc3fcmjnl96 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2200671200a'
20230421@174501.8145 acfcgikdq72cf8mjc3fcmjnl96 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174501.8155 acfcgikdq72cf8mjc3fcmjnl96 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174501.8174 acfcgikdq72cf8mjc3fcmjnl96 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174501.8190 acfcgikdq72cf8mjc3fcmjnl96 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6442b145906442bd8dc7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',25 ,'aut6442b689976442bd8dbb' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230421@174501.8444 acfcgikdq72cf8mjc3fcmjnl96 Query : use flama_phc
20230421@174501.8448 acfcgikdq72cf8mjc3fcmjnl96 Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20230421@174501.8461 acfcgikdq72cf8mjc3fcmjnl96 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='34';
20230421@174501.8486 acfcgikdq72cf8mjc3fcmjnl96 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='34';
20230421@174501.9756 hi0ele7hris2m5vjl0iepsm30a Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230421@174501.9771 hi0ele7hris2m5vjl0iepsm30a Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230421@174501.9784 hi0ele7hris2m5vjl0iepsm30a Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='35';
20230421@174501.9818 hi0ele7hris2m5vjl0iepsm30a Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='35';
20230421@174501.9829 hi0ele7hris2m5vjl0iepsm30a Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='35';
20230421@174501.9839 hi0ele7hris2m5vjl0iepsm30a Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='35';
20230421@174501.9849 hi0ele7hris2m5vjl0iepsm30a Query : use flama_phc
20230421@174501.9852 hi0ele7hris2m5vjl0iepsm30a Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230421@174501.9867 hi0ele7hris2m5vjl0iepsm30a Query : use flama_phc
20230421@174501.9870 hi0ele7hris2m5vjl0iepsm30a Query : select no, estab,szadrsdesc from szadrs where u_coddest=16
20230421@174501.9903 hi0ele7hris2m5vjl0iepsm30a 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'
20230421@174501.9913 hi0ele7hris2m5vjl0iepsm30a 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 ='304.422.00.07' and bi.lordem =1
20230421@174502.2140 hi0ele7hris2m5vjl0iepsm30a Query : use flama_phc
20230421@174502.2180 hi0ele7hris2m5vjl0iepsm30a Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230421@174502.2290 hi0ele7hris2m5vjl0iepsm30a Query : use flama_phc
20230421@174502.2320 hi0ele7hris2m5vjl0iepsm30a Query : select top 1 1 valor from td where td.ndoc = 39
20230421@174502.2410 hi0ele7hris2m5vjl0iepsm30a Query : use flama_phc
20230421@174502.2440 hi0ele7hris2m5vjl0iepsm30a Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230421@174502.2540 hi0ele7hris2m5vjl0iepsm30a 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
20230421@174502.2670 hi0ele7hris2m5vjl0iepsm30a Query : use flama_phc
20230421@174502.2700 hi0ele7hris2m5vjl0iepsm30a Query : select top 1 ~inactivo valor from cl where no = '100327' and estab = 0 order by inactivo desc
20230421@174502.2790 hi0ele7hris2m5vjl0iepsm30a Query : use flama_phc
20230421@174502.2820 hi0ele7hris2m5vjl0iepsm30a Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230421@174502.2920 hi0ele7hris2m5vjl0iepsm30a Query : use flama_phc
20230421@174502.2950 hi0ele7hris2m5vjl0iepsm30a Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230421@174502.3050 hi0ele7hris2m5vjl0iepsm30a Query : use flama_phc
20230421@174502.3070 hi0ele7hris2m5vjl0iepsm30a Query : select szadrsstamp valor from szadrs where szadrsdesc='discoteca juvenil, lda.'
20230421@174502.3260 hi0ele7hris2m5vjl0iepsm30a Query : use flama_phc
20230421@174502.3290 hi0ele7hris2m5vjl0iepsm30a Query : select 1 valor from td where ndoc = 39
20230421@174502.3400 hi0ele7hris2m5vjl0iepsm30a Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230421@174502.3520 hi0ele7hris2m5vjl0iepsm30a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230421@174502.3650 hi0ele7hris2m5vjl0iepsm30a Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230421@174502.3750 hi0ele7hris2m5vjl0iepsm30a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230421@174502.3890 hi0ele7hris2m5vjl0iepsm30a Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230421@174502.3960 hi0ele7hris2m5vjl0iepsm30a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230421@174502.4030 hi0ele7hris2m5vjl0iepsm30a Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230421@174502.4440 hi0ele7hris2m5vjl0iepsm30a Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230421@174502.4540 hi0ele7hris2m5vjl0iepsm30a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230421@174502.4610 hi0ele7hris2m5vjl0iepsm30a Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b875986442bd8e09' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174502.4660 hi0ele7hris2m5vjl0iepsm30a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230421@174502.4790 hi0ele7hris2m5vjl0iepsm30a Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230421@174502.4840 hi0ele7hris2m5vjl0iepsm30a Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b875986442bd8e09',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174502.4890 hi0ele7hris2m5vjl0iepsm30a Query : select top 1 fno valor from wsft039data order by fno desc
20230421@174502.5000 hi0ele7hris2m5vjl0iepsm30a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230421@174502.5130 hi0ele7hris2m5vjl0iepsm30a Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230421@174502.5230 hi0ele7hris2m5vjl0iepsm30a 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 ('aut6442b875986442bd8e09',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',13,100327,0,'2023-04-21',39,'euro',0,0,2023 ,'20230421','1815',?,?,?)
20230421@174502.1245 hi0ele7hris2m5vjl0iepsm30a Query : use flama_phc
20230421@174502.1250 hi0ele7hris2m5vjl0iepsm30a Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20230421@174502.1263 hi0ele7hris2m5vjl0iepsm30a Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230421@174502.1277 hi0ele7hris2m5vjl0iepsm30a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174502.1293 hi0ele7hris2m5vjl0iepsm30a Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230421@174502.1303 hi0ele7hris2m5vjl0iepsm30a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174502.1317 hi0ele7hris2m5vjl0iepsm30a Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230421@174502.1322 hi0ele7hris2m5vjl0iepsm30a Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '230334'
20230421@174502.1336 hi0ele7hris2m5vjl0iepsm30a Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230421@174502.1347 hi0ele7hris2m5vjl0iepsm30a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230421@174502.1360 hi0ele7hris2m5vjl0iepsm30a Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230421@174502.1375 hi0ele7hris2m5vjl0iepsm30a Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6442b963906442bd8e20',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',452 ,'aut6442b875986442bd8e09' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230421@174502.1626 hi0ele7hris2m5vjl0iepsm30a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230421@174502.1658 hi0ele7hris2m5vjl0iepsm30a Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230421@174502.1663 hi0ele7hris2m5vjl0iepsm30a Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6442b963906442bd8e20','aut6442b875986442bd8e09' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230421@174502.1669 hi0ele7hris2m5vjl0iepsm30a Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6442b875986442bd8e09','','wait',39,'ari17112337378,753000005')
20230421@174502.1688 hi0ele7hris2m5vjl0iepsm30a Query : use flama_phc
20230421@174502.1691 hi0ele7hris2m5vjl0iepsm30a Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230421@174502.1704 hi0ele7hris2m5vjl0iepsm30a Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='35';
20230421@174502.1727 hi0ele7hris2m5vjl0iepsm30a Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='35';
20230421@174502.1737 hi0ele7hris2m5vjl0iepsm30a Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='35';
20230421@174502.1749 hi0ele7hris2m5vjl0iepsm30a Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='35';

20230424@080032.8818 o4g9f9bues57s9jgo9pm53donm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='36';
20230424@080032.8840 o4g9f9bues57s9jgo9pm53donm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='36';
20230424@080032.8852 o4g9f9bues57s9jgo9pm53donm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='36';
20230424@080032.8862 o4g9f9bues57s9jgo9pm53donm Query : use flama_phc
20230424@080032.8865 o4g9f9bues57s9jgo9pm53donm Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230424@080032.8931 o4g9f9bues57s9jgo9pm53donm Query : use flama_phc
20230424@080032.8934 o4g9f9bues57s9jgo9pm53donm Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20230424@080032.9037 o4g9f9bues57s9jgo9pm53donm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8176.00.1'
20230424@080032.9187 o4g9f9bues57s9jgo9pm53donm 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 ='327.8176.00.1' and bi.lordem =1
20230424@080032.9586 o4g9f9bues57s9jgo9pm53donm Query : use flama_phc
20230424@080032.9590 o4g9f9bues57s9jgo9pm53donm Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230424@080032.9752 o4g9f9bues57s9jgo9pm53donm Query : use flama_phc
20230424@080032.9756 o4g9f9bues57s9jgo9pm53donm Query : select top 1 1 valor from td where td.ndoc = 39
20230424@080032.9807 o4g9f9bues57s9jgo9pm53donm Query : use flama_phc
20230424@080032.9810 o4g9f9bues57s9jgo9pm53donm Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230424@080032.9849 o4g9f9bues57s9jgo9pm53donm 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@080032.9931 o4g9f9bues57s9jgo9pm53donm Query : use flama_phc
20230424@080032.9934 o4g9f9bues57s9jgo9pm53donm Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20230424@080033.5900 o4g9f9bues57s9jgo9pm53donm Query : use flama_phc
20230424@080033.6300 o4g9f9bues57s9jgo9pm53donm Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230424@080033.1170 o4g9f9bues57s9jgo9pm53donm Query : use flama_phc
20230424@080033.1200 o4g9f9bues57s9jgo9pm53donm Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230424@080033.1600 o4g9f9bues57s9jgo9pm53donm Query : use flama_phc
20230424@080033.1640 o4g9f9bues57s9jgo9pm53donm Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20230424@080033.1780 o4g9f9bues57s9jgo9pm53donm Query : use flama_phc
20230424@080033.1820 o4g9f9bues57s9jgo9pm53donm Query : select 1 valor from td where ndoc = 39
20230424@080033.2360 o4g9f9bues57s9jgo9pm53donm Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230424@080033.2860 o4g9f9bues57s9jgo9pm53donm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230424@080033.5950 o4g9f9bues57s9jgo9pm53donm Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230424@080033.6310 o4g9f9bues57s9jgo9pm53donm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230424@080033.9500 o4g9f9bues57s9jgo9pm53donm Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230424@080033.9750 o4g9f9bues57s9jgo9pm53donm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230424@080033.1281 o4g9f9bues57s9jgo9pm53donm Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230424@080033.1504 o4g9f9bues57s9jgo9pm53donm Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230424@080033.1559 o4g9f9bues57s9jgo9pm53donm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230424@080033.1565 o4g9f9bues57s9jgo9pm53donm Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446244294644629111f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@080033.1736 o4g9f9bues57s9jgo9pm53donm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230424@080033.1756 o4g9f9bues57s9jgo9pm53donm Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230424@080033.1780 o4g9f9bues57s9jgo9pm53donm Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446244294644629111f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@080033.2020 o4g9f9bues57s9jgo9pm53donm Query : select top 1 fno valor from wsft039data order by fno desc
20230424@080033.2088 o4g9f9bues57s9jgo9pm53donm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230424@080033.2102 o4g9f9bues57s9jgo9pm53donm Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230424@080033.2141 o4g9f9bues57s9jgo9pm53donm 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 ('aut6446244294644629111f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',14,100810,0,'2023-04-24',39,'euro',0,0,2023 ,'20230424','0830',?,?,?)
20230424@080033.2431 o4g9f9bues57s9jgo9pm53donm Query : use flama_phc
20230424@080033.2439 o4g9f9bues57s9jgo9pm53donm Query : select st.usalote valor from st where st.ref = '327.8176.00.1'
20230424@080033.2563 o4g9f9bues57s9jgo9pm53donm Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '327.8176.00.1'
20230424@080033.2697 o4g9f9bues57s9jgo9pm53donm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@080033.3022 o4g9f9bues57s9jgo9pm53donm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230424@080033.3053 o4g9f9bues57s9jgo9pm53donm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@080033.3363 o4g9f9bues57s9jgo9pm53donm Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230424@080033.3386 o4g9f9bues57s9jgo9pm53donm Query : select sestamp valor from se where ref ='327.8176.00.1' and lote = 'r2100756200a'
20230424@080033.3442 o4g9f9bues57s9jgo9pm53donm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230424@080033.3480 o4g9f9bues57s9jgo9pm53donm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@080033.3495 o4g9f9bues57s9jgo9pm53donm Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230424@080033.3524 o4g9f9bues57s9jgo9pm53donm Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut64462977716446291154',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5 ,'aut6446244294644629111f' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230424@080033.3749 o4g9f9bues57s9jgo9pm53donm Query : use flama_phc
20230424@080033.3753 o4g9f9bues57s9jgo9pm53donm Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20230424@080033.3804 o4g9f9bues57s9jgo9pm53donm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='36';
20230424@080033.3814 o4g9f9bues57s9jgo9pm53donm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='36';
20230424@080033.4232 352ah2etn14s9msh7r7a66dqbh Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230424@080033.4245 352ah2etn14s9msh7r7a66dqbh Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230424@080033.4258 352ah2etn14s9msh7r7a66dqbh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='37';
20230424@080033.4298 352ah2etn14s9msh7r7a66dqbh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='37';
20230424@080033.4309 352ah2etn14s9msh7r7a66dqbh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='37';
20230424@080033.4319 352ah2etn14s9msh7r7a66dqbh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='37';
20230424@080033.4328 352ah2etn14s9msh7r7a66dqbh Query : use flama_phc
20230424@080033.4331 352ah2etn14s9msh7r7a66dqbh Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230424@080033.4343 352ah2etn14s9msh7r7a66dqbh Query : use flama_phc
20230424@080033.4346 352ah2etn14s9msh7r7a66dqbh Query : select no, estab,szadrsdesc from szadrs where u_coddest=770
20230424@080033.4416 352ah2etn14s9msh7r7a66dqbh Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8152.00.1'
20230424@080033.4845 352ah2etn14s9msh7r7a66dqbh 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 ='327.8152.00.1' and bi.lordem =1
20230424@080033.5549 352ah2etn14s9msh7r7a66dqbh Query : use flama_phc
20230424@080033.5592 352ah2etn14s9msh7r7a66dqbh Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230424@080033.5687 352ah2etn14s9msh7r7a66dqbh Query : use flama_phc
20230424@080033.5691 352ah2etn14s9msh7r7a66dqbh Query : select top 1 1 valor from td where td.ndoc = 39
20230424@080033.5701 352ah2etn14s9msh7r7a66dqbh Query : use flama_phc
20230424@080033.5704 352ah2etn14s9msh7r7a66dqbh Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230424@080033.5716 352ah2etn14s9msh7r7a66dqbh 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@080033.5729 352ah2etn14s9msh7r7a66dqbh Query : use flama_phc
20230424@080033.5732 352ah2etn14s9msh7r7a66dqbh Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20230424@080033.5741 352ah2etn14s9msh7r7a66dqbh Query : use flama_phc
20230424@080033.5744 352ah2etn14s9msh7r7a66dqbh Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230424@080033.5753 352ah2etn14s9msh7r7a66dqbh Query : use flama_phc
20230424@080033.5756 352ah2etn14s9msh7r7a66dqbh Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230424@080033.5767 352ah2etn14s9msh7r7a66dqbh Query : use flama_phc
20230424@080033.5770 352ah2etn14s9msh7r7a66dqbh Query : select szadrsstamp valor from szadrs where szadrsdesc='worten-equipamentos para o lar,sa.- azambuja'
20230424@080033.5784 352ah2etn14s9msh7r7a66dqbh Query : use flama_phc
20230424@080033.5787 352ah2etn14s9msh7r7a66dqbh Query : select 1 valor from td where ndoc = 39
20230424@080033.5797 352ah2etn14s9msh7r7a66dqbh Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230424@080033.5808 352ah2etn14s9msh7r7a66dqbh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230424@080033.5822 352ah2etn14s9msh7r7a66dqbh Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230424@080033.5836 352ah2etn14s9msh7r7a66dqbh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230424@080033.5849 352ah2etn14s9msh7r7a66dqbh Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230424@080033.5853 352ah2etn14s9msh7r7a66dqbh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230424@080033.5860 352ah2etn14s9msh7r7a66dqbh Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230424@080033.5900 352ah2etn14s9msh7r7a66dqbh Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230424@080033.5910 352ah2etn14s9msh7r7a66dqbh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230424@080033.5916 352ah2etn14s9msh7r7a66dqbh Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446274419644629118f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@080033.5921 352ah2etn14s9msh7r7a66dqbh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230424@080033.5935 352ah2etn14s9msh7r7a66dqbh Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230424@080033.5939 352ah2etn14s9msh7r7a66dqbh Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446274419644629118f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@080033.5944 352ah2etn14s9msh7r7a66dqbh Query : select top 1 fno valor from wsft039data order by fno desc
20230424@080033.5975 352ah2etn14s9msh7r7a66dqbh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230424@080033.5989 352ah2etn14s9msh7r7a66dqbh Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230424@080033.6000 352ah2etn14s9msh7r7a66dqbh 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 ('aut6446274419644629118f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',14,100810,0,'2023-04-24',39,'euro',0,0,2023 ,'20230424','0830',?,?,?)
20230424@080033.6269 352ah2etn14s9msh7r7a66dqbh Query : use flama_phc
20230424@080033.6274 352ah2etn14s9msh7r7a66dqbh Query : select st.usalote valor from st where st.ref = '327.8152.00.1'
20230424@080033.6287 352ah2etn14s9msh7r7a66dqbh Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '327.8152.00.1'
20230424@080033.6432 352ah2etn14s9msh7r7a66dqbh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@080033.6447 352ah2etn14s9msh7r7a66dqbh Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230424@080033.6459 352ah2etn14s9msh7r7a66dqbh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@080033.6472 352ah2etn14s9msh7r7a66dqbh Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230424@080033.6476 352ah2etn14s9msh7r7a66dqbh Query : select sestamp valor from se where ref ='327.8152.00.1' and lote = 'r2200712200a'
20230424@080033.6495 352ah2etn14s9msh7r7a66dqbh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230424@080033.6522 352ah2etn14s9msh7r7a66dqbh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@080033.6535 352ah2etn14s9msh7r7a66dqbh Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230424@080033.6545 352ah2etn14s9msh7r7a66dqbh Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6446238740644629119f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5 ,'aut6446274419644629118f' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230424@080033.6768 352ah2etn14s9msh7r7a66dqbh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@080033.6784 352ah2etn14s9msh7r7a66dqbh Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230424@080033.6809 352ah2etn14s9msh7r7a66dqbh Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446238740644629119f','aut6446274419644629118f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@080033.6878 352ah2etn14s9msh7r7a66dqbh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@080033.6892 352ah2etn14s9msh7r7a66dqbh Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230424@080033.6902 352ah2etn14s9msh7r7a66dqbh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@080033.6915 352ah2etn14s9msh7r7a66dqbh Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230424@080033.6920 352ah2etn14s9msh7r7a66dqbh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230424@080033.6930 352ah2etn14s9msh7r7a66dqbh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@080033.6943 352ah2etn14s9msh7r7a66dqbh Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230424@080033.6953 352ah2etn14s9msh7r7a66dqbh Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut644624723464462911a9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6446274419644629118f' ,0,0 ,2,23.00,20000,?,?,?)
20230424@080033.7171 352ah2etn14s9msh7r7a66dqbh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@080033.7187 352ah2etn14s9msh7r7a66dqbh Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230424@080033.7192 352ah2etn14s9msh7r7a66dqbh Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644624723464462911a9','aut6446274419644629118f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@080033.7198 352ah2etn14s9msh7r7a66dqbh Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6446274419644629118f','','wait',39,'ari17112337378,753000005')
20230424@080033.7226 352ah2etn14s9msh7r7a66dqbh Query : use flama_phc
20230424@080033.7229 352ah2etn14s9msh7r7a66dqbh Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230424@080033.7239 352ah2etn14s9msh7r7a66dqbh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='37';
20230424@080033.7251 352ah2etn14s9msh7r7a66dqbh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='37';
20230424@080033.7260 352ah2etn14s9msh7r7a66dqbh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='37';
20230424@080033.7271 352ah2etn14s9msh7r7a66dqbh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='37';
20230424@080033.7596 sdeipdnkvopglqk396qdcd52pv Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230424@080033.7608 sdeipdnkvopglqk396qdcd52pv Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230424@080033.7620 sdeipdnkvopglqk396qdcd52pv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='38';
20230424@080033.7655 sdeipdnkvopglqk396qdcd52pv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='38';
20230424@080033.7668 sdeipdnkvopglqk396qdcd52pv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='38';
20230424@080033.7678 sdeipdnkvopglqk396qdcd52pv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='38';
20230424@080033.7688 sdeipdnkvopglqk396qdcd52pv Query : use flama_phc
20230424@080033.7690 sdeipdnkvopglqk396qdcd52pv Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230424@080033.7702 sdeipdnkvopglqk396qdcd52pv Query : use flama_phc
20230424@080033.7705 sdeipdnkvopglqk396qdcd52pv Query : select no, estab,szadrsdesc from szadrs where u_coddest=419
20230424@080033.7778 sdeipdnkvopglqk396qdcd52pv 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@080033.7923 sdeipdnkvopglqk396qdcd52pv 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.1416.00.1' and bi.lordem =2
20230424@080033.8233 sdeipdnkvopglqk396qdcd52pv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5501.00.1'
20230424@080033.8381 sdeipdnkvopglqk396qdcd52pv 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.5501.00.1' and bi.lordem =4
20230424@080033.8690 sdeipdnkvopglqk396qdcd52pv 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@080033.8880 sdeipdnkvopglqk396qdcd52pv 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.1406.00.1' and bi.lordem =6
20230424@080033.9191 sdeipdnkvopglqk396qdcd52pv Query : use flama_phc
20230424@080033.9195 sdeipdnkvopglqk396qdcd52pv Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230424@080033.9209 sdeipdnkvopglqk396qdcd52pv Query : use flama_phc
20230424@080033.9212 sdeipdnkvopglqk396qdcd52pv Query : select top 1 1 valor from td where td.ndoc = 39
20230424@080033.9222 sdeipdnkvopglqk396qdcd52pv Query : use flama_phc
20230424@080033.9225 sdeipdnkvopglqk396qdcd52pv Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230424@080033.9235 sdeipdnkvopglqk396qdcd52pv 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@080033.9249 sdeipdnkvopglqk396qdcd52pv Query : use flama_phc
20230424@080033.9252 sdeipdnkvopglqk396qdcd52pv Query : select top 1 ~inactivo valor from cl where no = '100184' and estab = 0 order by inactivo desc
20230424@080033.9353 sdeipdnkvopglqk396qdcd52pv Query : use flama_phc
20230424@080033.9356 sdeipdnkvopglqk396qdcd52pv Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230424@080033.9366 sdeipdnkvopglqk396qdcd52pv Query : use flama_phc
20230424@080033.9369 sdeipdnkvopglqk396qdcd52pv Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230424@080033.9378 sdeipdnkvopglqk396qdcd52pv Query : use flama_phc
20230424@080033.9381 sdeipdnkvopglqk396qdcd52pv Query : select szadrsstamp valor from szadrs where szadrsdesc='vale & vale, lda.'
20230424@080033.9392 sdeipdnkvopglqk396qdcd52pv Query : use flama_phc
20230424@080033.9395 sdeipdnkvopglqk396qdcd52pv Query : select 1 valor from td where ndoc = 39
20230424@080033.9403 sdeipdnkvopglqk396qdcd52pv Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230424@080033.9414 sdeipdnkvopglqk396qdcd52pv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230424@080033.9427 sdeipdnkvopglqk396qdcd52pv Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230424@080033.9436 sdeipdnkvopglqk396qdcd52pv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230424@080033.9448 sdeipdnkvopglqk396qdcd52pv Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230424@080033.9452 sdeipdnkvopglqk396qdcd52pv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230424@080033.9458 sdeipdnkvopglqk396qdcd52pv Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230424@080033.9498 sdeipdnkvopglqk396qdcd52pv Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230424@080033.9508 sdeipdnkvopglqk396qdcd52pv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230424@080033.9514 sdeipdnkvopglqk396qdcd52pv Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644629531164462911e6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@080033.9519 sdeipdnkvopglqk396qdcd52pv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230424@080033.9531 sdeipdnkvopglqk396qdcd52pv Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230424@080033.9535 sdeipdnkvopglqk396qdcd52pv Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut644629531164462911e6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@080033.9539 sdeipdnkvopglqk396qdcd52pv Query : select top 1 fno valor from wsft039data order by fno desc
20230424@080033.9548 sdeipdnkvopglqk396qdcd52pv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230424@080033.9561 sdeipdnkvopglqk396qdcd52pv Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230424@080033.9570 sdeipdnkvopglqk396qdcd52pv 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 ('aut644629531164462911e6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',15,100184,0,'2023-04-24',39,'euro',0,0,2023 ,'20230424','0830',?,?,?)
20230424@080033.9815 sdeipdnkvopglqk396qdcd52pv Query : use flama_phc
20230424@080033.9846 sdeipdnkvopglqk396qdcd52pv Query : select st.usalote valor from st where st.ref = '324.1416.00.1'
20230424@080033.9858 sdeipdnkvopglqk396qdcd52pv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230424@080033.9998 sdeipdnkvopglqk396qdcd52pv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@080034.1200 sdeipdnkvopglqk396qdcd52pv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230424@080034.4400 sdeipdnkvopglqk396qdcd52pv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@080034.5900 sdeipdnkvopglqk396qdcd52pv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230424@080034.6300 sdeipdnkvopglqk396qdcd52pv Query : select sestamp valor from se where ref ='324.1416.00.1' and lote = 'r2101113200a'
20230424@080034.8000 sdeipdnkvopglqk396qdcd52pv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230424@080034.8900 sdeipdnkvopglqk396qdcd52pv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@080034.1010 sdeipdnkvopglqk396qdcd52pv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230424@080034.1110 sdeipdnkvopglqk396qdcd52pv Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut64462905406446291202',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24 ,'aut644629531164462911e6' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230424@080034.3320 sdeipdnkvopglqk396qdcd52pv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@080034.3470 sdeipdnkvopglqk396qdcd52pv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230424@080034.3510 sdeipdnkvopglqk396qdcd52pv Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64462905406446291202','aut644629531164462911e6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@080034.3560 sdeipdnkvopglqk396qdcd52pv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@080034.3690 sdeipdnkvopglqk396qdcd52pv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230424@080034.3790 sdeipdnkvopglqk396qdcd52pv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@080034.3920 sdeipdnkvopglqk396qdcd52pv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230424@080034.4180 sdeipdnkvopglqk396qdcd52pv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230424@080034.4280 sdeipdnkvopglqk396qdcd52pv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@080034.4400 sdeipdnkvopglqk396qdcd52pv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230424@080034.4490 sdeipdnkvopglqk396qdcd52pv Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6446239581644629120a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut644629531164462911e6' ,0,0 ,2,23.00,20000,?,?,?)
20230424@080034.6730 sdeipdnkvopglqk396qdcd52pv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@080034.6880 sdeipdnkvopglqk396qdcd52pv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230424@080034.6920 sdeipdnkvopglqk396qdcd52pv Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446239581644629120a','aut644629531164462911e6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@080034.6960 sdeipdnkvopglqk396qdcd52pv Query : use flama_phc
20230424@080034.6990 sdeipdnkvopglqk396qdcd52pv Query : select st.usalote valor from st where st.ref = '324.5501.00.1'
20230424@080034.7100 sdeipdnkvopglqk396qdcd52pv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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.5501.00.1'
20230424@080034.8510 sdeipdnkvopglqk396qdcd52pv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@080034.8660 sdeipdnkvopglqk396qdcd52pv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230424@080034.8760 sdeipdnkvopglqk396qdcd52pv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@080034.8880 sdeipdnkvopglqk396qdcd52pv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230424@080034.8920 sdeipdnkvopglqk396qdcd52pv Query : select sestamp valor from se where ref ='324.5501.00.1' and lote = 'r2200800200a'
20230424@080034.9030 sdeipdnkvopglqk396qdcd52pv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230424@080034.9120 sdeipdnkvopglqk396qdcd52pv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@080034.9230 sdeipdnkvopglqk396qdcd52pv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230424@080034.9320 sdeipdnkvopglqk396qdcd52pv Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut64462988716446291216',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24 ,'aut644629531164462911e6' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230424@080034.1148 sdeipdnkvopglqk396qdcd52pv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@080034.1162 sdeipdnkvopglqk396qdcd52pv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230424@080034.1166 sdeipdnkvopglqk396qdcd52pv Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut64462988716446291216','aut644629531164462911e6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@080034.1170 sdeipdnkvopglqk396qdcd52pv Query : use flama_phc
20230424@080034.1173 sdeipdnkvopglqk396qdcd52pv Query : select st.usalote valor from st where st.ref = '324.1406.00.1'
20230424@080034.1184 sdeipdnkvopglqk396qdcd52pv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1406.00.1'
20230424@080034.1324 sdeipdnkvopglqk396qdcd52pv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@080034.1337 sdeipdnkvopglqk396qdcd52pv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230424@080034.1346 sdeipdnkvopglqk396qdcd52pv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@080034.1357 sdeipdnkvopglqk396qdcd52pv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230424@080034.1361 sdeipdnkvopglqk396qdcd52pv Query : select sestamp valor from se where ref ='324.1406.00.1' and lote = '0720'
20230424@080034.1367 sdeipdnkvopglqk396qdcd52pv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230424@080034.1377 sdeipdnkvopglqk396qdcd52pv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@080034.1389 sdeipdnkvopglqk396qdcd52pv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230424@080034.1399 sdeipdnkvopglqk396qdcd52pv Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut64462630096446291221',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12 ,'aut644629531164462911e6' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20230424@080034.1649 sdeipdnkvopglqk396qdcd52pv Query : use flama_phc
20230424@080034.1653 sdeipdnkvopglqk396qdcd52pv Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20230424@080034.1664 sdeipdnkvopglqk396qdcd52pv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='38';
20230424@080034.1673 sdeipdnkvopglqk396qdcd52pv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='38';

20230424@083113.8104 gs7q05nrqp5ao73rtjnvt6tvqg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='39';
20230424@083113.8115 gs7q05nrqp5ao73rtjnvt6tvqg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='39';
20230424@083113.8124 gs7q05nrqp5ao73rtjnvt6tvqg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='39';

20230424@180725.4014 v9v41247hl5bcj45bj05t5mip3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='40';
20230424@180725.4035 v9v41247hl5bcj45bj05t5mip3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='40';
20230424@180725.4045 v9v41247hl5bcj45bj05t5mip3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='40';
20230424@180725.4055 v9v41247hl5bcj45bj05t5mip3 Query : use flama_phc
20230424@180725.4060 v9v41247hl5bcj45bj05t5mip3 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230424@180725.4102 v9v41247hl5bcj45bj05t5mip3 Query : use flama_phc
20230424@180725.4105 v9v41247hl5bcj45bj05t5mip3 Query : select no, estab,szadrsdesc from szadrs where u_coddest=6625
20230424@180725.4182 v9v41247hl5bcj45bj05t5mip3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4910.00.1'
20230424@180725.4317 v9v41247hl5bcj45bj05t5mip3 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.4910.00.1' and bi.lordem =1
20230424@180725.4630 v9v41247hl5bcj45bj05t5mip3 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'
20230424@180725.4786 v9v41247hl5bcj45bj05t5mip3 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.4421.00.1' and bi.lordem =2
20230424@180725.5068 v9v41247hl5bcj45bj05t5mip3 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@180725.5190 v9v41247hl5bcj45bj05t5mip3 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 =3
20230424@180725.5461 v9v41247hl5bcj45bj05t5mip3 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@180725.5594 v9v41247hl5bcj45bj05t5mip3 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.948.00.01' and bi.lordem =4
20230424@180725.5980 v9v41247hl5bcj45bj05t5mip3 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'
20230424@180725.6116 v9v41247hl5bcj45bj05t5mip3 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
20230424@180725.6453 v9v41247hl5bcj45bj05t5mip3 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'
20230424@180725.6579 v9v41247hl5bcj45bj05t5mip3 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 =6
20230424@180725.6864 v9v41247hl5bcj45bj05t5mip3 Query : use flama_phc
20230424@180725.6868 v9v41247hl5bcj45bj05t5mip3 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230424@180725.7042 v9v41247hl5bcj45bj05t5mip3 Query : use flama_phc
20230424@180725.7045 v9v41247hl5bcj45bj05t5mip3 Query : select top 1 1 valor from td where td.ndoc = 39
20230424@180725.7094 v9v41247hl5bcj45bj05t5mip3 Query : use flama_phc
20230424@180725.7097 v9v41247hl5bcj45bj05t5mip3 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230424@180725.7135 v9v41247hl5bcj45bj05t5mip3 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@180725.7216 v9v41247hl5bcj45bj05t5mip3 Query : use flama_phc
20230424@180725.7220 v9v41247hl5bcj45bj05t5mip3 Query : select top 1 ~inactivo valor from cl where no = '200500' and estab = 0 order by inactivo desc
20230424@180725.7307 v9v41247hl5bcj45bj05t5mip3 Query : use flama_phc
20230424@180725.7310 v9v41247hl5bcj45bj05t5mip3 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230424@180725.7355 v9v41247hl5bcj45bj05t5mip3 Query : use flama_phc
20230424@180725.7358 v9v41247hl5bcj45bj05t5mip3 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230424@180725.7394 v9v41247hl5bcj45bj05t5mip3 Query : use flama_phc
20230424@180725.7397 v9v41247hl5bcj45bj05t5mip3 Query : select szadrsstamp valor from szadrs where szadrsdesc='eldisser - mesur'
20230424@180725.7411 v9v41247hl5bcj45bj05t5mip3 Query : use flama_phc
20230424@180725.7414 v9v41247hl5bcj45bj05t5mip3 Query : select 1 valor from td where ndoc = 39
20230424@180725.7459 v9v41247hl5bcj45bj05t5mip3 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230424@180725.7505 v9v41247hl5bcj45bj05t5mip3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230424@180725.7787 v9v41247hl5bcj45bj05t5mip3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230424@180725.7830 v9v41247hl5bcj45bj05t5mip3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230424@180725.8101 v9v41247hl5bcj45bj05t5mip3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230424@180725.8124 v9v41247hl5bcj45bj05t5mip3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230424@180725.8373 v9v41247hl5bcj45bj05t5mip3 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230424@180725.8534 v9v41247hl5bcj45bj05t5mip3 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230424@180725.8592 v9v41247hl5bcj45bj05t5mip3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230424@180725.8600 v9v41247hl5bcj45bj05t5mip3 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b425046446b74dcc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180725.9155 v9v41247hl5bcj45bj05t5mip3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230424@180725.9171 v9v41247hl5bcj45bj05t5mip3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230424@180725.9194 v9v41247hl5bcj45bj05t5mip3 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b425046446b74dcc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180726.5840 v9v41247hl5bcj45bj05t5mip3 Query : select top 1 fno valor from wsft039data order by fno desc
20230424@180726.6360 v9v41247hl5bcj45bj05t5mip3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230424@180726.6490 v9v41247hl5bcj45bj05t5mip3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230424@180726.6770 v9v41247hl5bcj45bj05t5mip3 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 ('aut6446b425046446b74dcc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',15,200500,0,'2023-04-24',39,'euro',0,0,2023 ,'20230424','1837',?,?,?)
20230424@180726.1454 v9v41247hl5bcj45bj05t5mip3 Query : use flama_phc
20230424@180726.1459 v9v41247hl5bcj45bj05t5mip3 Query : select st.usalote valor from st where st.ref = '324.4910.00.1'
20230424@180726.1559 v9v41247hl5bcj45bj05t5mip3 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4910.00.1'
20230424@180726.1667 v9v41247hl5bcj45bj05t5mip3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180726.1927 v9v41247hl5bcj45bj05t5mip3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230424@180726.1967 v9v41247hl5bcj45bj05t5mip3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180726.2273 v9v41247hl5bcj45bj05t5mip3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230424@180726.2296 v9v41247hl5bcj45bj05t5mip3 Query : select sestamp valor from se where ref ='324.4910.00.1' and lote = 'r2100754100a'
20230424@180726.2346 v9v41247hl5bcj45bj05t5mip3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230424@180726.2381 v9v41247hl5bcj45bj05t5mip3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180726.2395 v9v41247hl5bcj45bj05t5mip3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230424@180726.2425 v9v41247hl5bcj45bj05t5mip3 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6446b877226446b74e3a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6 ,'aut6446b425046446b74dcc' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230424@180726.2940 v9v41247hl5bcj45bj05t5mip3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180726.2955 v9v41247hl5bcj45bj05t5mip3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230424@180726.2978 v9v41247hl5bcj45bj05t5mip3 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b877226446b74e3a','aut6446b425046446b74dcc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180726.3063 v9v41247hl5bcj45bj05t5mip3 Query : use flama_phc
20230424@180726.3067 v9v41247hl5bcj45bj05t5mip3 Query : select st.usalote valor from st where st.ref = '324.4421.00.1'
20230424@180726.3079 v9v41247hl5bcj45bj05t5mip3 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4421.00.1'
20230424@180726.3222 v9v41247hl5bcj45bj05t5mip3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180726.3235 v9v41247hl5bcj45bj05t5mip3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230424@180726.3245 v9v41247hl5bcj45bj05t5mip3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180726.3257 v9v41247hl5bcj45bj05t5mip3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230424@180726.3262 v9v41247hl5bcj45bj05t5mip3 Query : select sestamp valor from se where ref ='324.4421.00.1' and lote = 'r2200226300a'
20230424@180726.3273 v9v41247hl5bcj45bj05t5mip3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230424@180726.3284 v9v41247hl5bcj45bj05t5mip3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180726.3297 v9v41247hl5bcj45bj05t5mip3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230424@180726.3307 v9v41247hl5bcj45bj05t5mip3 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6446b316026446b74e50',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12 ,'aut6446b425046446b74dcc' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20230424@180726.3530 v9v41247hl5bcj45bj05t5mip3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180726.3548 v9v41247hl5bcj45bj05t5mip3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230424@180726.3553 v9v41247hl5bcj45bj05t5mip3 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b316026446b74e50','aut6446b425046446b74dcc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180726.3557 v9v41247hl5bcj45bj05t5mip3 Query : use flama_phc
20230424@180726.3561 v9v41247hl5bcj45bj05t5mip3 Query : select st.usalote valor from st where st.ref = '324.1705.00.1'
20230424@180726.3572 v9v41247hl5bcj45bj05t5mip3 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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@180726.3706 v9v41247hl5bcj45bj05t5mip3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180726.3722 v9v41247hl5bcj45bj05t5mip3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230424@180726.3733 v9v41247hl5bcj45bj05t5mip3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180726.3746 v9v41247hl5bcj45bj05t5mip3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230424@180726.3750 v9v41247hl5bcj45bj05t5mip3 Query : select sestamp valor from se where ref ='324.1705.00.1' and lote = 'r2200112200a'
20230424@180726.3761 v9v41247hl5bcj45bj05t5mip3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230424@180726.3771 v9v41247hl5bcj45bj05t5mip3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180726.3782 v9v41247hl5bcj45bj05t5mip3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230424@180726.3792 v9v41247hl5bcj45bj05t5mip3 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6446b987826446b74e5c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4 ,'aut6446b425046446b74dcc' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20230424@180726.3996 v9v41247hl5bcj45bj05t5mip3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180726.4012 v9v41247hl5bcj45bj05t5mip3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230424@180726.4016 v9v41247hl5bcj45bj05t5mip3 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b987826446b74e5c','aut6446b425046446b74dcc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180726.4021 v9v41247hl5bcj45bj05t5mip3 Query : use flama_phc
20230424@180726.4024 v9v41247hl5bcj45bj05t5mip3 Query : select st.usalote valor from st where st.ref = '324.948.00.01'
20230424@180726.4035 v9v41247hl5bcj45bj05t5mip3 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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@180726.4160 v9v41247hl5bcj45bj05t5mip3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180726.4173 v9v41247hl5bcj45bj05t5mip3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230424@180726.4182 v9v41247hl5bcj45bj05t5mip3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180726.4194 v9v41247hl5bcj45bj05t5mip3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230424@180726.4198 v9v41247hl5bcj45bj05t5mip3 Query : select sestamp valor from se where ref ='324.948.00.01' and lote = '01/21'
20230424@180726.4204 v9v41247hl5bcj45bj05t5mip3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230424@180726.4214 v9v41247hl5bcj45bj05t5mip3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180726.4226 v9v41247hl5bcj45bj05t5mip3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230424@180726.4236 v9v41247hl5bcj45bj05t5mip3 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6446b461256446b74e66',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8 ,'aut6446b425046446b74dcc' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230424@180726.4458 v9v41247hl5bcj45bj05t5mip3 Query : use flama_phc
20230424@180726.4462 v9v41247hl5bcj45bj05t5mip3 Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20230424@180726.4522 v9v41247hl5bcj45bj05t5mip3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='40';
20230424@180726.4533 v9v41247hl5bcj45bj05t5mip3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='40';
20230424@180726.4866 n2nk4fcivcbc7pd8t3b3k2h9hn Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230424@180726.4881 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230424@180726.4893 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='41';
20230424@180726.4928 n2nk4fcivcbc7pd8t3b3k2h9hn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='41';
20230424@180726.4939 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='41';
20230424@180726.4950 n2nk4fcivcbc7pd8t3b3k2h9hn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='41';
20230424@180726.4959 n2nk4fcivcbc7pd8t3b3k2h9hn Query : use flama_phc
20230424@180726.4962 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230424@180726.4977 n2nk4fcivcbc7pd8t3b3k2h9hn Query : use flama_phc
20230424@180726.4981 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select no, estab,szadrsdesc from szadrs where u_coddest=170
20230424@180726.5050 n2nk4fcivcbc7pd8t3b3k2h9hn 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@180726.5183 n2nk4fcivcbc7pd8t3b3k2h9hn 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.1675.00.2' and bi.lordem =1
20230424@180726.5501 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1670.00.1'
20230424@180726.5634 n2nk4fcivcbc7pd8t3b3k2h9hn 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.1670.00.1' and bi.lordem =2
20230424@180726.5924 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1670.00.1'
20230424@180726.5934 n2nk4fcivcbc7pd8t3b3k2h9hn 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.1670.00.1' and bi.lordem =3
20230424@180726.6235 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1670.00.1'
20230424@180726.6245 n2nk4fcivcbc7pd8t3b3k2h9hn 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.1670.00.1' and bi.lordem =4
20230424@180726.6545 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1676.00.1'
20230424@180726.6685 n2nk4fcivcbc7pd8t3b3k2h9hn 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.1676.00.1' and bi.lordem =5
20230424@180726.7407 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1676.00.1'
20230424@180726.7697 n2nk4fcivcbc7pd8t3b3k2h9hn 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.1676.00.1' and bi.lordem =6
20230424@180726.7987 n2nk4fcivcbc7pd8t3b3k2h9hn 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@180726.7997 n2nk4fcivcbc7pd8t3b3k2h9hn 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.1675.00.2' and bi.lordem =7
20230424@180726.8254 n2nk4fcivcbc7pd8t3b3k2h9hn Query : use flama_phc
20230424@180726.8258 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230424@180726.8271 n2nk4fcivcbc7pd8t3b3k2h9hn Query : use flama_phc
20230424@180726.8274 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select top 1 1 valor from td where td.ndoc = 39
20230424@180726.8284 n2nk4fcivcbc7pd8t3b3k2h9hn Query : use flama_phc
20230424@180726.8287 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230424@180726.8298 n2nk4fcivcbc7pd8t3b3k2h9hn 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@180726.8314 n2nk4fcivcbc7pd8t3b3k2h9hn Query : use flama_phc
20230424@180726.8317 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select top 1 ~inactivo valor from cl where no = '102068' and estab = 0 order by inactivo desc
20230424@180726.8404 n2nk4fcivcbc7pd8t3b3k2h9hn Query : use flama_phc
20230424@180726.8407 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230424@180726.8417 n2nk4fcivcbc7pd8t3b3k2h9hn Query : use flama_phc
20230424@180726.8420 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230424@180726.8431 n2nk4fcivcbc7pd8t3b3k2h9hn Query : use flama_phc
20230424@180726.8434 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select szadrsstamp valor from szadrs where szadrsdesc='magalhÃes & vinha, lda.'
20230424@180726.8447 n2nk4fcivcbc7pd8t3b3k2h9hn Query : use flama_phc
20230424@180726.8451 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select 1 valor from td where ndoc = 39
20230424@180726.8462 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230424@180726.8473 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230424@180726.8486 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230424@180726.8497 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230424@180726.8509 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230424@180726.8513 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230424@180726.8522 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230424@180726.8561 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230424@180726.8571 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230424@180726.8577 n2nk4fcivcbc7pd8t3b3k2h9hn Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b480066446b74ed0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180726.8587 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230424@180726.8600 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230424@180726.8604 n2nk4fcivcbc7pd8t3b3k2h9hn Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b480066446b74ed0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180726.8613 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select top 1 fno valor from wsft039data order by fno desc
20230424@180726.8623 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230424@180726.8635 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230424@180726.8644 n2nk4fcivcbc7pd8t3b3k2h9hn 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 ('aut6446b480066446b74ed0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',15,102068,0,'2023-04-24',39,'euro',0,0,2023 ,'20230424','1837',?,?,?)
20230424@180726.8880 n2nk4fcivcbc7pd8t3b3k2h9hn Query : use flama_phc
20230424@180726.8884 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select st.usalote valor from st where st.ref = '324.1675.00.2'
20230424@180726.8895 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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@180726.9026 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180726.9039 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230424@180726.9049 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180726.9062 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230424@180726.9066 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select sestamp valor from se where ref ='324.1675.00.2' and lote = 'r2200299200a'
20230424@180726.9077 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230424@180726.9087 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180726.9098 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230424@180726.9108 n2nk4fcivcbc7pd8t3b3k2h9hn Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6446b692036446b74edd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',15 ,'aut6446b480066446b74ed0' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230424@180726.9327 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180726.9341 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230424@180726.9346 n2nk4fcivcbc7pd8t3b3k2h9hn Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b692036446b74edd','aut6446b480066446b74ed0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180726.9358 n2nk4fcivcbc7pd8t3b3k2h9hn Query : use flama_phc
20230424@180726.9361 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select st.usalote valor from st where st.ref = '324.1670.00.1'
20230424@180726.9375 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1670.00.1'
20230424@180726.9582 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180726.9595 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230424@180726.9604 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180726.9616 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230424@180726.9620 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select sestamp valor from se where ref ='324.1670.00.1' and lote = 'r2100590100a'
20230424@180726.9631 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230424@180726.9640 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180726.9652 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230424@180726.9662 n2nk4fcivcbc7pd8t3b3k2h9hn Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6446b174816446b74eeb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',15 ,'aut6446b480066446b74ed0' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20230424@180726.9876 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180726.9889 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230424@180726.9895 n2nk4fcivcbc7pd8t3b3k2h9hn Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b174816446b74eeb','aut6446b480066446b74ed0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180726.9899 n2nk4fcivcbc7pd8t3b3k2h9hn Query : use flama_phc
20230424@180726.9902 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select st.usalote valor from st where st.ref = '324.1670.00.1'
20230424@180726.9915 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1670.00.1'
20230424@180726.9925 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180726.9937 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230424@180726.9948 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180726.9962 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230424@180726.9967 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select sestamp valor from se where ref ='324.1670.00.1' and lote = 'r2100590100a'
20230424@180726.9977 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230424@180726.9986 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180726.9998 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230424@180727.7000 n2nk4fcivcbc7pd8t3b3k2h9hn Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6446b133416446b74ef3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1 ,'aut6446b480066446b74ed0' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20230424@180727.2100 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180727.2230 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230424@180727.2270 n2nk4fcivcbc7pd8t3b3k2h9hn Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b133416446b74ef3','aut6446b480066446b74ed0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180727.2320 n2nk4fcivcbc7pd8t3b3k2h9hn Query : use flama_phc
20230424@180727.2350 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select st.usalote valor from st where st.ref = '324.1670.00.1'
20230424@180727.2450 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1670.00.1'
20230424@180727.2560 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180727.2680 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230424@180727.2770 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180727.2890 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230424@180727.2930 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select sestamp valor from se where ref ='324.1670.00.1' and lote = 'r2100590100a'
20230424@180727.3040 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230424@180727.3130 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180727.3240 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230424@180727.3330 n2nk4fcivcbc7pd8t3b3k2h9hn Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6446b149006446b74f07',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1 ,'aut6446b480066446b74ed0' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20230424@180727.5340 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180727.5460 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230424@180727.5510 n2nk4fcivcbc7pd8t3b3k2h9hn Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b149006446b74f07','aut6446b480066446b74ed0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180727.5550 n2nk4fcivcbc7pd8t3b3k2h9hn Query : use flama_phc
20230424@180727.5580 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select st.usalote valor from st where st.ref = '324.1676.00.1'
20230424@180727.5690 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1676.00.1'
20230424@180727.6970 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180727.7100 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230424@180727.7190 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180727.7310 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230424@180727.7350 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select sestamp valor from se where ref ='324.1676.00.1' and lote = 'r2200299100a'
20230424@180727.7450 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230424@180727.7540 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180727.7650 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230424@180727.7750 n2nk4fcivcbc7pd8t3b3k2h9hn Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6446b779626446b74f12',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',15 ,'aut6446b480066446b74ed0' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20230424@180727.9670 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180727.9790 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230424@180727.9840 n2nk4fcivcbc7pd8t3b3k2h9hn Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b779626446b74f12','aut6446b480066446b74ed0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180727.9880 n2nk4fcivcbc7pd8t3b3k2h9hn Query : use flama_phc
20230424@180727.9910 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select st.usalote valor from st where st.ref = '324.1676.00.1'
20230424@180727.1001 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1676.00.1'
20230424@180727.1011 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180727.1022 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230424@180727.1031 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180727.1043 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230424@180727.1047 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select sestamp valor from se where ref ='324.1676.00.1' and lote = 'r2200299100a'
20230424@180727.1057 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230424@180727.1066 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180727.1081 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230424@180727.1091 n2nk4fcivcbc7pd8t3b3k2h9hn Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6446b360106446b74f1a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1 ,'aut6446b480066446b74ed0' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20230424@180727.1287 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180727.1300 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230424@180727.1304 n2nk4fcivcbc7pd8t3b3k2h9hn Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b360106446b74f1a','aut6446b480066446b74ed0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180727.1308 n2nk4fcivcbc7pd8t3b3k2h9hn Query : use flama_phc
20230424@180727.1311 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select st.usalote valor from st where st.ref = '324.1675.00.2'
20230424@180727.1321 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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@180727.1332 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180727.1343 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230424@180727.1353 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180727.1364 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230424@180727.1368 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select sestamp valor from se where ref ='324.1675.00.2' and lote = 'r2200299200a'
20230424@180727.1378 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230424@180727.1387 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180727.1399 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230424@180727.1408 n2nk4fcivcbc7pd8t3b3k2h9hn Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6446b522266446b74f21',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1 ,'aut6446b480066446b74ed0' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20230424@180727.1594 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180727.1607 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230424@180727.1611 n2nk4fcivcbc7pd8t3b3k2h9hn Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b522266446b74f21','aut6446b480066446b74ed0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180727.1616 n2nk4fcivcbc7pd8t3b3k2h9hn Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6446b480066446b74ed0','','wait',39,'ari17112337378,753000005')
20230424@180727.1650 n2nk4fcivcbc7pd8t3b3k2h9hn Query : use flama_phc
20230424@180727.1652 n2nk4fcivcbc7pd8t3b3k2h9hn Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230424@180727.1666 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='41';
20230424@180727.1677 n2nk4fcivcbc7pd8t3b3k2h9hn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='41';
20230424@180727.1689 n2nk4fcivcbc7pd8t3b3k2h9hn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='41';
20230424@180727.1699 n2nk4fcivcbc7pd8t3b3k2h9hn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='41';
20230424@180727.2019 ip1o6edgmbjdl72qeuo9gd5qos Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230424@180727.2031 ip1o6edgmbjdl72qeuo9gd5qos Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230424@180727.2042 ip1o6edgmbjdl72qeuo9gd5qos Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='42';
20230424@180727.2076 ip1o6edgmbjdl72qeuo9gd5qos Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='42';
20230424@180727.2091 ip1o6edgmbjdl72qeuo9gd5qos Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='42';
20230424@180727.2102 ip1o6edgmbjdl72qeuo9gd5qos Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='42';
20230424@180727.2113 ip1o6edgmbjdl72qeuo9gd5qos Query : use flama_phc
20230424@180727.2117 ip1o6edgmbjdl72qeuo9gd5qos Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230424@180727.2129 ip1o6edgmbjdl72qeuo9gd5qos Query : use flama_phc
20230424@180727.2132 ip1o6edgmbjdl72qeuo9gd5qos Query : select no, estab,szadrsdesc from szadrs where u_coddest=5546
20230424@180727.2206 ip1o6edgmbjdl72qeuo9gd5qos 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'
20230424@180727.2217 ip1o6edgmbjdl72qeuo9gd5qos 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.2221.00.1' and bi.lordem =1
20230424@180727.2513 ip1o6edgmbjdl72qeuo9gd5qos Query : use flama_phc
20230424@180727.2516 ip1o6edgmbjdl72qeuo9gd5qos Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230424@180727.2529 ip1o6edgmbjdl72qeuo9gd5qos Query : use flama_phc
20230424@180727.2532 ip1o6edgmbjdl72qeuo9gd5qos Query : select top 1 1 valor from td where td.ndoc = 39
20230424@180727.2542 ip1o6edgmbjdl72qeuo9gd5qos Query : use flama_phc
20230424@180727.2544 ip1o6edgmbjdl72qeuo9gd5qos Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230424@180727.2555 ip1o6edgmbjdl72qeuo9gd5qos 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@180727.2569 ip1o6edgmbjdl72qeuo9gd5qos Query : use flama_phc
20230424@180727.2572 ip1o6edgmbjdl72qeuo9gd5qos Query : select top 1 ~inactivo valor from cl where no = '199506' and estab = 0 order by inactivo desc
20230424@180727.2661 ip1o6edgmbjdl72qeuo9gd5qos Query : use flama_phc
20230424@180727.2665 ip1o6edgmbjdl72qeuo9gd5qos Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230424@180727.2675 ip1o6edgmbjdl72qeuo9gd5qos Query : use flama_phc
20230424@180727.2678 ip1o6edgmbjdl72qeuo9gd5qos Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230424@180727.2688 ip1o6edgmbjdl72qeuo9gd5qos Query : use flama_phc
20230424@180727.2691 ip1o6edgmbjdl72qeuo9gd5qos Query : select szadrsstamp valor from szadrs where szadrsdesc='199506 - itmp alimentar, s.a.'
20230424@180727.2703 ip1o6edgmbjdl72qeuo9gd5qos Query : use flama_phc
20230424@180727.2706 ip1o6edgmbjdl72qeuo9gd5qos Query : select 1 valor from td where ndoc = 39
20230424@180727.2716 ip1o6edgmbjdl72qeuo9gd5qos Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230424@180727.2727 ip1o6edgmbjdl72qeuo9gd5qos Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230424@180727.2740 ip1o6edgmbjdl72qeuo9gd5qos Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230424@180727.2749 ip1o6edgmbjdl72qeuo9gd5qos Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230424@180727.2762 ip1o6edgmbjdl72qeuo9gd5qos Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230424@180727.2767 ip1o6edgmbjdl72qeuo9gd5qos Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230424@180727.2773 ip1o6edgmbjdl72qeuo9gd5qos Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230424@180727.2814 ip1o6edgmbjdl72qeuo9gd5qos Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230424@180727.2824 ip1o6edgmbjdl72qeuo9gd5qos Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230424@180727.2830 ip1o6edgmbjdl72qeuo9gd5qos Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b356666446b74f43' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180727.2835 ip1o6edgmbjdl72qeuo9gd5qos Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230424@180727.2847 ip1o6edgmbjdl72qeuo9gd5qos Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230424@180727.2851 ip1o6edgmbjdl72qeuo9gd5qos Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b356666446b74f43',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180727.2855 ip1o6edgmbjdl72qeuo9gd5qos Query : select top 1 fno valor from wsft039data order by fno desc
20230424@180727.2865 ip1o6edgmbjdl72qeuo9gd5qos Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230424@180727.2877 ip1o6edgmbjdl72qeuo9gd5qos Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230424@180727.2887 ip1o6edgmbjdl72qeuo9gd5qos 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 ('aut6446b356666446b74f43',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16,199506,0,'2023-04-24',39,'euro',0,0,2023 ,'20230424','1837',?,?,?)
20230424@180727.3132 ip1o6edgmbjdl72qeuo9gd5qos Query : use flama_phc
20230424@180727.3135 ip1o6edgmbjdl72qeuo9gd5qos Query : select st.usalote valor from st where st.ref = '324.2221.00.1'
20230424@180727.3147 ip1o6edgmbjdl72qeuo9gd5qos Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230424@180727.3280 ip1o6edgmbjdl72qeuo9gd5qos Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180727.3293 ip1o6edgmbjdl72qeuo9gd5qos Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230424@180727.3303 ip1o6edgmbjdl72qeuo9gd5qos Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180727.3315 ip1o6edgmbjdl72qeuo9gd5qos Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230424@180727.3319 ip1o6edgmbjdl72qeuo9gd5qos Query : select sestamp valor from se where ref ='324.2221.00.1' and lote = 'r2101297200a'
20230424@180727.3332 ip1o6edgmbjdl72qeuo9gd5qos Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230424@180727.3342 ip1o6edgmbjdl72qeuo9gd5qos Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180727.3354 ip1o6edgmbjdl72qeuo9gd5qos Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230424@180727.3366 ip1o6edgmbjdl72qeuo9gd5qos Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6446b120686446b74f51',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',472 ,'aut6446b356666446b74f43' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230424@180727.3690 ip1o6edgmbjdl72qeuo9gd5qos Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180727.4432 ip1o6edgmbjdl72qeuo9gd5qos Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230424@180727.4437 ip1o6edgmbjdl72qeuo9gd5qos Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b120686446b74f51','aut6446b356666446b74f43' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180727.4442 ip1o6edgmbjdl72qeuo9gd5qos Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6446b356666446b74f43','','wait',39,'ari17112337378,753000005')
20230424@180727.4461 ip1o6edgmbjdl72qeuo9gd5qos Query : use flama_phc
20230424@180727.4464 ip1o6edgmbjdl72qeuo9gd5qos Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230424@180727.4478 ip1o6edgmbjdl72qeuo9gd5qos Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='42';
20230424@180727.4488 ip1o6edgmbjdl72qeuo9gd5qos Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='42';
20230424@180727.4498 ip1o6edgmbjdl72qeuo9gd5qos Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='42';
20230424@180727.4507 ip1o6edgmbjdl72qeuo9gd5qos Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='42';
20230424@180727.4803 7a730ghg91kvbf697720nuhnhr Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230424@180727.4816 7a730ghg91kvbf697720nuhnhr Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230424@180727.4827 7a730ghg91kvbf697720nuhnhr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='43';
20230424@180727.4863 7a730ghg91kvbf697720nuhnhr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='43';
20230424@180727.4874 7a730ghg91kvbf697720nuhnhr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='43';
20230424@180727.4884 7a730ghg91kvbf697720nuhnhr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='43';
20230424@180727.4893 7a730ghg91kvbf697720nuhnhr Query : use flama_phc
20230424@180727.4897 7a730ghg91kvbf697720nuhnhr Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230424@180727.4908 7a730ghg91kvbf697720nuhnhr Query : use flama_phc
20230424@180727.4915 7a730ghg91kvbf697720nuhnhr Query : select no, estab,szadrsdesc from szadrs where u_coddest=752
20230424@180727.4983 7a730ghg91kvbf697720nuhnhr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '326.595.00.01'
20230424@180727.5115 7a730ghg91kvbf697720nuhnhr 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 ='326.595.00.01' and bi.lordem =1
20230424@180727.5397 7a730ghg91kvbf697720nuhnhr Query : use flama_phc
20230424@180727.5402 7a730ghg91kvbf697720nuhnhr Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230424@180727.5415 7a730ghg91kvbf697720nuhnhr Query : use flama_phc
20230424@180727.5418 7a730ghg91kvbf697720nuhnhr Query : select top 1 1 valor from td where td.ndoc = 39
20230424@180727.5428 7a730ghg91kvbf697720nuhnhr Query : use flama_phc
20230424@180727.5430 7a730ghg91kvbf697720nuhnhr Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230424@180727.5440 7a730ghg91kvbf697720nuhnhr 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@180727.5454 7a730ghg91kvbf697720nuhnhr Query : use flama_phc
20230424@180727.5457 7a730ghg91kvbf697720nuhnhr Query : select top 1 ~inactivo valor from cl where no = '102246' and estab = 0 order by inactivo desc
20230424@180727.5542 7a730ghg91kvbf697720nuhnhr Query : use flama_phc
20230424@180727.5545 7a730ghg91kvbf697720nuhnhr Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230424@180727.5555 7a730ghg91kvbf697720nuhnhr Query : use flama_phc
20230424@180727.5558 7a730ghg91kvbf697720nuhnhr Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230424@180727.5568 7a730ghg91kvbf697720nuhnhr Query : use flama_phc
20230424@180727.5571 7a730ghg91kvbf697720nuhnhr Query : select szadrsstamp valor from szadrs where szadrsdesc='transÁfrica, lda.'
20230424@180727.5583 7a730ghg91kvbf697720nuhnhr Query : use flama_phc
20230424@180727.5586 7a730ghg91kvbf697720nuhnhr Query : select 1 valor from td where ndoc = 39
20230424@180727.5595 7a730ghg91kvbf697720nuhnhr Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230424@180727.5606 7a730ghg91kvbf697720nuhnhr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230424@180727.5619 7a730ghg91kvbf697720nuhnhr Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230424@180727.5628 7a730ghg91kvbf697720nuhnhr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230424@180727.5643 7a730ghg91kvbf697720nuhnhr Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230424@180727.5647 7a730ghg91kvbf697720nuhnhr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230424@180727.5653 7a730ghg91kvbf697720nuhnhr Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230424@180727.5693 7a730ghg91kvbf697720nuhnhr Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230424@180727.5702 7a730ghg91kvbf697720nuhnhr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230424@180727.5707 7a730ghg91kvbf697720nuhnhr Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b800166446b74f8a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180727.5725 7a730ghg91kvbf697720nuhnhr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230424@180727.5737 7a730ghg91kvbf697720nuhnhr Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230424@180727.5741 7a730ghg91kvbf697720nuhnhr Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b800166446b74f8a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180727.5756 7a730ghg91kvbf697720nuhnhr Query : select top 1 fno valor from wsft039data order by fno desc
20230424@180727.5766 7a730ghg91kvbf697720nuhnhr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230424@180727.5777 7a730ghg91kvbf697720nuhnhr Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230424@180727.5786 7a730ghg91kvbf697720nuhnhr 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 ('aut6446b800166446b74f8a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',17,102246,0,'2023-04-24',39,'euro',0,0,2023 ,'20230424','1837',?,?,?)
20230424@180727.6032 7a730ghg91kvbf697720nuhnhr Query : use flama_phc
20230424@180727.6036 7a730ghg91kvbf697720nuhnhr Query : select st.usalote valor from st where st.ref = '326.595.00.01'
20230424@180727.6048 7a730ghg91kvbf697720nuhnhr Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '326.595.00.01'
20230424@180727.6183 7a730ghg91kvbf697720nuhnhr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180727.6196 7a730ghg91kvbf697720nuhnhr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230424@180727.6207 7a730ghg91kvbf697720nuhnhr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180727.6219 7a730ghg91kvbf697720nuhnhr Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230424@180727.6223 7a730ghg91kvbf697720nuhnhr Query : select sestamp valor from se where ref ='326.595.00.01' and lote = 'r220082220'
20230424@180727.6228 7a730ghg91kvbf697720nuhnhr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230424@180727.6238 7a730ghg91kvbf697720nuhnhr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180727.6249 7a730ghg91kvbf697720nuhnhr Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230424@180727.6259 7a730ghg91kvbf697720nuhnhr Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6446b964996446b74f98',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6 ,'aut6446b800166446b74f8a' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230424@180727.6480 7a730ghg91kvbf697720nuhnhr Query : use flama_phc
20230424@180727.6484 7a730ghg91kvbf697720nuhnhr Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20230424@180727.6495 7a730ghg91kvbf697720nuhnhr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='43';
20230424@180727.6505 7a730ghg91kvbf697720nuhnhr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='43';
20230424@180727.6837 3li028c4k492i1k5o3jps6cj5v Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230424@180727.6850 3li028c4k492i1k5o3jps6cj5v Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230424@180727.6862 3li028c4k492i1k5o3jps6cj5v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='44';
20230424@180727.6899 3li028c4k492i1k5o3jps6cj5v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='44';
20230424@180727.6909 3li028c4k492i1k5o3jps6cj5v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='44';
20230424@180727.6919 3li028c4k492i1k5o3jps6cj5v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='44';
20230424@180727.6929 3li028c4k492i1k5o3jps6cj5v Query : use flama_phc
20230424@180727.6933 3li028c4k492i1k5o3jps6cj5v Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230424@180727.6944 3li028c4k492i1k5o3jps6cj5v Query : use flama_phc
20230424@180727.6947 3li028c4k492i1k5o3jps6cj5v Query : select no, estab,szadrsdesc from szadrs where u_coddest=2138
20230424@180727.7014 3li028c4k492i1k5o3jps6cj5v 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@180727.7145 3li028c4k492i1k5o3jps6cj5v 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 ='328.9306.00.1' and bi.lordem =1
20230424@180727.7427 3li028c4k492i1k5o3jps6cj5v Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1685.00.1'
20230424@180727.7569 3li028c4k492i1k5o3jps6cj5v 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.1685.00.1' and bi.lordem =2
20230424@180727.7899 3li028c4k492i1k5o3jps6cj5v 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'
20230424@180727.8038 3li028c4k492i1k5o3jps6cj5v 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.1462.00.1' and bi.lordem =3
20230424@180727.8334 3li028c4k492i1k5o3jps6cj5v 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'
20230424@180727.8345 3li028c4k492i1k5o3jps6cj5v 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.1462.00.1' and bi.lordem =4
20230424@180727.8663 3li028c4k492i1k5o3jps6cj5v 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'
20230424@180727.8674 3li028c4k492i1k5o3jps6cj5v 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.1684.00.1' and bi.lordem =5
20230424@180727.8991 3li028c4k492i1k5o3jps6cj5v Query : use flama_phc
20230424@180727.8994 3li028c4k492i1k5o3jps6cj5v Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230424@180727.9007 3li028c4k492i1k5o3jps6cj5v Query : use flama_phc
20230424@180727.9010 3li028c4k492i1k5o3jps6cj5v Query : select top 1 1 valor from td where td.ndoc = 39
20230424@180727.9020 3li028c4k492i1k5o3jps6cj5v Query : use flama_phc
20230424@180727.9023 3li028c4k492i1k5o3jps6cj5v Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230424@180727.9034 3li028c4k492i1k5o3jps6cj5v 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@180727.9048 3li028c4k492i1k5o3jps6cj5v Query : use flama_phc
20230424@180727.9051 3li028c4k492i1k5o3jps6cj5v Query : select top 1 ~inactivo valor from cl where no = '100404' and estab = 0 order by inactivo desc
20230424@180727.9152 3li028c4k492i1k5o3jps6cj5v Query : use flama_phc
20230424@180727.9155 3li028c4k492i1k5o3jps6cj5v Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230424@180727.9164 3li028c4k492i1k5o3jps6cj5v Query : use flama_phc
20230424@180727.9167 3li028c4k492i1k5o3jps6cj5v Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230424@180727.9177 3li028c4k492i1k5o3jps6cj5v Query : use flama_phc
20230424@180727.9180 3li028c4k492i1k5o3jps6cj5v Query : select szadrsstamp valor from szadrs where szadrsdesc='bitranlis, agentes transitára'
20230424@180727.9192 3li028c4k492i1k5o3jps6cj5v Query : use flama_phc
20230424@180727.9195 3li028c4k492i1k5o3jps6cj5v Query : select 1 valor from td where ndoc = 39
20230424@180727.9203 3li028c4k492i1k5o3jps6cj5v Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230424@180727.9215 3li028c4k492i1k5o3jps6cj5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230424@180727.9228 3li028c4k492i1k5o3jps6cj5v Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230424@180727.9238 3li028c4k492i1k5o3jps6cj5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230424@180727.9250 3li028c4k492i1k5o3jps6cj5v Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230424@180727.9254 3li028c4k492i1k5o3jps6cj5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230424@180727.9261 3li028c4k492i1k5o3jps6cj5v Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230424@180727.9301 3li028c4k492i1k5o3jps6cj5v Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230424@180727.9310 3li028c4k492i1k5o3jps6cj5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230424@180727.9316 3li028c4k492i1k5o3jps6cj5v Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b060196446b74fe2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180727.9321 3li028c4k492i1k5o3jps6cj5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230424@180727.9334 3li028c4k492i1k5o3jps6cj5v Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230424@180727.9338 3li028c4k492i1k5o3jps6cj5v Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b060196446b74fe2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180727.9343 3li028c4k492i1k5o3jps6cj5v Query : select top 1 fno valor from wsft039data order by fno desc
20230424@180727.9353 3li028c4k492i1k5o3jps6cj5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230424@180727.9365 3li028c4k492i1k5o3jps6cj5v Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230424@180727.9375 3li028c4k492i1k5o3jps6cj5v 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 ('aut6446b060196446b74fe2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',17,100404,0,'2023-04-24',39,'euro',0,0,2023 ,'20230424','1837',?,?,?)
20230424@180727.9649 3li028c4k492i1k5o3jps6cj5v Query : use flama_phc
20230424@180727.9653 3li028c4k492i1k5o3jps6cj5v Query : select st.usalote valor from st where st.ref = '328.9306.00.1'
20230424@180727.9665 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 = '328.9306.00.1'
20230424@180727.9810 3li028c4k492i1k5o3jps6cj5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180727.9823 3li028c4k492i1k5o3jps6cj5v Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230424@180727.9832 3li028c4k492i1k5o3jps6cj5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180727.9844 3li028c4k492i1k5o3jps6cj5v Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230424@180727.9848 3li028c4k492i1k5o3jps6cj5v Query : select sestamp valor from se where ref ='328.9306.00.1' and lote = 'r2101101400a'
20230424@180727.9859 3li028c4k492i1k5o3jps6cj5v Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230424@180727.9868 3li028c4k492i1k5o3jps6cj5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180727.9881 3li028c4k492i1k5o3jps6cj5v Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230424@180727.9890 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 ('aut6446b537336446b74ff0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1 ,'aut6446b060196446b74fe2' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20230424@180728.1160 3li028c4k492i1k5o3jps6cj5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180728.1310 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 ('aut6446b537336446b74ff0','aut6446b060196446b74fe2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180728.1390 3li028c4k492i1k5o3jps6cj5v Query : use flama_phc
20230424@180728.1430 3li028c4k492i1k5o3jps6cj5v Query : select st.usalote valor from st where st.ref = '324.1685.00.1'
20230424@180728.1540 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.1685.00.1'
20230424@180728.2970 3li028c4k492i1k5o3jps6cj5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180728.3100 3li028c4k492i1k5o3jps6cj5v Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230424@180728.3200 3li028c4k492i1k5o3jps6cj5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180728.3310 3li028c4k492i1k5o3jps6cj5v Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230424@180728.3350 3li028c4k492i1k5o3jps6cj5v Query : select sestamp valor from se where ref ='324.1685.00.1' and lote = 'r2100529200a'
20230424@180728.3460 3li028c4k492i1k5o3jps6cj5v Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230424@180728.3550 3li028c4k492i1k5o3jps6cj5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180728.3660 3li028c4k492i1k5o3jps6cj5v Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230424@180728.3750 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 ('aut6446b424626446b75008',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20 ,'aut6446b060196446b74fe2' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20230424@180728.5960 3li028c4k492i1k5o3jps6cj5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180728.6160 3li028c4k492i1k5o3jps6cj5v Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230424@180728.6200 3li028c4k492i1k5o3jps6cj5v Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6446b424626446b75008','aut6446b060196446b74fe2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230424@180728.6250 3li028c4k492i1k5o3jps6cj5v Query : use flama_phc
20230424@180728.6280 3li028c4k492i1k5o3jps6cj5v Query : select st.usalote valor from st where st.ref = '324.1462.00.1'
20230424@180728.6400 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.7760 3li028c4k492i1k5o3jps6cj5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180728.7890 3li028c4k492i1k5o3jps6cj5v Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230424@180728.7980 3li028c4k492i1k5o3jps6cj5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230424@180728.8100 3li028c4k492i1k5o3jps6cj5v Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230424@180728.8140 3li028c4k492i1k5o3jps6cj5v Query : select sestamp valor from se where ref ='324.1462.00.1' and lote = 'r2101096200a'
20230424@180728.8240 3li028c4k492i1k5o3jps6cj5v Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230424@180728.8330 3li028c4k492i1k5o3jps6cj5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230424@180728.8450 3li028c4k492i1k5o3jps6cj5v Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230424@180728.8540 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 ('aut6446b876416446b75014',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',38 ,'aut6446b060196446b74fe2' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20230424@180728.1080 3li028c4k492i1k5o3jps6cj5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
