20230510@154756.3041 ueoac649ohh8lnt026fthm4pf9 INICIO DE FICHEIRO DE LOG :: /var/www/webservices/logs/website.sql.log
20230510@154756.3038 ueoac649ohh8lnt026fthm4pf9 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230510@154756.3057 ueoac649ohh8lnt026fthm4pf9 Query : use flama_phc
20230510@154756.3061 ueoac649ohh8lnt026fthm4pf9 Query : select top 1 1 valor from td where td.ndoc = 39
20230510@154756.3072 ueoac649ohh8lnt026fthm4pf9 Query : use flama_phc
20230510@154756.3075 ueoac649ohh8lnt026fthm4pf9 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230510@154756.3088 ueoac649ohh8lnt026fthm4pf9 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
20230510@154756.3110 ueoac649ohh8lnt026fthm4pf9 Query : use flama_phc
20230510@154756.3114 ueoac649ohh8lnt026fthm4pf9 Query : select top 1 ~inactivo valor from cl where no = '102079' and estab = 0 order by inactivo desc
20230510@154756.3213 ueoac649ohh8lnt026fthm4pf9 Query : use flama_phc
20230510@154756.3216 ueoac649ohh8lnt026fthm4pf9 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230510@154756.3227 ueoac649ohh8lnt026fthm4pf9 Query : use flama_phc
20230510@154756.3230 ueoac649ohh8lnt026fthm4pf9 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230510@154756.3242 ueoac649ohh8lnt026fthm4pf9 Query : use flama_phc
20230510@154756.3245 ueoac649ohh8lnt026fthm4pf9 Query : select szadrsstamp valor from szadrs where szadrsdesc='bragajav, lda.'
20230510@154756.3258 ueoac649ohh8lnt026fthm4pf9 Query : use flama_phc
20230510@154756.3262 ueoac649ohh8lnt026fthm4pf9 Query : select 1 valor from td where ndoc = 39
20230510@154756.3271 ueoac649ohh8lnt026fthm4pf9 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230510@154756.3283 ueoac649ohh8lnt026fthm4pf9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230510@154756.3296 ueoac649ohh8lnt026fthm4pf9 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230510@154756.3321 ueoac649ohh8lnt026fthm4pf9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230510@154756.3336 ueoac649ohh8lnt026fthm4pf9 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230510@154756.3341 ueoac649ohh8lnt026fthm4pf9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230510@154756.3356 ueoac649ohh8lnt026fthm4pf9 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230510@154756.3368 ueoac649ohh8lnt026fthm4pf9 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230510@154756.3411 ueoac649ohh8lnt026fthm4pf9 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230510@154756.3426 ueoac649ohh8lnt026fthm4pf9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230510@154756.3440 ueoac649ohh8lnt026fthm4pf9 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230510@154756.3451 ueoac649ohh8lnt026fthm4pf9 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645ba66040645bae9c52' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230510@154756.3611 ueoac649ohh8lnt026fthm4pf9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230510@154756.3627 ueoac649ohh8lnt026fthm4pf9 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230510@154756.3633 ueoac649ohh8lnt026fthm4pf9 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645ba66040645bae9c52',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230510@154756.3638 ueoac649ohh8lnt026fthm4pf9 Query : select top 1 fno valor from wsft039data order by fno desc
20230510@154756.3653 ueoac649ohh8lnt026fthm4pf9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230510@154756.3669 ueoac649ohh8lnt026fthm4pf9 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230510@154756.3690 ueoac649ohh8lnt026fthm4pf9 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ,encomenda ) values ('aut645ba66040645bae9c52',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',176,102079,0,'2023-05-10',39,'euro',0,0,2023 ,'20230510','1617',?,?,?,?,?)
20230510@154756.3985 ueoac649ohh8lnt026fthm4pf9 Query : use flama_phc
20230510@154756.3988 ueoac649ohh8lnt026fthm4pf9 Query : select st.usalote valor from st where st.ref = '324.5347.00.1'
20230510@154756.4001 ueoac649ohh8lnt026fthm4pf9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5347.00.1'
20230510@154756.4023 ueoac649ohh8lnt026fthm4pf9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@154756.4040 ueoac649ohh8lnt026fthm4pf9 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230510@154756.4067 ueoac649ohh8lnt026fthm4pf9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@154756.4081 ueoac649ohh8lnt026fthm4pf9 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230510@154756.4087 ueoac649ohh8lnt026fthm4pf9 Query : select sestamp valor from se where ref ='324.5347.00.1' and lote = 'r2200658100a'
20230510@154756.4097 ueoac649ohh8lnt026fthm4pf9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230510@154756.4107 ueoac649ohh8lnt026fthm4pf9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@154756.4120 ueoac649ohh8lnt026fthm4pf9 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230510@154756.4144 ueoac649ohh8lnt026fthm4pf9 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645ba23438645bae9c64',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut645ba66040645bae9c52' ,20.500000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230510@154756.4389 ueoac649ohh8lnt026fthm4pf9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@154756.4404 ueoac649ohh8lnt026fthm4pf9 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230510@154756.4410 ueoac649ohh8lnt026fthm4pf9 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645ba23438645bae9c64','aut645ba66040645bae9c52' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230510@154756.4415 ueoac649ohh8lnt026fthm4pf9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@154756.4428 ueoac649ohh8lnt026fthm4pf9 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230510@154756.4452 ueoac649ohh8lnt026fthm4pf9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@154756.4465 ueoac649ohh8lnt026fthm4pf9 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230510@154756.4469 ueoac649ohh8lnt026fthm4pf9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230510@154756.4479 ueoac649ohh8lnt026fthm4pf9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@154756.4499 ueoac649ohh8lnt026fthm4pf9 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230510@154756.4526 ueoac649ohh8lnt026fthm4pf9 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645ba83006645bae9c6d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645ba66040645bae9c52' ,0,0 ,2,23.00,20000,?,?,?)
20230510@154756.4786 ueoac649ohh8lnt026fthm4pf9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@154756.4804 ueoac649ohh8lnt026fthm4pf9 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230510@154756.4809 ueoac649ohh8lnt026fthm4pf9 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645ba83006645bae9c6d','aut645ba66040645bae9c52' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230510@154756.4814 ueoac649ohh8lnt026fthm4pf9 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645ba66040645bae9c52','119230000140','wait',39,'ari17112337378,753000005')
20230510@154756.4834 ueoac649ohh8lnt026fthm4pf9 Query : use flama_phc
20230510@154756.4837 ueoac649ohh8lnt026fthm4pf9 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230510@154756.4850 ueoac649ohh8lnt026fthm4pf9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='276';
20230510@154756.4865 ueoac649ohh8lnt026fthm4pf9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='276';
20230510@154756.4877 ueoac649ohh8lnt026fthm4pf9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='276';
20230510@154756.4891 ueoac649ohh8lnt026fthm4pf9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='276';
20230510@154756.5279 2te6bub4d4uojua5stcihsp7v9 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230510@154756.5306 2te6bub4d4uojua5stcihsp7v9 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230510@154756.5324 2te6bub4d4uojua5stcihsp7v9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='277';
20230510@154756.5365 2te6bub4d4uojua5stcihsp7v9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='277';
20230510@154756.5382 2te6bub4d4uojua5stcihsp7v9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='277';
20230510@154756.5402 2te6bub4d4uojua5stcihsp7v9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='277';
20230510@154756.5417 2te6bub4d4uojua5stcihsp7v9 Query : use flama_phc
20230510@154756.5421 2te6bub4d4uojua5stcihsp7v9 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230510@154756.5441 2te6bub4d4uojua5stcihsp7v9 Query : use flama_phc
20230510@154756.5445 2te6bub4d4uojua5stcihsp7v9 Query : select no, estab,szadrsdesc from szadrs where u_coddest=886
20230510@154756.5533 2te6bub4d4uojua5stcihsp7v9 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'
20230510@154756.5685 2te6bub4d4uojua5stcihsp7v9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000141 and bi.ref ='324.5540.00.1' and bi.lordem =20000
20230510@154756.6044 2te6bub4d4uojua5stcihsp7v9 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051050897,3980000-2 ' 
20230510@154756.6420 2te6bub4d4uojua5stcihsp7v9 Query : use flama_phc
20230510@154756.6424 2te6bub4d4uojua5stcihsp7v9 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230510@154756.6440 2te6bub4d4uojua5stcihsp7v9 Query : use flama_phc
20230510@154756.6447 2te6bub4d4uojua5stcihsp7v9 Query : select top 1 1 valor from td where td.ndoc = 39
20230510@154756.6459 2te6bub4d4uojua5stcihsp7v9 Query : use flama_phc
20230510@154756.6462 2te6bub4d4uojua5stcihsp7v9 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230510@154756.6474 2te6bub4d4uojua5stcihsp7v9 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
20230510@154756.6490 2te6bub4d4uojua5stcihsp7v9 Query : use flama_phc
20230510@154756.6493 2te6bub4d4uojua5stcihsp7v9 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20230510@154756.6604 2te6bub4d4uojua5stcihsp7v9 Query : use flama_phc
20230510@154756.6611 2te6bub4d4uojua5stcihsp7v9 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230510@154756.6623 2te6bub4d4uojua5stcihsp7v9 Query : use flama_phc
20230510@154756.6627 2te6bub4d4uojua5stcihsp7v9 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230510@154756.6638 2te6bub4d4uojua5stcihsp7v9 Query : use flama_phc
20230510@154756.6641 2te6bub4d4uojua5stcihsp7v9 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda coimbra'
20230510@154756.6657 2te6bub4d4uojua5stcihsp7v9 Query : use flama_phc
20230510@154756.6661 2te6bub4d4uojua5stcihsp7v9 Query : select 1 valor from td where ndoc = 39
20230510@154756.6676 2te6bub4d4uojua5stcihsp7v9 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230510@154756.6689 2te6bub4d4uojua5stcihsp7v9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230510@154756.6706 2te6bub4d4uojua5stcihsp7v9 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230510@154756.6724 2te6bub4d4uojua5stcihsp7v9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230510@154756.6739 2te6bub4d4uojua5stcihsp7v9 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230510@154756.6743 2te6bub4d4uojua5stcihsp7v9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230510@154756.6756 2te6bub4d4uojua5stcihsp7v9 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230510@154756.6774 2te6bub4d4uojua5stcihsp7v9 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230510@154756.6817 2te6bub4d4uojua5stcihsp7v9 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230510@154756.6829 2te6bub4d4uojua5stcihsp7v9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230510@154756.6844 2te6bub4d4uojua5stcihsp7v9 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230510@154756.6855 2te6bub4d4uojua5stcihsp7v9 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645ba96387645bae9ca5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230510@154756.7051 2te6bub4d4uojua5stcihsp7v9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230510@154756.7075 2te6bub4d4uojua5stcihsp7v9 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230510@154756.7080 2te6bub4d4uojua5stcihsp7v9 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645ba96387645bae9ca5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230510@154756.7085 2te6bub4d4uojua5stcihsp7v9 Query : select top 1 fno valor from wsft039data order by fno desc
20230510@154756.7098 2te6bub4d4uojua5stcihsp7v9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230510@154756.7114 2te6bub4d4uojua5stcihsp7v9 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230510@154756.7132 2te6bub4d4uojua5stcihsp7v9 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ,encomenda ) values ('aut645ba96387645bae9ca5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',177,101621,0,'2023-05-10',39,'euro',0,0,2023 ,'20230510','1617',?,?,?,?,?)
20230510@154756.7442 2te6bub4d4uojua5stcihsp7v9 Query : use flama_phc
20230510@154756.7451 2te6bub4d4uojua5stcihsp7v9 Query : select st.usalote valor from st where st.ref = '324.5540.00.1'
20230510@154756.7467 2te6bub4d4uojua5stcihsp7v9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5540.00.1'
20230510@154756.7636 2te6bub4d4uojua5stcihsp7v9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@154756.7654 2te6bub4d4uojua5stcihsp7v9 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230510@154756.7680 2te6bub4d4uojua5stcihsp7v9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@154756.7699 2te6bub4d4uojua5stcihsp7v9 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230510@154756.7705 2te6bub4d4uojua5stcihsp7v9 Query : select sestamp valor from se where ref ='324.5540.00.1' and lote = 'r2101288200a'
20230510@154756.7720 2te6bub4d4uojua5stcihsp7v9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230510@154756.7733 2te6bub4d4uojua5stcihsp7v9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@154756.7747 2te6bub4d4uojua5stcihsp7v9 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230510@154756.7779 2te6bub4d4uojua5stcihsp7v9 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645ba75090645bae9cbc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut645ba96387645bae9ca5' ,102.400000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230510@154756.8045 2te6bub4d4uojua5stcihsp7v9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@154756.8060 2te6bub4d4uojua5stcihsp7v9 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230510@154756.8066 2te6bub4d4uojua5stcihsp7v9 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645ba75090645bae9cbc','aut645ba96387645bae9ca5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230510@154756.8071 2te6bub4d4uojua5stcihsp7v9 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645ba96387645bae9ca5','119230000141','wait',39,'ari17112337378,753000005')
20230510@154756.8087 2te6bub4d4uojua5stcihsp7v9 Query : use flama_phc
20230510@154756.8090 2te6bub4d4uojua5stcihsp7v9 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230510@154756.8101 2te6bub4d4uojua5stcihsp7v9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='277';
20230510@154756.8115 2te6bub4d4uojua5stcihsp7v9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='277';
20230510@154756.8126 2te6bub4d4uojua5stcihsp7v9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='277';
20230510@154756.8137 2te6bub4d4uojua5stcihsp7v9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='277';
20230510@154756.8542 qo97i9stfdb2qsrgs9318kq0cb Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230510@154756.8557 qo97i9stfdb2qsrgs9318kq0cb Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230510@154756.8572 qo97i9stfdb2qsrgs9318kq0cb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='278';
20230510@154756.8607 qo97i9stfdb2qsrgs9318kq0cb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='278';
20230510@154756.8623 qo97i9stfdb2qsrgs9318kq0cb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='278';
20230510@154756.8634 qo97i9stfdb2qsrgs9318kq0cb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='278';
20230510@154756.8644 qo97i9stfdb2qsrgs9318kq0cb Query : use flama_phc
20230510@154756.8654 qo97i9stfdb2qsrgs9318kq0cb Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230510@154756.8667 qo97i9stfdb2qsrgs9318kq0cb Query : use flama_phc
20230510@154756.8670 qo97i9stfdb2qsrgs9318kq0cb Query : select no, estab,szadrsdesc from szadrs where u_coddest=4500
20230510@154756.8741 qo97i9stfdb2qsrgs9318kq0cb 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'
20230510@154756.8753 qo97i9stfdb2qsrgs9318kq0cb Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000142 and bi.ref ='324.5540.00.1' and bi.lordem =20000
20230510@154756.9110 qo97i9stfdb2qsrgs9318kq0cb Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051050910,1990000-2 ' 
20230510@154756.9456 qo97i9stfdb2qsrgs9318kq0cb Query : use flama_phc
20230510@154756.9459 qo97i9stfdb2qsrgs9318kq0cb Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230510@154756.9482 qo97i9stfdb2qsrgs9318kq0cb Query : use flama_phc
20230510@154756.9485 qo97i9stfdb2qsrgs9318kq0cb Query : select top 1 1 valor from td where td.ndoc = 39
20230510@154756.9495 qo97i9stfdb2qsrgs9318kq0cb Query : use flama_phc
20230510@154756.9498 qo97i9stfdb2qsrgs9318kq0cb Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230510@154756.9508 qo97i9stfdb2qsrgs9318kq0cb 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
20230510@154756.9522 qo97i9stfdb2qsrgs9318kq0cb Query : use flama_phc
20230510@154756.9524 qo97i9stfdb2qsrgs9318kq0cb Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20230510@154756.9534 qo97i9stfdb2qsrgs9318kq0cb Query : use flama_phc
20230510@154756.9537 qo97i9stfdb2qsrgs9318kq0cb Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230510@154756.9555 qo97i9stfdb2qsrgs9318kq0cb Query : use flama_phc
20230510@154756.9558 qo97i9stfdb2qsrgs9318kq0cb Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230510@154756.9580 qo97i9stfdb2qsrgs9318kq0cb Query : use flama_phc
20230510@154756.9583 qo97i9stfdb2qsrgs9318kq0cb Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - portimão'
20230510@154756.9595 qo97i9stfdb2qsrgs9318kq0cb Query : use flama_phc
20230510@154756.9599 qo97i9stfdb2qsrgs9318kq0cb Query : select 1 valor from td where ndoc = 39
20230510@154756.9608 qo97i9stfdb2qsrgs9318kq0cb Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230510@154756.9619 qo97i9stfdb2qsrgs9318kq0cb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230510@154756.9633 qo97i9stfdb2qsrgs9318kq0cb Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230510@154756.9649 qo97i9stfdb2qsrgs9318kq0cb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230510@154756.9661 qo97i9stfdb2qsrgs9318kq0cb Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230510@154756.9665 qo97i9stfdb2qsrgs9318kq0cb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230510@154756.9677 qo97i9stfdb2qsrgs9318kq0cb Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230510@154756.9687 qo97i9stfdb2qsrgs9318kq0cb Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230510@154756.9736 qo97i9stfdb2qsrgs9318kq0cb Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230510@154756.9752 qo97i9stfdb2qsrgs9318kq0cb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230510@154756.9765 qo97i9stfdb2qsrgs9318kq0cb Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230510@154756.9774 qo97i9stfdb2qsrgs9318kq0cb Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645ba63573645bae9cec' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230510@154756.9926 qo97i9stfdb2qsrgs9318kq0cb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230510@154756.9941 qo97i9stfdb2qsrgs9318kq0cb Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230510@154756.9945 qo97i9stfdb2qsrgs9318kq0cb Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645ba63573645bae9cec',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230510@154756.9950 qo97i9stfdb2qsrgs9318kq0cb Query : select top 1 fno valor from wsft039data order by fno desc
20230510@154756.9970 qo97i9stfdb2qsrgs9318kq0cb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230510@154756.9982 qo97i9stfdb2qsrgs9318kq0cb Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230510@154756.9998 qo97i9stfdb2qsrgs9318kq0cb Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ,encomenda ) values ('aut645ba63573645bae9cec',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',178,101621,0,'2023-05-10',39,'euro',0,0,2023 ,'20230510','1617',?,?,?,?,?)
20230510@154757.2880 qo97i9stfdb2qsrgs9318kq0cb Query : use flama_phc
20230510@154757.2970 qo97i9stfdb2qsrgs9318kq0cb Query : select st.usalote valor from st where st.ref = '324.5540.00.1'
20230510@154757.3090 qo97i9stfdb2qsrgs9318kq0cb Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5540.00.1'
20230510@154757.3250 qo97i9stfdb2qsrgs9318kq0cb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@154757.3390 qo97i9stfdb2qsrgs9318kq0cb Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230510@154757.3680 qo97i9stfdb2qsrgs9318kq0cb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@154757.3810 qo97i9stfdb2qsrgs9318kq0cb Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230510@154757.3850 qo97i9stfdb2qsrgs9318kq0cb Query : select sestamp valor from se where ref ='324.5540.00.1' and lote = 'r2101288200a'
20230510@154757.3960 qo97i9stfdb2qsrgs9318kq0cb Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230510@154757.4140 qo97i9stfdb2qsrgs9318kq0cb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@154757.4350 qo97i9stfdb2qsrgs9318kq0cb Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230510@154757.4680 qo97i9stfdb2qsrgs9318kq0cb Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645ba24913645bae9d0a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut645ba63573645bae9cec' ,102.400000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230510@154757.7570 qo97i9stfdb2qsrgs9318kq0cb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@154757.7720 qo97i9stfdb2qsrgs9318kq0cb Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230510@154757.7760 qo97i9stfdb2qsrgs9318kq0cb Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645ba24913645bae9d0a','aut645ba63573645bae9cec' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230510@154757.7800 qo97i9stfdb2qsrgs9318kq0cb Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645ba63573645bae9cec','119230000142','wait',39,'ari17112337378,753000005')
20230510@154757.8500 qo97i9stfdb2qsrgs9318kq0cb Query : use flama_phc
20230510@154757.8540 qo97i9stfdb2qsrgs9318kq0cb Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230510@154757.8650 qo97i9stfdb2qsrgs9318kq0cb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='278';
20230510@154757.8800 qo97i9stfdb2qsrgs9318kq0cb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='278';
20230510@154757.8940 qo97i9stfdb2qsrgs9318kq0cb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='278';
20230510@154757.9050 qo97i9stfdb2qsrgs9318kq0cb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='278';
20230510@154757.1186 422cuodscgd5gk4hh9p1g3vjk3 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230510@154757.1212 422cuodscgd5gk4hh9p1g3vjk3 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230510@154757.1226 422cuodscgd5gk4hh9p1g3vjk3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='279';
20230510@154757.1265 422cuodscgd5gk4hh9p1g3vjk3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='279';
20230510@154757.1277 422cuodscgd5gk4hh9p1g3vjk3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='279';
20230510@154757.1288 422cuodscgd5gk4hh9p1g3vjk3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='279';
20230510@154757.1298 422cuodscgd5gk4hh9p1g3vjk3 Query : use flama_phc
20230510@154757.1301 422cuodscgd5gk4hh9p1g3vjk3 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230510@154757.1316 422cuodscgd5gk4hh9p1g3vjk3 Query : use flama_phc
20230510@154757.1319 422cuodscgd5gk4hh9p1g3vjk3 Query : select no, estab,szadrsdesc from szadrs where u_coddest=1453
20230510@154757.1403 422cuodscgd5gk4hh9p1g3vjk3 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'
20230510@154757.1414 422cuodscgd5gk4hh9p1g3vjk3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000144 and bi.ref ='324.5540.00.1' and bi.lordem =20000
20230510@154757.1740 422cuodscgd5gk4hh9p1g3vjk3 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051051098,7830000-2 ' 
20230510@154757.2097 422cuodscgd5gk4hh9p1g3vjk3 Query : use flama_phc
20230510@154757.2101 422cuodscgd5gk4hh9p1g3vjk3 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230510@154757.2115 422cuodscgd5gk4hh9p1g3vjk3 Query : use flama_phc
20230510@154757.2119 422cuodscgd5gk4hh9p1g3vjk3 Query : select top 1 1 valor from td where td.ndoc = 39
20230510@154757.2130 422cuodscgd5gk4hh9p1g3vjk3 Query : use flama_phc
20230510@154757.2133 422cuodscgd5gk4hh9p1g3vjk3 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230510@154757.2145 422cuodscgd5gk4hh9p1g3vjk3 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
20230510@154757.2160 422cuodscgd5gk4hh9p1g3vjk3 Query : use flama_phc
20230510@154757.2163 422cuodscgd5gk4hh9p1g3vjk3 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20230510@154757.2173 422cuodscgd5gk4hh9p1g3vjk3 Query : use flama_phc
20230510@154757.2176 422cuodscgd5gk4hh9p1g3vjk3 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230510@154757.2187 422cuodscgd5gk4hh9p1g3vjk3 Query : use flama_phc
20230510@154757.2190 422cuodscgd5gk4hh9p1g3vjk3 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230510@154757.2201 422cuodscgd5gk4hh9p1g3vjk3 Query : use flama_phc
20230510@154757.2204 422cuodscgd5gk4hh9p1g3vjk3 Query : select szadrsstamp valor from szadrs where szadrsdesc='jom - batalha'
20230510@154757.2217 422cuodscgd5gk4hh9p1g3vjk3 Query : use flama_phc
20230510@154757.2221 422cuodscgd5gk4hh9p1g3vjk3 Query : select 1 valor from td where ndoc = 39
20230510@154757.2231 422cuodscgd5gk4hh9p1g3vjk3 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230510@154757.2245 422cuodscgd5gk4hh9p1g3vjk3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230510@154757.2259 422cuodscgd5gk4hh9p1g3vjk3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230510@154757.2278 422cuodscgd5gk4hh9p1g3vjk3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230510@154757.2292 422cuodscgd5gk4hh9p1g3vjk3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230510@154757.2296 422cuodscgd5gk4hh9p1g3vjk3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230510@154757.2309 422cuodscgd5gk4hh9p1g3vjk3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230510@154757.2321 422cuodscgd5gk4hh9p1g3vjk3 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230510@154757.2367 422cuodscgd5gk4hh9p1g3vjk3 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230510@154757.2377 422cuodscgd5gk4hh9p1g3vjk3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230510@154757.2390 422cuodscgd5gk4hh9p1g3vjk3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230510@154757.2400 422cuodscgd5gk4hh9p1g3vjk3 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645ba14854645bae9d38' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230510@154757.2590 422cuodscgd5gk4hh9p1g3vjk3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230510@154757.2605 422cuodscgd5gk4hh9p1g3vjk3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230510@154757.2609 422cuodscgd5gk4hh9p1g3vjk3 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645ba14854645bae9d38',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230510@154757.2616 422cuodscgd5gk4hh9p1g3vjk3 Query : select top 1 fno valor from wsft039data order by fno desc
20230510@154757.2628 422cuodscgd5gk4hh9p1g3vjk3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230510@154757.2642 422cuodscgd5gk4hh9p1g3vjk3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230510@154757.2662 422cuodscgd5gk4hh9p1g3vjk3 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ,encomenda ) values ('aut645ba14854645bae9d38',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',179,101621,0,'2023-05-10',39,'euro',0,0,2023 ,'20230510','1617',?,?,?,?,?)
20230510@154757.2938 422cuodscgd5gk4hh9p1g3vjk3 Query : use flama_phc
20230510@154757.2942 422cuodscgd5gk4hh9p1g3vjk3 Query : select st.usalote valor from st where st.ref = '324.5540.00.1'
20230510@154757.2953 422cuodscgd5gk4hh9p1g3vjk3 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5540.00.1'
20230510@154757.2965 422cuodscgd5gk4hh9p1g3vjk3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@154757.2989 422cuodscgd5gk4hh9p1g3vjk3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230510@154757.3016 422cuodscgd5gk4hh9p1g3vjk3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@154757.3030 422cuodscgd5gk4hh9p1g3vjk3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230510@154757.3035 422cuodscgd5gk4hh9p1g3vjk3 Query : select sestamp valor from se where ref ='324.5540.00.1' and lote = 'r2101288200a'
20230510@154757.3045 422cuodscgd5gk4hh9p1g3vjk3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230510@154757.3063 422cuodscgd5gk4hh9p1g3vjk3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@154757.3079 422cuodscgd5gk4hh9p1g3vjk3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230510@154757.3111 422cuodscgd5gk4hh9p1g3vjk3 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645ba67710645bae9d4a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut645ba14854645bae9d38' ,102.400000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230510@154757.3533 422cuodscgd5gk4hh9p1g3vjk3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@154757.4000 422cuodscgd5gk4hh9p1g3vjk3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230510@154757.4125 422cuodscgd5gk4hh9p1g3vjk3 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645ba67710645bae9d4a','aut645ba14854645bae9d38' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230510@154757.4216 422cuodscgd5gk4hh9p1g3vjk3 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645ba14854645bae9d38','119230000144','wait',39,'ari17112337378,753000005')
20230510@154757.4513 422cuodscgd5gk4hh9p1g3vjk3 Query : use flama_phc
20230510@154757.4609 422cuodscgd5gk4hh9p1g3vjk3 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230510@154757.4680 422cuodscgd5gk4hh9p1g3vjk3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='279';
20230510@154757.4706 422cuodscgd5gk4hh9p1g3vjk3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='279';
20230510@154757.4760 422cuodscgd5gk4hh9p1g3vjk3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='279';
20230510@154757.4804 422cuodscgd5gk4hh9p1g3vjk3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='279';
20230510@154757.5142 n6d50c2je8gsl5fekp6pc94ks3 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230510@154757.5158 n6d50c2je8gsl5fekp6pc94ks3 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230510@154757.5177 n6d50c2je8gsl5fekp6pc94ks3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='280';
20230510@154757.5233 n6d50c2je8gsl5fekp6pc94ks3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='280';
20230510@154757.5253 n6d50c2je8gsl5fekp6pc94ks3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='280';
20230510@154757.5265 n6d50c2je8gsl5fekp6pc94ks3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='280';
20230510@154757.5286 n6d50c2je8gsl5fekp6pc94ks3 Query : use flama_phc
20230510@154757.5291 n6d50c2je8gsl5fekp6pc94ks3 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230510@154757.5313 n6d50c2je8gsl5fekp6pc94ks3 Query : use flama_phc
20230510@154757.5324 n6d50c2je8gsl5fekp6pc94ks3 Query : select no, estab,szadrsdesc from szadrs where u_coddest=1499
20230510@154757.5426 n6d50c2je8gsl5fekp6pc94ks3 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'
20230510@154757.5440 n6d50c2je8gsl5fekp6pc94ks3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000145 and bi.ref ='324.5540.00.1' and bi.lordem =20000
20230510@154757.5856 n6d50c2je8gsl5fekp6pc94ks3 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051051739,0360000-2 ' 
20230510@154757.6295 n6d50c2je8gsl5fekp6pc94ks3 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'
20230510@154757.6309 n6d50c2je8gsl5fekp6pc94ks3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000145 and bi.ref ='324.5540.00.1' and bi.lordem =30000
20230510@154757.6727 n6d50c2je8gsl5fekp6pc94ks3 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051051739,1500000-3 ' 
20230510@154757.7132 n6d50c2je8gsl5fekp6pc94ks3 Query : use flama_phc
20230510@154757.7146 n6d50c2je8gsl5fekp6pc94ks3 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230510@154757.7182 n6d50c2je8gsl5fekp6pc94ks3 Query : use flama_phc
20230510@154757.7186 n6d50c2je8gsl5fekp6pc94ks3 Query : select top 1 1 valor from td where td.ndoc = 39
20230510@154757.7218 n6d50c2je8gsl5fekp6pc94ks3 Query : use flama_phc
20230510@154757.7227 n6d50c2je8gsl5fekp6pc94ks3 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230510@154757.7253 n6d50c2je8gsl5fekp6pc94ks3 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
20230510@154757.7278 n6d50c2je8gsl5fekp6pc94ks3 Query : use flama_phc
20230510@154757.7281 n6d50c2je8gsl5fekp6pc94ks3 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20230510@154757.7291 n6d50c2je8gsl5fekp6pc94ks3 Query : use flama_phc
20230510@154757.7299 n6d50c2je8gsl5fekp6pc94ks3 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230510@154757.7316 n6d50c2je8gsl5fekp6pc94ks3 Query : use flama_phc
20230510@154757.7319 n6d50c2je8gsl5fekp6pc94ks3 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230510@154757.7355 n6d50c2je8gsl5fekp6pc94ks3 Query : use flama_phc
20230510@154757.7361 n6d50c2je8gsl5fekp6pc94ks3 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m - ponte'
20230510@154757.7375 n6d50c2je8gsl5fekp6pc94ks3 Query : use flama_phc
20230510@154757.7379 n6d50c2je8gsl5fekp6pc94ks3 Query : select 1 valor from td where ndoc = 39
20230510@154757.7407 n6d50c2je8gsl5fekp6pc94ks3 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230510@154757.7428 n6d50c2je8gsl5fekp6pc94ks3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230510@154757.7467 n6d50c2je8gsl5fekp6pc94ks3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230510@154757.7495 n6d50c2je8gsl5fekp6pc94ks3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230510@154757.7521 n6d50c2je8gsl5fekp6pc94ks3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230510@154757.7531 n6d50c2je8gsl5fekp6pc94ks3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230510@154757.7544 n6d50c2je8gsl5fekp6pc94ks3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230510@154757.7560 n6d50c2je8gsl5fekp6pc94ks3 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230510@154757.7604 n6d50c2je8gsl5fekp6pc94ks3 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230510@154757.7616 n6d50c2je8gsl5fekp6pc94ks3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230510@154757.7644 n6d50c2je8gsl5fekp6pc94ks3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230510@154757.7662 n6d50c2je8gsl5fekp6pc94ks3 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645ba03931645bae9db8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230510@154757.7861 n6d50c2je8gsl5fekp6pc94ks3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230510@154757.7885 n6d50c2je8gsl5fekp6pc94ks3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230510@154757.7893 n6d50c2je8gsl5fekp6pc94ks3 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645ba03931645bae9db8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230510@154757.7904 n6d50c2je8gsl5fekp6pc94ks3 Query : select top 1 fno valor from wsft039data order by fno desc
20230510@154757.7919 n6d50c2je8gsl5fekp6pc94ks3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230510@154757.7935 n6d50c2je8gsl5fekp6pc94ks3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230510@154757.7973 n6d50c2je8gsl5fekp6pc94ks3 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ,encomenda ) values ('aut645ba03931645bae9db8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',180,101621,0,'2023-05-10',39,'euro',0,0,2023 ,'20230510','1617',?,?,?,?,?)
20230510@154757.8328 n6d50c2je8gsl5fekp6pc94ks3 Query : use flama_phc
20230510@154757.8333 n6d50c2je8gsl5fekp6pc94ks3 Query : select st.usalote valor from st where st.ref = '324.5540.00.1'
20230510@154757.8348 n6d50c2je8gsl5fekp6pc94ks3 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5540.00.1'
20230510@154757.8360 n6d50c2je8gsl5fekp6pc94ks3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@154757.8382 n6d50c2je8gsl5fekp6pc94ks3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230510@154757.8421 n6d50c2je8gsl5fekp6pc94ks3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@154757.8461 n6d50c2je8gsl5fekp6pc94ks3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230510@154757.8466 n6d50c2je8gsl5fekp6pc94ks3 Query : select sestamp valor from se where ref ='324.5540.00.1' and lote = 'r2101288200a'
20230510@154757.8495 n6d50c2je8gsl5fekp6pc94ks3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230510@154757.9605 n6d50c2je8gsl5fekp6pc94ks3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@154757.9645 n6d50c2je8gsl5fekp6pc94ks3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230510@154757.9674 n6d50c2je8gsl5fekp6pc94ks3 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645ba89483645bae9dea',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut645ba03931645bae9db8' ,102.400000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230510@154757.9994 n6d50c2je8gsl5fekp6pc94ks3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@154758.2400 n6d50c2je8gsl5fekp6pc94ks3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230510@154758.2900 n6d50c2je8gsl5fekp6pc94ks3 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645ba89483645bae9dea','aut645ba03931645bae9db8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230510@154758.3400 n6d50c2je8gsl5fekp6pc94ks3 Query : use flama_phc
20230510@154758.3700 n6d50c2je8gsl5fekp6pc94ks3 Query : select st.usalote valor from st where st.ref = '324.5540.00.1'
20230510@154758.6800 n6d50c2je8gsl5fekp6pc94ks3 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5540.00.1'
20230510@154758.9900 n6d50c2je8gsl5fekp6pc94ks3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@154758.1350 n6d50c2je8gsl5fekp6pc94ks3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230510@154758.1880 n6d50c2je8gsl5fekp6pc94ks3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@154758.2270 n6d50c2je8gsl5fekp6pc94ks3 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230510@154758.2320 n6d50c2je8gsl5fekp6pc94ks3 Query : select sestamp valor from se where ref ='324.5540.00.1' and lote = 'r2101288200a'
20230510@154758.2480 n6d50c2je8gsl5fekp6pc94ks3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230510@154758.2830 n6d50c2je8gsl5fekp6pc94ks3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@154758.3050 n6d50c2je8gsl5fekp6pc94ks3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230510@154758.3500 n6d50c2je8gsl5fekp6pc94ks3 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645ba34831645bae9e06',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut645ba03931645bae9db8' ,.000000,0 ,2,23.00,20000,?,?,?,?,?,?,?,?,?)
20230510@154758.6380 n6d50c2je8gsl5fekp6pc94ks3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@154758.6620 n6d50c2je8gsl5fekp6pc94ks3 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230510@154758.6740 n6d50c2je8gsl5fekp6pc94ks3 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645ba34831645bae9e06','aut645ba03931645bae9db8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230510@154758.6850 n6d50c2je8gsl5fekp6pc94ks3 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645ba03931645bae9db8','119230000145','wait',39,'ari17112337378,753000005')
20230510@154758.7020 n6d50c2je8gsl5fekp6pc94ks3 Query : use flama_phc
20230510@154758.7070 n6d50c2je8gsl5fekp6pc94ks3 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230510@154758.7200 n6d50c2je8gsl5fekp6pc94ks3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='280';
20230510@154758.7470 n6d50c2je8gsl5fekp6pc94ks3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='280';
20230510@154758.7620 n6d50c2je8gsl5fekp6pc94ks3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='280';
20230510@154758.7770 n6d50c2je8gsl5fekp6pc94ks3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='280';
20230510@154758.1099 3ifm0po35j7hp73ib1hf04rj7a Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230510@154758.1114 3ifm0po35j7hp73ib1hf04rj7a Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230510@154758.1140 3ifm0po35j7hp73ib1hf04rj7a Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='281';
20230510@154758.1190 3ifm0po35j7hp73ib1hf04rj7a Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='281';
20230510@154758.1203 3ifm0po35j7hp73ib1hf04rj7a Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='281';
20230510@154758.1217 3ifm0po35j7hp73ib1hf04rj7a Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='281';
20230510@154758.1241 3ifm0po35j7hp73ib1hf04rj7a Query : use flama_phc
20230510@154758.1245 3ifm0po35j7hp73ib1hf04rj7a Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230510@154758.1261 3ifm0po35j7hp73ib1hf04rj7a Query : use flama_phc
20230510@154758.1267 3ifm0po35j7hp73ib1hf04rj7a Query : select no, estab,szadrsdesc from szadrs where u_coddest=1499
20230510@154758.1317 3ifm0po35j7hp73ib1hf04rj7a 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'
20230510@154758.1506 3ifm0po35j7hp73ib1hf04rj7a Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000146 and bi.ref ='324.1837.00.1' and bi.lordem =20000
20230510@154758.1902 3ifm0po35j7hp73ib1hf04rj7a Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051051774,1720000-2 ' 
20230510@154758.2409 3ifm0po35j7hp73ib1hf04rj7a Query : use flama_phc
20230510@154758.2415 3ifm0po35j7hp73ib1hf04rj7a Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230510@154758.2491 3ifm0po35j7hp73ib1hf04rj7a Query : use flama_phc
20230510@154758.2495 3ifm0po35j7hp73ib1hf04rj7a Query : select top 1 1 valor from td where td.ndoc = 39
20230510@154758.2508 3ifm0po35j7hp73ib1hf04rj7a Query : use flama_phc
20230510@154758.2511 3ifm0po35j7hp73ib1hf04rj7a Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230510@154758.2586 3ifm0po35j7hp73ib1hf04rj7a 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
20230510@154758.2613 3ifm0po35j7hp73ib1hf04rj7a Query : use flama_phc
20230510@154758.2618 3ifm0po35j7hp73ib1hf04rj7a Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20230510@154758.2630 3ifm0po35j7hp73ib1hf04rj7a Query : use flama_phc
20230510@154758.2634 3ifm0po35j7hp73ib1hf04rj7a Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230510@154758.2648 3ifm0po35j7hp73ib1hf04rj7a Query : use flama_phc
20230510@154758.2651 3ifm0po35j7hp73ib1hf04rj7a Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230510@154758.2738 3ifm0po35j7hp73ib1hf04rj7a Query : use flama_phc
20230510@154758.2743 3ifm0po35j7hp73ib1hf04rj7a Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m - ponte'
20230510@154758.2759 3ifm0po35j7hp73ib1hf04rj7a Query : use flama_phc
20230510@154758.2763 3ifm0po35j7hp73ib1hf04rj7a Query : select 1 valor from td where ndoc = 39
20230510@154758.2775 3ifm0po35j7hp73ib1hf04rj7a Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230510@154758.2793 3ifm0po35j7hp73ib1hf04rj7a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230510@154758.2810 3ifm0po35j7hp73ib1hf04rj7a Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230510@154758.2835 3ifm0po35j7hp73ib1hf04rj7a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230510@154758.2852 3ifm0po35j7hp73ib1hf04rj7a Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230510@154758.2856 3ifm0po35j7hp73ib1hf04rj7a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230510@154758.2874 3ifm0po35j7hp73ib1hf04rj7a Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230510@154758.2890 3ifm0po35j7hp73ib1hf04rj7a Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230510@154758.2932 3ifm0po35j7hp73ib1hf04rj7a Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230510@154758.2945 3ifm0po35j7hp73ib1hf04rj7a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230510@154758.2960 3ifm0po35j7hp73ib1hf04rj7a Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230510@154758.2972 3ifm0po35j7hp73ib1hf04rj7a Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645ba40437645bae9e46' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230510@154758.3121 3ifm0po35j7hp73ib1hf04rj7a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230510@154758.3139 3ifm0po35j7hp73ib1hf04rj7a Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230510@154758.3145 3ifm0po35j7hp73ib1hf04rj7a Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645ba40437645bae9e46',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230510@154758.3150 3ifm0po35j7hp73ib1hf04rj7a Query : select top 1 fno valor from wsft039data order by fno desc
20230510@154758.3165 3ifm0po35j7hp73ib1hf04rj7a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230510@154758.3191 3ifm0po35j7hp73ib1hf04rj7a Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230510@154758.3213 3ifm0po35j7hp73ib1hf04rj7a Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ,encomenda ) values ('aut645ba40437645bae9e46',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',181,101621,0,'2023-05-10',39,'euro',0,0,2023 ,'20230510','1617',?,?,?,?,?)
20230510@154758.3494 3ifm0po35j7hp73ib1hf04rj7a Query : use flama_phc
20230510@154758.3498 3ifm0po35j7hp73ib1hf04rj7a Query : select st.usalote valor from st where st.ref = '324.1837.00.1'
20230510@154758.3513 3ifm0po35j7hp73ib1hf04rj7a Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1837.00.1'
20230510@154758.3649 3ifm0po35j7hp73ib1hf04rj7a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@154758.3745 3ifm0po35j7hp73ib1hf04rj7a Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230510@154758.3778 3ifm0po35j7hp73ib1hf04rj7a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@154758.3841 3ifm0po35j7hp73ib1hf04rj7a Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230510@154758.3846 3ifm0po35j7hp73ib1hf04rj7a Query : select sestamp valor from se where ref ='324.1837.00.1' and lote = 'r2200668100a'
20230510@154758.3861 3ifm0po35j7hp73ib1hf04rj7a Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230510@154758.3875 3ifm0po35j7hp73ib1hf04rj7a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@154758.3971 3ifm0po35j7hp73ib1hf04rj7a Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230510@154758.4006 3ifm0po35j7hp73ib1hf04rj7a Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645ba24274645bae9e5e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut645ba40437645bae9e46' ,86.300000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230510@154758.4533 3ifm0po35j7hp73ib1hf04rj7a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@154758.4793 3ifm0po35j7hp73ib1hf04rj7a Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230510@154758.4894 3ifm0po35j7hp73ib1hf04rj7a Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645ba24274645bae9e5e','aut645ba40437645bae9e46' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230510@154758.4942 3ifm0po35j7hp73ib1hf04rj7a Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645ba40437645bae9e46','119230000146','wait',39,'ari17112337378,753000005')
20230510@154758.5111 3ifm0po35j7hp73ib1hf04rj7a Query : use flama_phc
20230510@154758.5151 3ifm0po35j7hp73ib1hf04rj7a Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230510@154758.5236 3ifm0po35j7hp73ib1hf04rj7a Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='281';
20230510@154758.5444 3ifm0po35j7hp73ib1hf04rj7a Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='281';
20230510@154758.5528 3ifm0po35j7hp73ib1hf04rj7a Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='281';
20230510@154758.5742 3ifm0po35j7hp73ib1hf04rj7a Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='281';
20230510@154758.6654 eksv12rff6hcfec68o7m2bn6f2 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230510@154758.6674 eksv12rff6hcfec68o7m2bn6f2 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230510@154758.6700 eksv12rff6hcfec68o7m2bn6f2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='282';
20230510@154758.6762 eksv12rff6hcfec68o7m2bn6f2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='282';
20230510@154758.6775 eksv12rff6hcfec68o7m2bn6f2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='282';
20230510@154758.6792 eksv12rff6hcfec68o7m2bn6f2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='282';
20230510@154758.6803 eksv12rff6hcfec68o7m2bn6f2 Query : use flama_phc
20230510@154758.6813 eksv12rff6hcfec68o7m2bn6f2 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230510@154758.6829 eksv12rff6hcfec68o7m2bn6f2 Query : use flama_phc
20230510@154758.6833 eksv12rff6hcfec68o7m2bn6f2 Query : select no, estab,szadrsdesc from szadrs where u_coddest=1498
20230510@154758.6913 eksv12rff6hcfec68o7m2bn6f2 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'
20230510@154758.6934 eksv12rff6hcfec68o7m2bn6f2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000147 and bi.ref ='324.5540.00.1' and bi.lordem =20000
20230510@154758.7274 eksv12rff6hcfec68o7m2bn6f2 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051051799,8500000-2 ' 
20230510@154758.7753 eksv12rff6hcfec68o7m2bn6f2 Query : use flama_phc
20230510@154758.7757 eksv12rff6hcfec68o7m2bn6f2 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230510@154758.7783 eksv12rff6hcfec68o7m2bn6f2 Query : use flama_phc
20230510@154758.7786 eksv12rff6hcfec68o7m2bn6f2 Query : select top 1 1 valor from td where td.ndoc = 39
20230510@154758.7798 eksv12rff6hcfec68o7m2bn6f2 Query : use flama_phc
20230510@154758.7802 eksv12rff6hcfec68o7m2bn6f2 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230510@154758.7818 eksv12rff6hcfec68o7m2bn6f2 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
20230510@154758.7834 eksv12rff6hcfec68o7m2bn6f2 Query : use flama_phc
20230510@154758.7837 eksv12rff6hcfec68o7m2bn6f2 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20230510@154758.7856 eksv12rff6hcfec68o7m2bn6f2 Query : use flama_phc
20230510@154758.7860 eksv12rff6hcfec68o7m2bn6f2 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230510@154758.7874 eksv12rff6hcfec68o7m2bn6f2 Query : use flama_phc
20230510@154758.7877 eksv12rff6hcfec68o7m2bn6f2 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230510@154758.7896 eksv12rff6hcfec68o7m2bn6f2 Query : use flama_phc
20230510@154758.7900 eksv12rff6hcfec68o7m2bn6f2 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m - viseu'
20230510@154758.7921 eksv12rff6hcfec68o7m2bn6f2 Query : use flama_phc
20230510@154758.7924 eksv12rff6hcfec68o7m2bn6f2 Query : select 1 valor from td where ndoc = 39
20230510@154758.7941 eksv12rff6hcfec68o7m2bn6f2 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230510@154758.7958 eksv12rff6hcfec68o7m2bn6f2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230510@154758.7974 eksv12rff6hcfec68o7m2bn6f2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230510@154758.8023 eksv12rff6hcfec68o7m2bn6f2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230510@154758.8044 eksv12rff6hcfec68o7m2bn6f2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230510@154758.8049 eksv12rff6hcfec68o7m2bn6f2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230510@154758.8072 eksv12rff6hcfec68o7m2bn6f2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230510@154758.8085 eksv12rff6hcfec68o7m2bn6f2 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230510@154758.8140 eksv12rff6hcfec68o7m2bn6f2 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230510@154758.8153 eksv12rff6hcfec68o7m2bn6f2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230510@154758.8168 eksv12rff6hcfec68o7m2bn6f2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230510@154758.8208 eksv12rff6hcfec68o7m2bn6f2 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645ba84571645bae9ec5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230510@154758.8368 eksv12rff6hcfec68o7m2bn6f2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230510@154758.8391 eksv12rff6hcfec68o7m2bn6f2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230510@154758.8401 eksv12rff6hcfec68o7m2bn6f2 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645ba84571645bae9ec5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230510@154758.8406 eksv12rff6hcfec68o7m2bn6f2 Query : select top 1 fno valor from wsft039data order by fno desc
20230510@154758.8420 eksv12rff6hcfec68o7m2bn6f2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230510@154758.8445 eksv12rff6hcfec68o7m2bn6f2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230510@154758.8470 eksv12rff6hcfec68o7m2bn6f2 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ,encomenda ) values ('aut645ba84571645bae9ec5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',182,101621,0,'2023-05-10',39,'euro',0,0,2023 ,'20230510','1617',?,?,?,?,?)
20230510@154758.8731 eksv12rff6hcfec68o7m2bn6f2 Query : use flama_phc
20230510@154758.8741 eksv12rff6hcfec68o7m2bn6f2 Query : select st.usalote valor from st where st.ref = '324.5540.00.1'
20230510@154758.8754 eksv12rff6hcfec68o7m2bn6f2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5540.00.1'
20230510@154758.8766 eksv12rff6hcfec68o7m2bn6f2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@154758.8810 eksv12rff6hcfec68o7m2bn6f2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230510@154758.8884 eksv12rff6hcfec68o7m2bn6f2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@154758.8902 eksv12rff6hcfec68o7m2bn6f2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230510@154758.8909 eksv12rff6hcfec68o7m2bn6f2 Query : select sestamp valor from se where ref ='324.5540.00.1' and lote = 'r2101288200a'
20230510@154758.8925 eksv12rff6hcfec68o7m2bn6f2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230510@154758.8947 eksv12rff6hcfec68o7m2bn6f2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@154758.8964 eksv12rff6hcfec68o7m2bn6f2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230510@154758.9007 eksv12rff6hcfec68o7m2bn6f2 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645ba96776645bae9eda',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut645ba84571645bae9ec5' ,102.400000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230510@154758.9248 eksv12rff6hcfec68o7m2bn6f2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@154758.9269 eksv12rff6hcfec68o7m2bn6f2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230510@154758.9274 eksv12rff6hcfec68o7m2bn6f2 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645ba96776645bae9eda','aut645ba84571645bae9ec5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230510@154758.9278 eksv12rff6hcfec68o7m2bn6f2 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645ba84571645bae9ec5','119230000147','wait',39,'ari17112337378,753000005')
20230510@154758.9299 eksv12rff6hcfec68o7m2bn6f2 Query : use flama_phc
20230510@154758.9310 eksv12rff6hcfec68o7m2bn6f2 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230510@154758.9323 eksv12rff6hcfec68o7m2bn6f2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='282';
20230510@154758.9344 eksv12rff6hcfec68o7m2bn6f2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='282';
20230510@154758.9363 eksv12rff6hcfec68o7m2bn6f2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='282';
20230510@154758.9378 eksv12rff6hcfec68o7m2bn6f2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='282';
20230510@154758.9734 pd76vmjvj2dq67kt5en756ucjv Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230510@154758.9751 pd76vmjvj2dq67kt5en756ucjv Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230510@154758.9773 pd76vmjvj2dq67kt5en756ucjv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='283';
20230510@154758.9822 pd76vmjvj2dq67kt5en756ucjv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='283';
20230510@154758.9846 pd76vmjvj2dq67kt5en756ucjv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='283';
20230510@154758.9859 pd76vmjvj2dq67kt5en756ucjv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='283';
20230510@154758.9873 pd76vmjvj2dq67kt5en756ucjv Query : use flama_phc
20230510@154758.9886 pd76vmjvj2dq67kt5en756ucjv Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230510@154758.9904 pd76vmjvj2dq67kt5en756ucjv Query : use flama_phc
20230510@154758.9907 pd76vmjvj2dq67kt5en756ucjv Query : select no, estab,szadrsdesc from szadrs where u_coddest=1498
20230510@154758.9948 pd76vmjvj2dq67kt5en756ucjv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9316.00.1'
20230510@154759.1780 pd76vmjvj2dq67kt5en756ucjv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000148 and bi.ref ='328.9316.00.1' and bi.lordem =20000
20230510@154759.5280 pd76vmjvj2dq67kt5en756ucjv Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051051816,5140000-2 ' 
20230510@154759.8590 pd76vmjvj2dq67kt5en756ucjv Query : use flama_phc
20230510@154759.8640 pd76vmjvj2dq67kt5en756ucjv Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230510@154759.8870 pd76vmjvj2dq67kt5en756ucjv Query : use flama_phc
20230510@154759.8900 pd76vmjvj2dq67kt5en756ucjv Query : select top 1 1 valor from td where td.ndoc = 39
20230510@154759.9000 pd76vmjvj2dq67kt5en756ucjv Query : use flama_phc
20230510@154759.9030 pd76vmjvj2dq67kt5en756ucjv Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230510@154759.9190 pd76vmjvj2dq67kt5en756ucjv 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
20230510@154759.9350 pd76vmjvj2dq67kt5en756ucjv Query : use flama_phc
20230510@154759.9380 pd76vmjvj2dq67kt5en756ucjv Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20230510@154759.9540 pd76vmjvj2dq67kt5en756ucjv Query : use flama_phc
20230510@154759.9570 pd76vmjvj2dq67kt5en756ucjv Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230510@154759.9690 pd76vmjvj2dq67kt5en756ucjv Query : use flama_phc
20230510@154759.9720 pd76vmjvj2dq67kt5en756ucjv Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230510@154759.9960 pd76vmjvj2dq67kt5en756ucjv Query : use flama_phc
20230510@154759.1016 pd76vmjvj2dq67kt5en756ucjv Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m - viseu'
20230510@154759.1045 pd76vmjvj2dq67kt5en756ucjv Query : use flama_phc
20230510@154759.1049 pd76vmjvj2dq67kt5en756ucjv Query : select 1 valor from td where ndoc = 39
20230510@154759.1079 pd76vmjvj2dq67kt5en756ucjv Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230510@154759.1091 pd76vmjvj2dq67kt5en756ucjv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230510@154759.1105 pd76vmjvj2dq67kt5en756ucjv Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230510@154759.1127 pd76vmjvj2dq67kt5en756ucjv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230510@154759.1141 pd76vmjvj2dq67kt5en756ucjv Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230510@154759.1171 pd76vmjvj2dq67kt5en756ucjv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230510@154759.1192 pd76vmjvj2dq67kt5en756ucjv Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230510@154759.1203 pd76vmjvj2dq67kt5en756ucjv Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230510@154759.1248 pd76vmjvj2dq67kt5en756ucjv Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230510@154759.1257 pd76vmjvj2dq67kt5en756ucjv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230510@154759.1271 pd76vmjvj2dq67kt5en756ucjv Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230510@154759.1298 pd76vmjvj2dq67kt5en756ucjv Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645ba62911645bae9f1d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230510@154759.1456 pd76vmjvj2dq67kt5en756ucjv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230510@154759.1472 pd76vmjvj2dq67kt5en756ucjv Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230510@154759.1477 pd76vmjvj2dq67kt5en756ucjv Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645ba62911645bae9f1d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230510@154759.1482 pd76vmjvj2dq67kt5en756ucjv Query : select top 1 fno valor from wsft039data order by fno desc
20230510@154759.1495 pd76vmjvj2dq67kt5en756ucjv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230510@154759.1508 pd76vmjvj2dq67kt5en756ucjv Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230510@154759.1527 pd76vmjvj2dq67kt5en756ucjv Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ,encomenda ) values ('aut645ba62911645bae9f1d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',183,101621,0,'2023-05-10',39,'euro',0,0,2023 ,'20230510','1617',?,?,?,?,?)
20230510@154759.1796 pd76vmjvj2dq67kt5en756ucjv Query : use flama_phc
20230510@154759.1823 pd76vmjvj2dq67kt5en756ucjv Query : select st.usalote valor from st where st.ref = '328.9316.00.1'
20230510@154759.1836 pd76vmjvj2dq67kt5en756ucjv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '328.9316.00.1'
20230510@154759.1987 pd76vmjvj2dq67kt5en756ucjv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@154759.2001 pd76vmjvj2dq67kt5en756ucjv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230510@154759.2028 pd76vmjvj2dq67kt5en756ucjv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@154759.2042 pd76vmjvj2dq67kt5en756ucjv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230510@154759.2047 pd76vmjvj2dq67kt5en756ucjv Query : select sestamp valor from se where ref ='328.9316.00.1' and lote = 'r2101101100a'
20230510@154759.2069 pd76vmjvj2dq67kt5en756ucjv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230510@154759.2083 pd76vmjvj2dq67kt5en756ucjv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@154759.2104 pd76vmjvj2dq67kt5en756ucjv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230510@154759.2129 pd76vmjvj2dq67kt5en756ucjv Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645ba02483645bae9f32',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut645ba62911645bae9f1d' ,83.200000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230510@154759.2384 pd76vmjvj2dq67kt5en756ucjv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@154759.2408 pd76vmjvj2dq67kt5en756ucjv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230510@154759.2421 pd76vmjvj2dq67kt5en756ucjv Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645ba02483645bae9f32','aut645ba62911645bae9f1d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230510@154759.2456 pd76vmjvj2dq67kt5en756ucjv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@154759.2478 pd76vmjvj2dq67kt5en756ucjv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230510@154759.2510 pd76vmjvj2dq67kt5en756ucjv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@154759.2527 pd76vmjvj2dq67kt5en756ucjv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230510@154759.2541 pd76vmjvj2dq67kt5en756ucjv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230510@154759.2553 pd76vmjvj2dq67kt5en756ucjv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@154759.2575 pd76vmjvj2dq67kt5en756ucjv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230510@154759.2606 pd76vmjvj2dq67kt5en756ucjv Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645ba23940645bae9f3e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645ba62911645bae9f1d' ,0,0 ,2,23.00,20000,?,?,?)
20230510@154759.2865 pd76vmjvj2dq67kt5en756ucjv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@154759.2882 pd76vmjvj2dq67kt5en756ucjv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230510@154759.2887 pd76vmjvj2dq67kt5en756ucjv Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645ba23940645bae9f3e','aut645ba62911645bae9f1d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230510@154759.2892 pd76vmjvj2dq67kt5en756ucjv Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645ba62911645bae9f1d','119230000148','wait',39,'ari17112337378,753000005')
20230510@154759.2909 pd76vmjvj2dq67kt5en756ucjv Query : use flama_phc
20230510@154759.2913 pd76vmjvj2dq67kt5en756ucjv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230510@154759.2926 pd76vmjvj2dq67kt5en756ucjv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='283';
20230510@154759.2941 pd76vmjvj2dq67kt5en756ucjv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='283';
20230510@154759.2958 pd76vmjvj2dq67kt5en756ucjv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='283';
20230510@154759.2971 pd76vmjvj2dq67kt5en756ucjv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='283';
20230510@154759.3318 a4nsf3l6gb7opg3f5u742jtri6 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230510@154759.3335 a4nsf3l6gb7opg3f5u742jtri6 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230510@154759.3351 a4nsf3l6gb7opg3f5u742jtri6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='284';
20230510@154759.3413 a4nsf3l6gb7opg3f5u742jtri6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='284';
20230510@154759.3426 a4nsf3l6gb7opg3f5u742jtri6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='284';
20230510@154759.3449 a4nsf3l6gb7opg3f5u742jtri6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='284';
20230510@154759.3466 a4nsf3l6gb7opg3f5u742jtri6 Query : use flama_phc
20230510@154759.3469 a4nsf3l6gb7opg3f5u742jtri6 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230510@154759.3484 a4nsf3l6gb7opg3f5u742jtri6 Query : use flama_phc
20230510@154759.3487 a4nsf3l6gb7opg3f5u742jtri6 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2021
20230510@154759.3560 a4nsf3l6gb7opg3f5u742jtri6 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'
20230510@154759.3576 a4nsf3l6gb7opg3f5u742jtri6 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000149 and bi.ref ='324.5540.00.1' and bi.lordem =20000
20230510@154759.3913 a4nsf3l6gb7opg3f5u742jtri6 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051051832,0880000-2 ' 
20230510@154759.5381 a4nsf3l6gb7opg3f5u742jtri6 Query : use flama_phc
20230510@154759.5387 a4nsf3l6gb7opg3f5u742jtri6 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230510@154759.5405 a4nsf3l6gb7opg3f5u742jtri6 Query : use flama_phc
20230510@154759.5408 a4nsf3l6gb7opg3f5u742jtri6 Query : select top 1 1 valor from td where td.ndoc = 39
20230510@154759.5421 a4nsf3l6gb7opg3f5u742jtri6 Query : use flama_phc
20230510@154759.5427 a4nsf3l6gb7opg3f5u742jtri6 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230510@154759.5441 a4nsf3l6gb7opg3f5u742jtri6 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
20230510@154759.5459 a4nsf3l6gb7opg3f5u742jtri6 Query : use flama_phc
20230510@154759.5462 a4nsf3l6gb7opg3f5u742jtri6 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20230510@154759.5489 a4nsf3l6gb7opg3f5u742jtri6 Query : use flama_phc
20230510@154759.5492 a4nsf3l6gb7opg3f5u742jtri6 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230510@154759.5522 a4nsf3l6gb7opg3f5u742jtri6 Query : use flama_phc
20230510@154759.5531 a4nsf3l6gb7opg3f5u742jtri6 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230510@154759.5544 a4nsf3l6gb7opg3f5u742jtri6 Query : use flama_phc
20230510@154759.5547 a4nsf3l6gb7opg3f5u742jtri6 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m corroios'
20230510@154759.5564 a4nsf3l6gb7opg3f5u742jtri6 Query : use flama_phc
20230510@154759.5569 a4nsf3l6gb7opg3f5u742jtri6 Query : select 1 valor from td where ndoc = 39
20230510@154759.5590 a4nsf3l6gb7opg3f5u742jtri6 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230510@154759.5613 a4nsf3l6gb7opg3f5u742jtri6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230510@154759.5642 a4nsf3l6gb7opg3f5u742jtri6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230510@154759.5662 a4nsf3l6gb7opg3f5u742jtri6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230510@154759.5676 a4nsf3l6gb7opg3f5u742jtri6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230510@154759.5681 a4nsf3l6gb7opg3f5u742jtri6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230510@154759.5703 a4nsf3l6gb7opg3f5u742jtri6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230510@154759.5715 a4nsf3l6gb7opg3f5u742jtri6 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230510@154759.5772 a4nsf3l6gb7opg3f5u742jtri6 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230510@154759.5788 a4nsf3l6gb7opg3f5u742jtri6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230510@154759.5819 a4nsf3l6gb7opg3f5u742jtri6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230510@154759.5830 a4nsf3l6gb7opg3f5u742jtri6 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645ba34709645bae9f8b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230510@154759.5986 a4nsf3l6gb7opg3f5u742jtri6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230510@154759.6020 a4nsf3l6gb7opg3f5u742jtri6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230510@154759.6026 a4nsf3l6gb7opg3f5u742jtri6 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645ba34709645bae9f8b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230510@154759.6044 a4nsf3l6gb7opg3f5u742jtri6 Query : select top 1 fno valor from wsft039data order by fno desc
20230510@154759.6081 a4nsf3l6gb7opg3f5u742jtri6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230510@154759.6096 a4nsf3l6gb7opg3f5u742jtri6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230510@154759.6127 a4nsf3l6gb7opg3f5u742jtri6 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ,encomenda ) values ('aut645ba34709645bae9f8b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',184,101621,0,'2023-05-10',39,'euro',0,0,2023 ,'20230510','1617',?,?,?,?,?)
20230510@154759.6438 a4nsf3l6gb7opg3f5u742jtri6 Query : use flama_phc
20230510@154759.6443 a4nsf3l6gb7opg3f5u742jtri6 Query : select st.usalote valor from st where st.ref = '324.5540.00.1'
20230510@154759.6467 a4nsf3l6gb7opg3f5u742jtri6 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5540.00.1'
20230510@154759.6480 a4nsf3l6gb7opg3f5u742jtri6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@154759.6524 a4nsf3l6gb7opg3f5u742jtri6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230510@154759.6550 a4nsf3l6gb7opg3f5u742jtri6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@154759.6570 a4nsf3l6gb7opg3f5u742jtri6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230510@154759.6575 a4nsf3l6gb7opg3f5u742jtri6 Query : select sestamp valor from se where ref ='324.5540.00.1' and lote = 'r2101288200a'
20230510@154759.6588 a4nsf3l6gb7opg3f5u742jtri6 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230510@154759.6599 a4nsf3l6gb7opg3f5u742jtri6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@154759.6624 a4nsf3l6gb7opg3f5u742jtri6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230510@154759.6659 a4nsf3l6gb7opg3f5u742jtri6 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645ba26180645bae9fa1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut645ba34709645bae9f8b' ,102.400000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230510@154759.6915 a4nsf3l6gb7opg3f5u742jtri6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@154759.6939 a4nsf3l6gb7opg3f5u742jtri6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230510@154759.6944 a4nsf3l6gb7opg3f5u742jtri6 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645ba26180645bae9fa1','aut645ba34709645bae9f8b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230510@154759.6949 a4nsf3l6gb7opg3f5u742jtri6 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645ba34709645bae9f8b','119230000149','wait',39,'ari17112337378,753000005')
20230510@154759.6985 a4nsf3l6gb7opg3f5u742jtri6 Query : use flama_phc
20230510@154759.6996 a4nsf3l6gb7opg3f5u742jtri6 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230510@154759.7008 a4nsf3l6gb7opg3f5u742jtri6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='284';
20230510@154759.7027 a4nsf3l6gb7opg3f5u742jtri6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='284';
20230510@154759.7042 a4nsf3l6gb7opg3f5u742jtri6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='284';
20230510@154759.7056 a4nsf3l6gb7opg3f5u742jtri6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='284';
20230510@154759.7377 2vrbtb3tn6a08q2c5vib6btauv Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230510@154759.7395 2vrbtb3tn6a08q2c5vib6btauv Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230510@154759.7413 2vrbtb3tn6a08q2c5vib6btauv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='285';
20230510@154759.7464 2vrbtb3tn6a08q2c5vib6btauv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='285';
20230510@154759.7479 2vrbtb3tn6a08q2c5vib6btauv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='285';
20230510@154759.7505 2vrbtb3tn6a08q2c5vib6btauv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='285';
20230510@154759.7518 2vrbtb3tn6a08q2c5vib6btauv Query : use flama_phc
20230510@154759.7521 2vrbtb3tn6a08q2c5vib6btauv Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230510@154759.7536 2vrbtb3tn6a08q2c5vib6btauv Query : use flama_phc
20230510@154759.7544 2vrbtb3tn6a08q2c5vib6btauv Query : select no, estab,szadrsdesc from szadrs where u_coddest=233
20230510@154759.7669 2vrbtb3tn6a08q2c5vib6btauv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9316.00.1'
20230510@154759.7683 2vrbtb3tn6a08q2c5vib6btauv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000150 and bi.ref ='328.9316.00.1' and bi.lordem =20000
20230510@154759.8388 2vrbtb3tn6a08q2c5vib6btauv Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051053608,0710000-2 ' 
20230510@154759.8751 2vrbtb3tn6a08q2c5vib6btauv Query : use flama_phc
20230510@154759.8764 2vrbtb3tn6a08q2c5vib6btauv Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230510@154759.8805 2vrbtb3tn6a08q2c5vib6btauv Query : use flama_phc
20230510@154759.8808 2vrbtb3tn6a08q2c5vib6btauv Query : select top 1 1 valor from td where td.ndoc = 39
20230510@154759.8823 2vrbtb3tn6a08q2c5vib6btauv Query : use flama_phc
20230510@154759.8830 2vrbtb3tn6a08q2c5vib6btauv Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230510@154759.8843 2vrbtb3tn6a08q2c5vib6btauv 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
20230510@154759.8872 2vrbtb3tn6a08q2c5vib6btauv Query : use flama_phc
20230510@154759.8884 2vrbtb3tn6a08q2c5vib6btauv Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20230510@154759.8903 2vrbtb3tn6a08q2c5vib6btauv Query : use flama_phc
20230510@154759.8954 2vrbtb3tn6a08q2c5vib6btauv Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230510@154759.9095 2vrbtb3tn6a08q2c5vib6btauv Query : use flama_phc
20230510@154759.9099 2vrbtb3tn6a08q2c5vib6btauv Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230510@154759.9122 2vrbtb3tn6a08q2c5vib6btauv Query : use flama_phc
20230510@154759.9130 2vrbtb3tn6a08q2c5vib6btauv Query : select szadrsstamp valor from szadrs where szadrsdesc='jom - tudo para o seu lar'
20230510@154759.9148 2vrbtb3tn6a08q2c5vib6btauv Query : use flama_phc
20230510@154759.9152 2vrbtb3tn6a08q2c5vib6btauv Query : select 1 valor from td where ndoc = 39
20230510@154759.9169 2vrbtb3tn6a08q2c5vib6btauv Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230510@154759.9185 2vrbtb3tn6a08q2c5vib6btauv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230510@154759.9210 2vrbtb3tn6a08q2c5vib6btauv Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230510@154759.9232 2vrbtb3tn6a08q2c5vib6btauv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230510@154759.9250 2vrbtb3tn6a08q2c5vib6btauv Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230510@154759.9258 2vrbtb3tn6a08q2c5vib6btauv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230510@154759.9275 2vrbtb3tn6a08q2c5vib6btauv Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230510@154759.9291 2vrbtb3tn6a08q2c5vib6btauv Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230510@154759.9351 2vrbtb3tn6a08q2c5vib6btauv Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230510@154759.9371 2vrbtb3tn6a08q2c5vib6btauv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230510@154759.9402 2vrbtb3tn6a08q2c5vib6btauv Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230510@154759.9419 2vrbtb3tn6a08q2c5vib6btauv Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645ba81026645bae9fe2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230510@154759.9671 2vrbtb3tn6a08q2c5vib6btauv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230510@154759.9693 2vrbtb3tn6a08q2c5vib6btauv Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230510@154759.9700 2vrbtb3tn6a08q2c5vib6btauv Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645ba81026645bae9fe2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230510@154759.9706 2vrbtb3tn6a08q2c5vib6btauv Query : select top 1 fno valor from wsft039data order by fno desc
20230510@154759.9734 2vrbtb3tn6a08q2c5vib6btauv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230510@154759.9768 2vrbtb3tn6a08q2c5vib6btauv Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230510@154759.9794 2vrbtb3tn6a08q2c5vib6btauv Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ,encomenda ) values ('aut645ba81026645bae9fe2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',185,101621,0,'2023-05-10',39,'euro',0,0,2023 ,'20230510','1617',?,?,?,?,?)
20230510@154800.1490 2vrbtb3tn6a08q2c5vib6btauv Query : use flama_phc
20230510@154800.1560 2vrbtb3tn6a08q2c5vib6btauv Query : select st.usalote valor from st where st.ref = '328.9316.00.1'
20230510@154800.1760 2vrbtb3tn6a08q2c5vib6btauv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '328.9316.00.1'
20230510@154800.2000 2vrbtb3tn6a08q2c5vib6btauv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@154800.2180 2vrbtb3tn6a08q2c5vib6btauv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230510@154800.2700 2vrbtb3tn6a08q2c5vib6btauv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@154800.2960 2vrbtb3tn6a08q2c5vib6btauv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230510@154800.3010 2vrbtb3tn6a08q2c5vib6btauv Query : select sestamp valor from se where ref ='328.9316.00.1' and lote = 'r2101101100a'
20230510@154800.3150 2vrbtb3tn6a08q2c5vib6btauv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230510@154800.3500 2vrbtb3tn6a08q2c5vib6btauv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@154800.3690 2vrbtb3tn6a08q2c5vib6btauv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230510@154800.4050 2vrbtb3tn6a08q2c5vib6btauv Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645ba11887645baea008',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut645ba81026645bae9fe2' ,83.200000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230510@154800.7040 2vrbtb3tn6a08q2c5vib6btauv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@154800.7630 2vrbtb3tn6a08q2c5vib6btauv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230510@154800.8120 2vrbtb3tn6a08q2c5vib6btauv Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645ba11887645baea008','aut645ba81026645bae9fe2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230510@154800.8590 2vrbtb3tn6a08q2c5vib6btauv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@154800.8940 2vrbtb3tn6a08q2c5vib6btauv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230510@154800.9450 2vrbtb3tn6a08q2c5vib6btauv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@154800.9720 2vrbtb3tn6a08q2c5vib6btauv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230510@154800.9810 2vrbtb3tn6a08q2c5vib6btauv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230510@154800.9990 2vrbtb3tn6a08q2c5vib6btauv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@154800.1033 2vrbtb3tn6a08q2c5vib6btauv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230510@154800.1099 2vrbtb3tn6a08q2c5vib6btauv Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645ba98741645baea018',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645ba81026645bae9fe2' ,0,0 ,2,23.00,20000,?,?,?)
20230510@154800.1431 2vrbtb3tn6a08q2c5vib6btauv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@154800.1477 2vrbtb3tn6a08q2c5vib6btauv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230510@154800.1483 2vrbtb3tn6a08q2c5vib6btauv Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645ba98741645baea018','aut645ba81026645bae9fe2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230510@154800.1488 2vrbtb3tn6a08q2c5vib6btauv Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645ba81026645bae9fe2','119230000150','wait',39,'ari17112337378,753000005')
20230510@154800.1508 2vrbtb3tn6a08q2c5vib6btauv Query : use flama_phc
20230510@154800.1511 2vrbtb3tn6a08q2c5vib6btauv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230510@154800.1538 2vrbtb3tn6a08q2c5vib6btauv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='285';
20230510@154800.1580 2vrbtb3tn6a08q2c5vib6btauv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='285';
20230510@154800.1594 2vrbtb3tn6a08q2c5vib6btauv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='285';
20230510@154800.1609 2vrbtb3tn6a08q2c5vib6btauv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='285';
20230510@154800.1935 m8oi7qkest6gpslha7sfpv9ll1 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230510@154800.1951 m8oi7qkest6gpslha7sfpv9ll1 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230510@154800.1981 m8oi7qkest6gpslha7sfpv9ll1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='286';
20230510@154800.2027 m8oi7qkest6gpslha7sfpv9ll1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='286';
20230510@154800.2046 m8oi7qkest6gpslha7sfpv9ll1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='286';
20230510@154800.2068 m8oi7qkest6gpslha7sfpv9ll1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='286';
20230510@154800.2097 m8oi7qkest6gpslha7sfpv9ll1 Query : use flama_phc
20230510@154800.2111 m8oi7qkest6gpslha7sfpv9ll1 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230510@154800.2124 m8oi7qkest6gpslha7sfpv9ll1 Query : use flama_phc
20230510@154800.2130 m8oi7qkest6gpslha7sfpv9ll1 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2066
20230510@154800.2204 m8oi7qkest6gpslha7sfpv9ll1 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'
20230510@154800.2373 m8oi7qkest6gpslha7sfpv9ll1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000151 and bi.ref ='324.1557.00.1' and bi.lordem =20000
20230510@154800.2779 m8oi7qkest6gpslha7sfpv9ll1 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051053610,9710000-2 ' 
20230510@154800.3350 m8oi7qkest6gpslha7sfpv9ll1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2211.00.1'
20230510@154800.3438 m8oi7qkest6gpslha7sfpv9ll1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000151 and bi.ref ='324.2211.00.1' and bi.lordem =30000
20230510@154800.3933 m8oi7qkest6gpslha7sfpv9ll1 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051053611,0020000-3 ' 
20230510@154800.4414 m8oi7qkest6gpslha7sfpv9ll1 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'
20230510@154800.4426 m8oi7qkest6gpslha7sfpv9ll1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000151 and bi.ref ='324.1816.00.1' and bi.lordem =50000
20230510@154800.4810 m8oi7qkest6gpslha7sfpv9ll1 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051053611,0430000-5 ' 
20230510@154800.5223 m8oi7qkest6gpslha7sfpv9ll1 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'
20230510@154800.5257 m8oi7qkest6gpslha7sfpv9ll1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000151 and bi.ref ='324.1816.00.1' and bi.lordem =60000
20230510@154800.5767 m8oi7qkest6gpslha7sfpv9ll1 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051053611,0650000-6 ' 
20230510@154800.6204 m8oi7qkest6gpslha7sfpv9ll1 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'
20230510@154800.6378 m8oi7qkest6gpslha7sfpv9ll1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000151 and bi.ref ='304.4320.00.1' and bi.lordem =70000
20230510@154800.6876 m8oi7qkest6gpslha7sfpv9ll1 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051053611,0860000-7 ' 
20230510@154800.7312 m8oi7qkest6gpslha7sfpv9ll1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4220.00.1'
20230510@154800.7473 m8oi7qkest6gpslha7sfpv9ll1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000151 and bi.ref ='304.4220.00.1' and bi.lordem =80000
20230510@154800.8013 m8oi7qkest6gpslha7sfpv9ll1 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051053611,1160000-8 ' 
20230510@154800.8412 m8oi7qkest6gpslha7sfpv9ll1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1643.00.1'
20230510@154800.8839 m8oi7qkest6gpslha7sfpv9ll1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000151 and bi.ref ='324.1643.00.1' and bi.lordem =90000
20230510@154800.9773 m8oi7qkest6gpslha7sfpv9ll1 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051053611,1450000-9 ' 
20230510@154801.6490 m8oi7qkest6gpslha7sfpv9ll1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1643.00.1'
20230510@154801.8820 m8oi7qkest6gpslha7sfpv9ll1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000151 and bi.ref ='324.1643.00.1' and bi.lordem =100000
20230510@154801.1813 m8oi7qkest6gpslha7sfpv9ll1 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051053611,166000-10 ' 
20230510@154801.2170 m8oi7qkest6gpslha7sfpv9ll1 Query : use flama_phc
20230510@154801.2174 m8oi7qkest6gpslha7sfpv9ll1 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230510@154801.2224 m8oi7qkest6gpslha7sfpv9ll1 Query : use flama_phc
20230510@154801.2227 m8oi7qkest6gpslha7sfpv9ll1 Query : select top 1 1 valor from td where td.ndoc = 39
20230510@154801.2258 m8oi7qkest6gpslha7sfpv9ll1 Query : use flama_phc
20230510@154801.2269 m8oi7qkest6gpslha7sfpv9ll1 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230510@154801.2281 m8oi7qkest6gpslha7sfpv9ll1 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
20230510@154801.2334 m8oi7qkest6gpslha7sfpv9ll1 Query : use flama_phc
20230510@154801.2338 m8oi7qkest6gpslha7sfpv9ll1 Query : select top 1 ~inactivo valor from cl where no = '102414' and estab = 0 order by inactivo desc
20230510@154801.2494 m8oi7qkest6gpslha7sfpv9ll1 Query : use flama_phc
20230510@154801.2498 m8oi7qkest6gpslha7sfpv9ll1 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230510@154801.2514 m8oi7qkest6gpslha7sfpv9ll1 Query : use flama_phc
20230510@154801.2519 m8oi7qkest6gpslha7sfpv9ll1 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230510@154801.2536 m8oi7qkest6gpslha7sfpv9ll1 Query : use flama_phc
20230510@154801.2539 m8oi7qkest6gpslha7sfpv9ll1 Query : select szadrsstamp valor from szadrs where szadrsdesc='mlp - barreiro - comercio de electrodomesticos lda'
20230510@154801.2631 m8oi7qkest6gpslha7sfpv9ll1 Query : use flama_phc
20230510@154801.2637 m8oi7qkest6gpslha7sfpv9ll1 Query : select 1 valor from td where ndoc = 39
20230510@154801.2649 m8oi7qkest6gpslha7sfpv9ll1 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230510@154801.2664 m8oi7qkest6gpslha7sfpv9ll1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230510@154801.2680 m8oi7qkest6gpslha7sfpv9ll1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230510@154801.2700 m8oi7qkest6gpslha7sfpv9ll1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230510@154801.2728 m8oi7qkest6gpslha7sfpv9ll1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230510@154801.2736 m8oi7qkest6gpslha7sfpv9ll1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230510@154801.2751 m8oi7qkest6gpslha7sfpv9ll1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230510@154801.2781 m8oi7qkest6gpslha7sfpv9ll1 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230510@154801.2833 m8oi7qkest6gpslha7sfpv9ll1 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230510@154801.2844 m8oi7qkest6gpslha7sfpv9ll1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230510@154801.2909 m8oi7qkest6gpslha7sfpv9ll1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230510@154801.2919 m8oi7qkest6gpslha7sfpv9ll1 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645ba73688645baea143' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230510@154801.3163 m8oi7qkest6gpslha7sfpv9ll1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230510@154801.3184 m8oi7qkest6gpslha7sfpv9ll1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230510@154801.3230 m8oi7qkest6gpslha7sfpv9ll1 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645ba73688645baea143',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230510@154801.3237 m8oi7qkest6gpslha7sfpv9ll1 Query : select top 1 fno valor from wsft039data order by fno desc
20230510@154801.3252 m8oi7qkest6gpslha7sfpv9ll1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230510@154801.3266 m8oi7qkest6gpslha7sfpv9ll1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230510@154801.3295 m8oi7qkest6gpslha7sfpv9ll1 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ,encomenda ) values ('aut645ba73688645baea143',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',186,102414,0,'2023-05-10',39,'euro',0,0,2023 ,'20230510','1618',?,?,?,?,?)
20230510@154801.3693 m8oi7qkest6gpslha7sfpv9ll1 Query : use flama_phc
20230510@154801.3700 m8oi7qkest6gpslha7sfpv9ll1 Query : select st.usalote valor from st where st.ref = '324.1557.00.1'
20230510@154801.3728 m8oi7qkest6gpslha7sfpv9ll1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1557.00.1'
20230510@154801.4043 m8oi7qkest6gpslha7sfpv9ll1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@154801.4067 m8oi7qkest6gpslha7sfpv9ll1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230510@154801.4140 m8oi7qkest6gpslha7sfpv9ll1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@154801.4169 m8oi7qkest6gpslha7sfpv9ll1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230510@154801.4187 m8oi7qkest6gpslha7sfpv9ll1 Query : select sestamp valor from se where ref ='324.1557.00.1' and lote = 'r2200786200a'
20230510@154801.4212 m8oi7qkest6gpslha7sfpv9ll1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230510@154801.4234 m8oi7qkest6gpslha7sfpv9ll1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@154801.4264 m8oi7qkest6gpslha7sfpv9ll1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230510@154801.4321 m8oi7qkest6gpslha7sfpv9ll1 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645ba53175645baea167',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut645ba73688645baea143' ,128.000000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230510@154801.4627 m8oi7qkest6gpslha7sfpv9ll1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@154801.4651 m8oi7qkest6gpslha7sfpv9ll1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230510@154801.4657 m8oi7qkest6gpslha7sfpv9ll1 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645ba53175645baea167','aut645ba73688645baea143' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230510@154801.4662 m8oi7qkest6gpslha7sfpv9ll1 Query : use flama_phc
20230510@154801.4683 m8oi7qkest6gpslha7sfpv9ll1 Query : select st.usalote valor from st where st.ref = '324.2211.00.1'
20230510@154801.4699 m8oi7qkest6gpslha7sfpv9ll1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2211.00.1'
20230510@154801.4725 m8oi7qkest6gpslha7sfpv9ll1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@154801.4745 m8oi7qkest6gpslha7sfpv9ll1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230510@154801.4773 m8oi7qkest6gpslha7sfpv9ll1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@154801.4795 m8oi7qkest6gpslha7sfpv9ll1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230510@154801.4800 m8oi7qkest6gpslha7sfpv9ll1 Query : select sestamp valor from se where ref ='324.2211.00.1' and lote = 'r2100703100a'
20230510@154801.4839 m8oi7qkest6gpslha7sfpv9ll1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230510@154801.4890 m8oi7qkest6gpslha7sfpv9ll1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@154801.4922 m8oi7qkest6gpslha7sfpv9ll1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230510@154801.4960 m8oi7qkest6gpslha7sfpv9ll1 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645ba23811645baea177',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut645ba73688645baea143' ,32.000000,0 ,2,23.00,20000,?,?,?,?,?,?,?,?,?)
20230510@154801.5285 m8oi7qkest6gpslha7sfpv9ll1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@154801.5326 m8oi7qkest6gpslha7sfpv9ll1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230510@154801.5336 m8oi7qkest6gpslha7sfpv9ll1 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645ba23811645baea177','aut645ba73688645baea143' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230510@154801.5343 m8oi7qkest6gpslha7sfpv9ll1 Query : use flama_phc
20230510@154801.5347 m8oi7qkest6gpslha7sfpv9ll1 Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20230510@154801.5375 m8oi7qkest6gpslha7sfpv9ll1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230510@154801.5387 m8oi7qkest6gpslha7sfpv9ll1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@154801.5405 m8oi7qkest6gpslha7sfpv9ll1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230510@154801.5455 m8oi7qkest6gpslha7sfpv9ll1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@154801.5476 m8oi7qkest6gpslha7sfpv9ll1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230510@154801.5488 m8oi7qkest6gpslha7sfpv9ll1 Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2200647200a'
20230510@154801.5500 m8oi7qkest6gpslha7sfpv9ll1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230510@154801.5510 m8oi7qkest6gpslha7sfpv9ll1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@154801.5523 m8oi7qkest6gpslha7sfpv9ll1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230510@154801.5547 m8oi7qkest6gpslha7sfpv9ll1 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645ba01789645baea186',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut645ba73688645baea143' ,.000000,0 ,2,23.00,30000,?,?,?,?,?,?,?,?,?)
20230510@154801.5786 m8oi7qkest6gpslha7sfpv9ll1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@154801.5809 m8oi7qkest6gpslha7sfpv9ll1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230510@154801.5814 m8oi7qkest6gpslha7sfpv9ll1 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645ba01789645baea186','aut645ba73688645baea143' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230510@154801.5819 m8oi7qkest6gpslha7sfpv9ll1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@154801.5833 m8oi7qkest6gpslha7sfpv9ll1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230510@154801.5877 m8oi7qkest6gpslha7sfpv9ll1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@154801.5907 m8oi7qkest6gpslha7sfpv9ll1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230510@154801.5912 m8oi7qkest6gpslha7sfpv9ll1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230510@154801.5932 m8oi7qkest6gpslha7sfpv9ll1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@154801.5945 m8oi7qkest6gpslha7sfpv9ll1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230510@154801.5967 m8oi7qkest6gpslha7sfpv9ll1 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645ba96033645baea190',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645ba73688645baea143' ,0,0 ,2,23.00,40000,?,?,?)
20230510@154801.6235 m8oi7qkest6gpslha7sfpv9ll1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@154801.6249 m8oi7qkest6gpslha7sfpv9ll1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230510@154801.6253 m8oi7qkest6gpslha7sfpv9ll1 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645ba96033645baea190','aut645ba73688645baea143' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230510@154801.6258 m8oi7qkest6gpslha7sfpv9ll1 Query : use flama_phc
20230510@154801.6261 m8oi7qkest6gpslha7sfpv9ll1 Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20230510@154801.6273 m8oi7qkest6gpslha7sfpv9ll1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230510@154801.6309 m8oi7qkest6gpslha7sfpv9ll1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@154801.6352 m8oi7qkest6gpslha7sfpv9ll1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230510@154801.6394 m8oi7qkest6gpslha7sfpv9ll1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@154801.6447 m8oi7qkest6gpslha7sfpv9ll1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230510@154801.6455 m8oi7qkest6gpslha7sfpv9ll1 Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2200647200a'
20230510@154801.6464 m8oi7qkest6gpslha7sfpv9ll1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230510@154801.6491 m8oi7qkest6gpslha7sfpv9ll1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@154801.6579 m8oi7qkest6gpslha7sfpv9ll1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230510@154801.6619 m8oi7qkest6gpslha7sfpv9ll1 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645ba27164645baea19e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',7.000 ,'aut645ba73688645baea143' ,52.500000,0 ,2,23.00,60000,?,?,?,?,?,?,?,?,?)
20230510@154801.6917 m8oi7qkest6gpslha7sfpv9ll1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@154801.6933 m8oi7qkest6gpslha7sfpv9ll1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230510@154801.6941 m8oi7qkest6gpslha7sfpv9ll1 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645ba27164645baea19e','aut645ba73688645baea143' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230510@154801.6948 m8oi7qkest6gpslha7sfpv9ll1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@154801.6975 m8oi7qkest6gpslha7sfpv9ll1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230510@154801.7016 m8oi7qkest6gpslha7sfpv9ll1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@154801.7036 m8oi7qkest6gpslha7sfpv9ll1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230510@154801.7042 m8oi7qkest6gpslha7sfpv9ll1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230510@154801.7082 m8oi7qkest6gpslha7sfpv9ll1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@154801.7098 m8oi7qkest6gpslha7sfpv9ll1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230510@154801.7142 m8oi7qkest6gpslha7sfpv9ll1 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645ba62519645baea1ac',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645ba73688645baea143' ,0,0 ,2,23.00,70000,?,?,?)
20230510@154801.7437 m8oi7qkest6gpslha7sfpv9ll1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@154801.7466 m8oi7qkest6gpslha7sfpv9ll1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230510@154801.7480 m8oi7qkest6gpslha7sfpv9ll1 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645ba62519645baea1ac','aut645ba73688645baea143' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230510@154801.7497 m8oi7qkest6gpslha7sfpv9ll1 Query : use flama_phc
20230510@154801.7503 m8oi7qkest6gpslha7sfpv9ll1 Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20230510@154801.7530 m8oi7qkest6gpslha7sfpv9ll1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230510@154801.7674 m8oi7qkest6gpslha7sfpv9ll1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@154801.7691 m8oi7qkest6gpslha7sfpv9ll1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230510@154801.7734 m8oi7qkest6gpslha7sfpv9ll1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@154801.7751 m8oi7qkest6gpslha7sfpv9ll1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230510@154801.7755 m8oi7qkest6gpslha7sfpv9ll1 Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '230004'
20230510@154801.7783 m8oi7qkest6gpslha7sfpv9ll1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230510@154801.7812 m8oi7qkest6gpslha7sfpv9ll1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@154801.7845 m8oi7qkest6gpslha7sfpv9ll1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230510@154801.7870 m8oi7qkest6gpslha7sfpv9ll1 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645ba96045645baea1be',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut645ba73688645baea143' ,27.600000,0 ,2,23.00,90000,?,?,?,?,?,?,?,?,?)
20230510@154801.8148 m8oi7qkest6gpslha7sfpv9ll1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@154801.8179 m8oi7qkest6gpslha7sfpv9ll1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230510@154801.8186 m8oi7qkest6gpslha7sfpv9ll1 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645ba96045645baea1be','aut645ba73688645baea143' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230510@154801.8194 m8oi7qkest6gpslha7sfpv9ll1 Query : use flama_phc
20230510@154801.8197 m8oi7qkest6gpslha7sfpv9ll1 Query : select st.usalote valor from st where st.ref = '304.4220.00.1'
20230510@154801.8211 m8oi7qkest6gpslha7sfpv9ll1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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.4220.00.1'
20230510@154801.8394 m8oi7qkest6gpslha7sfpv9ll1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@154801.8411 m8oi7qkest6gpslha7sfpv9ll1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230510@154801.8449 m8oi7qkest6gpslha7sfpv9ll1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@154801.8471 m8oi7qkest6gpslha7sfpv9ll1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230510@154801.8483 m8oi7qkest6gpslha7sfpv9ll1 Query : select sestamp valor from se where ref ='304.4220.00.1' and lote = '181220'
20230510@154801.8516 m8oi7qkest6gpslha7sfpv9ll1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230510@154801.8525 m8oi7qkest6gpslha7sfpv9ll1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@154801.8554 m8oi7qkest6gpslha7sfpv9ll1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230510@154801.8603 m8oi7qkest6gpslha7sfpv9ll1 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645ba49484645baea1d0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut645ba73688645baea143' ,21.200000,0 ,2,23.00,100000,?,?,?,?,?,?,?,?,?)
20230510@154801.8927 m8oi7qkest6gpslha7sfpv9ll1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@154801.8953 m8oi7qkest6gpslha7sfpv9ll1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230510@154801.8963 m8oi7qkest6gpslha7sfpv9ll1 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645ba49484645baea1d0','aut645ba73688645baea143' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230510@154801.8970 m8oi7qkest6gpslha7sfpv9ll1 Query : use flama_phc
20230510@154801.8975 m8oi7qkest6gpslha7sfpv9ll1 Query : select st.usalote valor from st where st.ref = '324.1643.00.1'
20230510@154801.9001 m8oi7qkest6gpslha7sfpv9ll1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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.1643.00.1'
20230510@154801.9138 m8oi7qkest6gpslha7sfpv9ll1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@154801.9153 m8oi7qkest6gpslha7sfpv9ll1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230510@154801.9186 m8oi7qkest6gpslha7sfpv9ll1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@154801.9206 m8oi7qkest6gpslha7sfpv9ll1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230510@154801.9223 m8oi7qkest6gpslha7sfpv9ll1 Query : select sestamp valor from se where ref ='324.1643.00.1' and lote = 'r2101218200a'
20230510@154801.9248 m8oi7qkest6gpslha7sfpv9ll1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230510@154801.9288 m8oi7qkest6gpslha7sfpv9ll1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@154801.9317 m8oi7qkest6gpslha7sfpv9ll1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230510@154801.9356 m8oi7qkest6gpslha7sfpv9ll1 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645ba56159645baea1e2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut645ba73688645baea143' ,96.000000,0 ,2,23.00,110000,?,?,?,?,?,?,?,?,?)
20230510@154801.9607 m8oi7qkest6gpslha7sfpv9ll1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@154801.9643 m8oi7qkest6gpslha7sfpv9ll1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230510@154801.9647 m8oi7qkest6gpslha7sfpv9ll1 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645ba56159645baea1e2','aut645ba73688645baea143' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230510@154801.9651 m8oi7qkest6gpslha7sfpv9ll1 Query : use flama_phc
20230510@154801.9656 m8oi7qkest6gpslha7sfpv9ll1 Query : select st.usalote valor from st where st.ref = '324.1643.00.1'
20230510@154801.9682 m8oi7qkest6gpslha7sfpv9ll1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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.1643.00.1'
20230510@154801.9692 m8oi7qkest6gpslha7sfpv9ll1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@154801.9720 m8oi7qkest6gpslha7sfpv9ll1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230510@154801.9743 m8oi7qkest6gpslha7sfpv9ll1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@154801.9782 m8oi7qkest6gpslha7sfpv9ll1 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230510@154801.9786 m8oi7qkest6gpslha7sfpv9ll1 Query : select sestamp valor from se where ref ='324.1643.00.1' and lote = 'r2101218200a'
20230510@154801.9794 m8oi7qkest6gpslha7sfpv9ll1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230510@154801.9824 m8oi7qkest6gpslha7sfpv9ll1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@154801.9837 m8oi7qkest6gpslha7sfpv9ll1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230510@154801.9860 m8oi7qkest6gpslha7sfpv9ll1 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645ba84600645baea1ef',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut645ba73688645baea143' ,.000000,0 ,2,23.00,120000,?,?,?,?,?,?,?,?,?)
20230510@154802.1360 m8oi7qkest6gpslha7sfpv9ll1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@154802.1570 m8oi7qkest6gpslha7sfpv9ll1 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230510@154802.1610 m8oi7qkest6gpslha7sfpv9ll1 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645ba84600645baea1ef','aut645ba73688645baea143' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230510@154802.1660 m8oi7qkest6gpslha7sfpv9ll1 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645ba73688645baea143','119230000151','wait',39,'ari17112337378,753000005')
20230510@154802.1860 m8oi7qkest6gpslha7sfpv9ll1 Query : use flama_phc
20230510@154802.1890 m8oi7qkest6gpslha7sfpv9ll1 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230510@154802.2070 m8oi7qkest6gpslha7sfpv9ll1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='286';
20230510@154802.2200 m8oi7qkest6gpslha7sfpv9ll1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='286';
20230510@154802.2330 m8oi7qkest6gpslha7sfpv9ll1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='286';
20230510@154802.2430 m8oi7qkest6gpslha7sfpv9ll1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='286';
20230510@163055.8195 0jjur67mat0s8pcsu7s4a3047r Query : use flama_phc
20230510@163055.8201 0jjur67mat0s8pcsu7s4a3047r Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20230510@163055.8269 0jjur67mat0s8pcsu7s4a3047r Query : use flama_phc
20230510@163055.8272 0jjur67mat0s8pcsu7s4a3047r Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230510@173056.2174 80nag92b4ic76hg0q5dp464f6m Query : use flama_phc
20230510@173056.2179 80nag92b4ic76hg0q5dp464f6m Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20230510@173056.2198 80nag92b4ic76hg0q5dp464f6m Query : use flama_phc
20230510@173056.2201 80nag92b4ic76hg0q5dp464f6m Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230510@183056.4119 k4jrf9np7sv87lcumnt8s0sdtk Query : use flama_phc
20230510@183056.4123 k4jrf9np7sv87lcumnt8s0sdtk Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20230510@183056.4144 k4jrf9np7sv87lcumnt8s0sdtk Query : use flama_phc
20230510@183056.4147 k4jrf9np7sv87lcumnt8s0sdtk Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230510@193055.5922 6vofvht8dh5e9qqbn5kkh3vbsn Query : use flama_phc
20230510@193055.5927 6vofvht8dh5e9qqbn5kkh3vbsn Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20230510@193055.5985 6vofvht8dh5e9qqbn5kkh3vbsn Query : use flama_phc
20230510@193055.5989 6vofvht8dh5e9qqbn5kkh3vbsn Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230510@195105.4975 0bub8va3r8q2m672pn1ubu1rke Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230510@195105.5009 0bub8va3r8q2m672pn1ubu1rke Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230510@195105.5055 0bub8va3r8q2m672pn1ubu1rke Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='287';
20230510@195105.5089 0bub8va3r8q2m672pn1ubu1rke Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='287';
20230510@195105.5102 0bub8va3r8q2m672pn1ubu1rke Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='287';
20230510@195105.5127 0bub8va3r8q2m672pn1ubu1rke Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='287';
20230510@195105.5138 0bub8va3r8q2m672pn1ubu1rke Query : use flama_phc
20230510@195105.5142 0bub8va3r8q2m672pn1ubu1rke Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230510@195105.5183 0bub8va3r8q2m672pn1ubu1rke Query : use flama_phc
20230510@195105.5188 0bub8va3r8q2m672pn1ubu1rke Query : select no, estab,szadrsdesc from szadrs where u_coddest=760
20230510@195105.5267 0bub8va3r8q2m672pn1ubu1rke 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'
20230510@195105.5401 0bub8va3r8q2m672pn1ubu1rke Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000130 and bi.ref ='304.421.00.04' and bi.lordem =20000
20230510@195105.5717 0bub8va3r8q2m672pn1ubu1rke Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051043124,7270000-2 ' 
20230510@195105.6013 0bub8va3r8q2m672pn1ubu1rke 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'
20230510@195105.6142 0bub8va3r8q2m672pn1ubu1rke Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000130 and bi.ref ='324.1716.00.1' and bi.lordem =30000
20230510@195105.6446 0bub8va3r8q2m672pn1ubu1rke Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051043124,7990000-3 ' 
20230510@195105.6746 0bub8va3r8q2m672pn1ubu1rke 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'
20230510@195105.6756 0bub8va3r8q2m672pn1ubu1rke Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000130 and bi.ref ='304.4320.00.1' and bi.lordem =40000
20230510@195105.7055 0bub8va3r8q2m672pn1ubu1rke Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051043124,8510000-4 ' 
20230510@195105.7561 0bub8va3r8q2m672pn1ubu1rke 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'
20230510@195105.7689 0bub8va3r8q2m672pn1ubu1rke Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000130 and bi.ref ='324.1676.00.1' and bi.lordem =50000
20230510@195105.7985 0bub8va3r8q2m672pn1ubu1rke Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051043124,8770000-5 ' 
20230510@195105.8287 0bub8va3r8q2m672pn1ubu1rke 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'
20230510@195105.8409 0bub8va3r8q2m672pn1ubu1rke Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000130 and bi.ref ='324.1879.00.1' and bi.lordem =60000
20230510@195105.8717 0bub8va3r8q2m672pn1ubu1rke Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051043124,9120000-6 ' 
20230510@195105.9040 0bub8va3r8q2m672pn1ubu1rke 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'
20230510@195105.9164 0bub8va3r8q2m672pn1ubu1rke Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000130 and bi.ref ='324.4970.00.1' and bi.lordem =70000
20230510@195105.9462 0bub8va3r8q2m672pn1ubu1rke Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051043124,9600000-7 ' 
20230510@195105.9771 0bub8va3r8q2m672pn1ubu1rke Query : use flama_phc
20230510@195105.9774 0bub8va3r8q2m672pn1ubu1rke Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230510@195105.9927 0bub8va3r8q2m672pn1ubu1rke Query : use flama_phc
20230510@195105.9930 0bub8va3r8q2m672pn1ubu1rke Query : select top 1 1 valor from td where td.ndoc = 39
20230510@195105.9982 0bub8va3r8q2m672pn1ubu1rke Query : use flama_phc
20230510@195105.9985 0bub8va3r8q2m672pn1ubu1rke Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230510@195106.2500 0bub8va3r8q2m672pn1ubu1rke 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
20230510@195106.1030 0bub8va3r8q2m672pn1ubu1rke Query : use flama_phc
20230510@195106.1060 0bub8va3r8q2m672pn1ubu1rke Query : select top 1 ~inactivo valor from cl where no = '101415' and estab = 0 order by inactivo desc
20230510@195106.1920 0bub8va3r8q2m672pn1ubu1rke Query : use flama_phc
20230510@195106.1960 0bub8va3r8q2m672pn1ubu1rke Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230510@195106.2460 0bub8va3r8q2m672pn1ubu1rke Query : use flama_phc
20230510@195106.2490 0bub8va3r8q2m672pn1ubu1rke Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230510@195106.2670 0bub8va3r8q2m672pn1ubu1rke Query : use flama_phc
20230510@195106.2700 0bub8va3r8q2m672pn1ubu1rke Query : select szadrsstamp valor from szadrs where szadrsdesc='alves mateus & oliveira rodrigues, lda.'
20230510@195106.2830 0bub8va3r8q2m672pn1ubu1rke Query : use flama_phc
20230510@195106.2860 0bub8va3r8q2m672pn1ubu1rke Query : select 1 valor from td where ndoc = 39
20230510@195106.3340 0bub8va3r8q2m672pn1ubu1rke Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230510@195106.3800 0bub8va3r8q2m672pn1ubu1rke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230510@195106.6640 0bub8va3r8q2m672pn1ubu1rke Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230510@195106.7160 0bub8va3r8q2m672pn1ubu1rke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230510@195106.1016 0bub8va3r8q2m672pn1ubu1rke Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230510@195106.1037 0bub8va3r8q2m672pn1ubu1rke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230510@195106.1299 0bub8va3r8q2m672pn1ubu1rke Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230510@195106.1349 0bub8va3r8q2m672pn1ubu1rke Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230510@195106.1559 0bub8va3r8q2m672pn1ubu1rke Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230510@195106.1643 0bub8va3r8q2m672pn1ubu1rke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230510@195106.1661 0bub8va3r8q2m672pn1ubu1rke Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230510@195106.1691 0bub8va3r8q2m672pn1ubu1rke Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645be53080645be79a20' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230510@195106.1945 0bub8va3r8q2m672pn1ubu1rke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230510@195106.1962 0bub8va3r8q2m672pn1ubu1rke Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230510@195106.1986 0bub8va3r8q2m672pn1ubu1rke Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645be53080645be79a20',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230510@195106.2457 0bub8va3r8q2m672pn1ubu1rke Query : select top 1 fno valor from wsft039data order by fno desc
20230510@195106.2520 0bub8va3r8q2m672pn1ubu1rke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230510@195106.2535 0bub8va3r8q2m672pn1ubu1rke Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230510@195106.2571 0bub8va3r8q2m672pn1ubu1rke Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ,encomenda ) values ('aut645be53080645be79a20',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',187,101415,0,'2023-05-10',39,'euro',0,0,2023 ,'20230510','2021',?,?,?,?,?)
20230510@195106.2964 0bub8va3r8q2m672pn1ubu1rke Query : use flama_phc
20230510@195106.3005 0bub8va3r8q2m672pn1ubu1rke Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20230510@195106.3067 0bub8va3r8q2m672pn1ubu1rke Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230510@195106.3260 0bub8va3r8q2m672pn1ubu1rke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@195106.3540 0bub8va3r8q2m672pn1ubu1rke Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230510@195106.3585 0bub8va3r8q2m672pn1ubu1rke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@195106.3848 0bub8va3r8q2m672pn1ubu1rke Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230510@195106.3869 0bub8va3r8q2m672pn1ubu1rke Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '230336'
20230510@195106.3890 0bub8va3r8q2m672pn1ubu1rke Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230510@195106.3927 0bub8va3r8q2m672pn1ubu1rke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@195106.3945 0bub8va3r8q2m672pn1ubu1rke Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230510@195106.3993 0bub8va3r8q2m672pn1ubu1rke Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645be66326645be79a5f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut645be53080645be79a20' ,25.600000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230510@195106.4373 0bub8va3r8q2m672pn1ubu1rke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@195106.4391 0bub8va3r8q2m672pn1ubu1rke Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230510@195106.4415 0bub8va3r8q2m672pn1ubu1rke Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645be66326645be79a5f','aut645be53080645be79a20' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230510@195106.5063 0bub8va3r8q2m672pn1ubu1rke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@195106.5386 0bub8va3r8q2m672pn1ubu1rke Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230510@195106.5417 0bub8va3r8q2m672pn1ubu1rke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@195106.5431 0bub8va3r8q2m672pn1ubu1rke Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230510@195106.5436 0bub8va3r8q2m672pn1ubu1rke Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230510@195106.5446 0bub8va3r8q2m672pn1ubu1rke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@195106.5461 0bub8va3r8q2m672pn1ubu1rke Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230510@195106.5489 0bub8va3r8q2m672pn1ubu1rke Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645be80578645be79a84',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645be53080645be79a20' ,0,0 ,2,23.00,20000,?,?,?)
20230510@195106.5732 0bub8va3r8q2m672pn1ubu1rke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@195106.5750 0bub8va3r8q2m672pn1ubu1rke Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230510@195106.5755 0bub8va3r8q2m672pn1ubu1rke Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645be80578645be79a84','aut645be53080645be79a20' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230510@195106.5760 0bub8va3r8q2m672pn1ubu1rke Query : use flama_phc
20230510@195106.5764 0bub8va3r8q2m672pn1ubu1rke Query : select st.usalote valor from st where st.ref = '324.1716.00.1'
20230510@195106.5780 0bub8va3r8q2m672pn1ubu1rke Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230510@195106.5927 0bub8va3r8q2m672pn1ubu1rke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@195106.5942 0bub8va3r8q2m672pn1ubu1rke Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230510@195106.5969 0bub8va3r8q2m672pn1ubu1rke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@195106.5983 0bub8va3r8q2m672pn1ubu1rke Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230510@195106.5990 0bub8va3r8q2m672pn1ubu1rke Query : select sestamp valor from se where ref ='324.1716.00.1' and lote = 'r2100893150a'
20230510@195106.6004 0bub8va3r8q2m672pn1ubu1rke Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230510@195106.6029 0bub8va3r8q2m672pn1ubu1rke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@195106.6045 0bub8va3r8q2m672pn1ubu1rke Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230510@195106.6073 0bub8va3r8q2m672pn1ubu1rke Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645be24396645be79a93',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut645be53080645be79a20' ,28.800000,0 ,2,23.00,40000,?,?,?,?,?,?,?,?,?)
20230510@195106.6301 0bub8va3r8q2m672pn1ubu1rke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@195106.6332 0bub8va3r8q2m672pn1ubu1rke Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230510@195106.6337 0bub8va3r8q2m672pn1ubu1rke Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645be24396645be79a93','aut645be53080645be79a20' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230510@195106.6342 0bub8va3r8q2m672pn1ubu1rke Query : use flama_phc
20230510@195106.6345 0bub8va3r8q2m672pn1ubu1rke Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20230510@195106.6357 0bub8va3r8q2m672pn1ubu1rke Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230510@195106.6369 0bub8va3r8q2m672pn1ubu1rke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@195106.6382 0bub8va3r8q2m672pn1ubu1rke Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230510@195106.6411 0bub8va3r8q2m672pn1ubu1rke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@195106.6426 0bub8va3r8q2m672pn1ubu1rke Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230510@195106.6431 0bub8va3r8q2m672pn1ubu1rke Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '230004'
20230510@195106.6441 0bub8va3r8q2m672pn1ubu1rke Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230510@195106.6451 0bub8va3r8q2m672pn1ubu1rke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@195106.6465 0bub8va3r8q2m672pn1ubu1rke Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230510@195106.6492 0bub8va3r8q2m672pn1ubu1rke Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645be21781645be79a9d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut645be53080645be79a20' ,27.600000,0 ,2,23.00,50000,?,?,?,?,?,?,?,?,?)
20230510@195106.6724 0bub8va3r8q2m672pn1ubu1rke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@195106.6739 0bub8va3r8q2m672pn1ubu1rke Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230510@195106.6744 0bub8va3r8q2m672pn1ubu1rke Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645be21781645be79a9d','aut645be53080645be79a20' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230510@195106.6755 0bub8va3r8q2m672pn1ubu1rke Query : use flama_phc
20230510@195106.6759 0bub8va3r8q2m672pn1ubu1rke Query : select st.usalote valor from st where st.ref = '324.1676.00.1'
20230510@195106.6771 0bub8va3r8q2m672pn1ubu1rke Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230510@195106.6905 0bub8va3r8q2m672pn1ubu1rke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@195106.6919 0bub8va3r8q2m672pn1ubu1rke Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230510@195106.6945 0bub8va3r8q2m672pn1ubu1rke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@195106.6960 0bub8va3r8q2m672pn1ubu1rke Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230510@195106.6966 0bub8va3r8q2m672pn1ubu1rke Query : select sestamp valor from se where ref ='324.1676.00.1' and lote = 'r2200299100a'
20230510@195106.6982 0bub8va3r8q2m672pn1ubu1rke Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230510@195106.6995 0bub8va3r8q2m672pn1ubu1rke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@195106.7011 0bub8va3r8q2m672pn1ubu1rke Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230510@195106.7037 0bub8va3r8q2m672pn1ubu1rke Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645be54857645be79aaa',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut645be53080645be79a20' ,57.600000,0 ,2,23.00,60000,?,?,?,?,?,?,?,?,?)
20230510@195106.7295 0bub8va3r8q2m672pn1ubu1rke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@195106.7313 0bub8va3r8q2m672pn1ubu1rke Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230510@195106.7317 0bub8va3r8q2m672pn1ubu1rke Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645be54857645be79aaa','aut645be53080645be79a20' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230510@195106.7323 0bub8va3r8q2m672pn1ubu1rke Query : use flama_phc
20230510@195106.7327 0bub8va3r8q2m672pn1ubu1rke Query : select st.usalote valor from st where st.ref = '324.1879.00.1'
20230510@195106.7338 0bub8va3r8q2m672pn1ubu1rke Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230510@195106.7480 0bub8va3r8q2m672pn1ubu1rke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@195106.7500 0bub8va3r8q2m672pn1ubu1rke Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230510@195106.7535 0bub8va3r8q2m672pn1ubu1rke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@195106.7550 0bub8va3r8q2m672pn1ubu1rke Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230510@195106.7555 0bub8va3r8q2m672pn1ubu1rke Query : select sestamp valor from se where ref ='324.1879.00.1' and lote = 'r2100526100a'
20230510@195106.7582 0bub8va3r8q2m672pn1ubu1rke Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230510@195106.7596 0bub8va3r8q2m672pn1ubu1rke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@195106.7615 0bub8va3r8q2m672pn1ubu1rke Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230510@195106.7647 0bub8va3r8q2m672pn1ubu1rke Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645be03453645be79ab9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut645be53080645be79a20' ,63.800000,0 ,2,23.00,70000,?,?,?,?,?,?,?,?,?)
20230510@195106.7958 0bub8va3r8q2m672pn1ubu1rke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@195106.7973 0bub8va3r8q2m672pn1ubu1rke Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230510@195106.7978 0bub8va3r8q2m672pn1ubu1rke Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645be03453645be79ab9','aut645be53080645be79a20' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230510@195106.7984 0bub8va3r8q2m672pn1ubu1rke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@195106.7997 0bub8va3r8q2m672pn1ubu1rke Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230510@195106.8021 0bub8va3r8q2m672pn1ubu1rke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@195106.8034 0bub8va3r8q2m672pn1ubu1rke Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230510@195106.8039 0bub8va3r8q2m672pn1ubu1rke Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230510@195106.8049 0bub8va3r8q2m672pn1ubu1rke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@195106.8061 0bub8va3r8q2m672pn1ubu1rke Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230510@195106.8085 0bub8va3r8q2m672pn1ubu1rke Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645be62790645be79ac4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645be53080645be79a20' ,0,0 ,2,23.00,80000,?,?,?)
20230510@195106.8320 0bub8va3r8q2m672pn1ubu1rke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@195106.8339 0bub8va3r8q2m672pn1ubu1rke Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230510@195106.8343 0bub8va3r8q2m672pn1ubu1rke Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645be62790645be79ac4','aut645be53080645be79a20' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230510@195106.8348 0bub8va3r8q2m672pn1ubu1rke Query : use flama_phc
20230510@195106.8351 0bub8va3r8q2m672pn1ubu1rke Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20230510@195106.8368 0bub8va3r8q2m672pn1ubu1rke Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230510@195106.8526 0bub8va3r8q2m672pn1ubu1rke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@195106.8539 0bub8va3r8q2m672pn1ubu1rke Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230510@195106.8563 0bub8va3r8q2m672pn1ubu1rke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@195106.8577 0bub8va3r8q2m672pn1ubu1rke Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230510@195106.8582 0bub8va3r8q2m672pn1ubu1rke Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2100190100a'
20230510@195106.8595 0bub8va3r8q2m672pn1ubu1rke Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230510@195106.8606 0bub8va3r8q2m672pn1ubu1rke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230510@195106.8619 0bub8va3r8q2m672pn1ubu1rke Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230510@195106.8647 0bub8va3r8q2m672pn1ubu1rke Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645be53041645be79ad2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut645be53080645be79a20' ,25.600000,0 ,2,23.00,100000,?,?,?,?,?,?,?,?,?)
20230510@195106.8921 0bub8va3r8q2m672pn1ubu1rke Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230510@195106.8936 0bub8va3r8q2m672pn1ubu1rke Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230510@195106.8941 0bub8va3r8q2m672pn1ubu1rke Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645be53041645be79ad2','aut645be53080645be79a20' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230510@195106.8952 0bub8va3r8q2m672pn1ubu1rke Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645be53080645be79a20','119230000130','wait',39,'ari17112337378,753000005')
20230510@195106.8982 0bub8va3r8q2m672pn1ubu1rke Query : use flama_phc
20230510@195106.8985 0bub8va3r8q2m672pn1ubu1rke Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230510@195106.9000 0bub8va3r8q2m672pn1ubu1rke Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='287';
20230510@195106.9018 0bub8va3r8q2m672pn1ubu1rke Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='287';
20230510@195106.9030 0bub8va3r8q2m672pn1ubu1rke Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='287';
20230510@195106.9043 0bub8va3r8q2m672pn1ubu1rke Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='287';
20230510@203054.8008 80mu1meh4qmuuvu012t08alfd8 Query : use flama_phc
20230510@203054.8013 80mu1meh4qmuuvu012t08alfd8 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20230510@203054.8035 80mu1meh4qmuuvu012t08alfd8 Query : use flama_phc
20230510@203054.8038 80mu1meh4qmuuvu012t08alfd8 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230510@213055.3915 r3uamnnjrnthat701l44mmd2q0 Query : use flama_phc
20230510@213055.3919 r3uamnnjrnthat701l44mmd2q0 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20230510@213055.3935 r3uamnnjrnthat701l44mmd2q0 Query : use flama_phc
20230510@213055.3938 r3uamnnjrnthat701l44mmd2q0 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230510@223055.6741 ubkbfqnc2bs2flv4eddnumieed Query : use flama_phc
20230510@223055.6747 ubkbfqnc2bs2flv4eddnumieed Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20230510@223055.6767 ubkbfqnc2bs2flv4eddnumieed Query : use flama_phc
20230510@223055.6771 ubkbfqnc2bs2flv4eddnumieed Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230510@233055.5164 an6t9mfas53ge10md0kheq495p Query : use flama_phc
20230510@233055.5168 an6t9mfas53ge10md0kheq495p Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20230510@233055.5184 an6t9mfas53ge10md0kheq495p Query : use flama_phc
20230510@233055.5186 an6t9mfas53ge10md0kheq495p Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230511@073041.3476 9t1fo0gieg80vl9la4quep890h Query : use flama_phc
20230511@073041.3481 9t1fo0gieg80vl9la4quep890h Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20230511@073041.3534 9t1fo0gieg80vl9la4quep890h Query : use flama_phc
20230511@073041.3537 9t1fo0gieg80vl9la4quep890h Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230511@083054.2990 i8sla5bjfmlkpglah6ke4jq0ak Query : use flama_phc
20230511@083054.3060 i8sla5bjfmlkpglah6ke4jq0ak Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20230511@083054.3820 i8sla5bjfmlkpglah6ke4jq0ak Query : use flama_phc
20230511@083054.3860 i8sla5bjfmlkpglah6ke4jq0ak Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230511@093054.5390 njmf2o450j6l0s42m4il59am8l Query : use flama_phc
20230511@093054.5440 njmf2o450j6l0s42m4il59am8l Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20230511@093054.5970 njmf2o450j6l0s42m4il59am8l Query : use flama_phc
20230511@093054.6000 njmf2o450j6l0s42m4il59am8l Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230511@103055.9661 4if0ar245qo507g8fcs8d94pkp Query : use flama_phc
20230511@103055.9668 4if0ar245qo507g8fcs8d94pkp Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20230511@103055.9689 4if0ar245qo507g8fcs8d94pkp Query : use flama_phc
20230511@103055.9692 4if0ar245qo507g8fcs8d94pkp Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230511@112759.5418 l1lkg7uucksu6gj0d215se2pfg Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230511@112759.5445 l1lkg7uucksu6gj0d215se2pfg Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230511@112759.5519 l1lkg7uucksu6gj0d215se2pfg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='288';
20230511@112759.5553 l1lkg7uucksu6gj0d215se2pfg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='288';
20230511@112759.5576 l1lkg7uucksu6gj0d215se2pfg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='288';
20230511@112759.5587 l1lkg7uucksu6gj0d215se2pfg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='288';
20230511@112759.5598 l1lkg7uucksu6gj0d215se2pfg Query : use flama_phc
20230511@112759.5601 l1lkg7uucksu6gj0d215se2pfg Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230511@112759.5644 l1lkg7uucksu6gj0d215se2pfg Query : select no, estab,szadrsdesc from szadrs where u_coddest=2
20230511@112759.5720 l1lkg7uucksu6gj0d215se2pfg Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.655.00.01'
20230511@112759.5819 l1lkg7uucksu6gj0d215se2pfg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 0 and bi.ref ='324.655.00.01' and bi.lordem =10000
20230511@112759.6138 l1lkg7uucksu6gj0d215se2pfg Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.655.00.01'
20230511@112759.6150 l1lkg7uucksu6gj0d215se2pfg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 0 and bi.ref ='324.655.00.01' and bi.lordem =10000
20230511@112759.6156 l1lkg7uucksu6gj0d215se2pfg Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.655.00.01'
20230511@112759.6167 l1lkg7uucksu6gj0d215se2pfg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 0 and bi.ref ='324.655.00.01' and bi.lordem =10000
20230511@112759.6172 l1lkg7uucksu6gj0d215se2pfg Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.656.00.01'
20230511@112759.6269 l1lkg7uucksu6gj0d215se2pfg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 0 and bi.ref ='324.656.00.01' and bi.lordem =20000
20230511@112759.6573 l1lkg7uucksu6gj0d215se2pfg Query : use flama_phc
20230511@112759.6584 l1lkg7uucksu6gj0d215se2pfg Query : select top 1 1 valor from ts where ts.ndos = 5
20230511@112759.6691 l1lkg7uucksu6gj0d215se2pfg Query : use flama_phc
20230511@112759.6695 l1lkg7uucksu6gj0d215se2pfg Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230511@112759.6809 l1lkg7uucksu6gj0d215se2pfg Query : select top 1 assinadoc issigned ,ts.stocks ,ts.bdempresas origin ,case when (cmstocks between 1 and 50 or cm2stocks between 1 and 50 ) then 1 else 0 end entrada ,case when (cmstocks>50 or cm2stocks>50 ) then 1 else 0 end saida ,stneg validatestock ,tiposaft from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos =5
20230511@112759.7101 l1lkg7uucksu6gj0d215se2pfg Query : use flama_phc
20230511@112759.7105 l1lkg7uucksu6gj0d215se2pfg Query : select top 1 ~inactivo valor from fl where no = '100500' and estab = 0 order by inactivo desc
20230511@112759.7190 l1lkg7uucksu6gj0d215se2pfg Query : use flama_phc
20230511@112759.7193 l1lkg7uucksu6gj0d215se2pfg Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230511@112759.7233 l1lkg7uucksu6gj0d215se2pfg Query : use flama_phc
20230511@112759.7235 l1lkg7uucksu6gj0d215se2pfg Query : select szadrsstamp valor from szadrs where szadrsdesc='n/instalaÇÕes sede'
20230511@112759.7249 l1lkg7uucksu6gj0d215se2pfg Query : use flama_phc
20230511@112759.7252 l1lkg7uucksu6gj0d215se2pfg Query : select 1 valor from ts where ndos = 5
20230511@112759.7331 l1lkg7uucksu6gj0d215se2pfg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo005fields'
20230511@112759.7629 l1lkg7uucksu6gj0d215se2pfg Query : select fieldkey,fieldname,fieldtype,mandatory from wsbo005fields
20230511@112759.7669 l1lkg7uucksu6gj0d215se2pfg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo2005fields'
20230511@112759.7936 l1lkg7uucksu6gj0d215se2pfg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo3005fields'
20230511@112759.8193 l1lkg7uucksu6gj0d215se2pfg Query : select top 1 ts2.manternumero, ts.tiposaft, ts.idserie,ts.nmdos,ts.bdempresas from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos = 5
20230511@112759.8328 l1lkg7uucksu6gj0d215se2pfg Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 5 and boano=2023 order by obrano desc
20230511@112759.8429 l1lkg7uucksu6gj0d215se2pfg Query : select top 1 bo.obrano valor from wsbo005data bo where bo.ndos = 5 and boano=2023 order by obrano desc
20230511@112759.8511 l1lkg7uucksu6gj0d215se2pfg Query : use flama_phc
20230511@112759.8515 l1lkg7uucksu6gj0d215se2pfg Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='100500' and estab=0
20230511@112759.8597 l1lkg7uucksu6gj0d215se2pfg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo3005fields'
20230511@112759.8606 l1lkg7uucksu6gj0d215se2pfg Query : insert into wsbo3005data (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645cc75397645cc32fcf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20230511@112759.8754 l1lkg7uucksu6gj0d215se2pfg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo2005fields'
20230511@112759.8763 l1lkg7uucksu6gj0d215se2pfg Query : insert into wsbo2005data (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,xpddata,xpdhora,carga,descar) values ('aut645cc75397645cc32fcf','ga','bo','0',0,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut','20230511','11:57',?,?)
20230511@112800.1930 l1lkg7uucksu6gj0d215se2pfg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbo005fields'
20230511@112800.2080 l1lkg7uucksu6gj0d215se2pfg Query : select fieldkey,fieldname,fieldtype,calcformula from wsbo005fields
20230511@112800.2420 l1lkg7uucksu6gj0d215se2pfg Query : insert into wsbo005data (bostamp, nmdos, dataobra, ndos, obrano, no, estab, nome, ncont, morada, local, codpost, moeda, boano, memissao,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,maquina ) values ('aut645cc75397645cc32fcf','trf entre armazéns a','2023-05-11',5,174,?,?,?,?,?,?,?,?,2023, (select valor from para1 where descricao = 'ge_euro') ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',?)
20230511@112800.1018 l1lkg7uucksu6gj0d215se2pfg Query : use flama_phc
20230511@112800.1023 l1lkg7uucksu6gj0d215se2pfg Query : select st.usalote valor from st where st.ref = '324.655.00.01'
20230511@112800.1129 l1lkg7uucksu6gj0d215se2pfg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.655.00.01'
20230511@112800.1249 l1lkg7uucksu6gj0d215se2pfg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230511@112800.1551 l1lkg7uucksu6gj0d215se2pfg Query : select fieldkey,fieldname,fieldtype,mandatory from wsbi005fields
20230511@112800.1600 l1lkg7uucksu6gj0d215se2pfg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230511@112800.1863 l1lkg7uucksu6gj0d215se2pfg Query : select sestamp valor from se where ref ='324.655.00.01' and lote = 'r230019200'
20230511@112800.1916 l1lkg7uucksu6gj0d215se2pfg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230511@112800.1931 l1lkg7uucksu6gj0d215se2pfg Query : select fieldkey,fieldname,fieldtype,mandatory from wsbi005fields
20230511@112800.1960 l1lkg7uucksu6gj0d215se2pfg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230511@112800.1970 l1lkg7uucksu6gj0d215se2pfg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@112800.2008 l1lkg7uucksu6gj0d215se2pfg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi005fields'
20230511@112800.2022 l1lkg7uucksu6gj0d215se2pfg Query : select fieldkey,fieldname,fieldtype,calcformula from wsbi005fields
20230511@112800.2065 l1lkg7uucksu6gj0d215se2pfg Query : insert into wsbi005data (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem , edebito,debito ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vumoeda,ttmoeda ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,armazem,ar2mazem) select 'aut645cc16270645cc33031',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 0 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,20000 ,0,0*200.48 ,0,0,'','' ,bo.marcada,0 ,0*0,0*0*200.48 ,0,0*200.48 ,0,0*200.48 ,0,0*0 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,?,? from wsbo005data bo where bo.bostamp = 'aut645cc75397645cc32fcf'
20230511@112800.2635 l1lkg7uucksu6gj0d215se2pfg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsbi2005fields'
20230511@112800.2645 l1lkg7uucksu6gj0d215se2pfg Query : insert into wsbi2005data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut645cc16270645cc33031','aut645cc75397645cc32fcf',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbo005data bo where bo.bostamp = 'aut645cc75397645cc32fcf'
20230511@112800.2865 l1lkg7uucksu6gj0d215se2pfg Query : use flama_phc
20230511@112800.2870 l1lkg7uucksu6gj0d215se2pfg Query : select st.usalote valor from st where st.ref = '324.655.00.01'
20230511@112800.2882 l1lkg7uucksu6gj0d215se2pfg Query : use flama_phc
20230511@112800.2885 l1lkg7uucksu6gj0d215se2pfg Query : select st.usalote valor from st where st.ref = '324.655.00.01'
20230511@112800.2896 l1lkg7uucksu6gj0d215se2pfg Query : use flama_phc
20230511@112800.2901 l1lkg7uucksu6gj0d215se2pfg Query : select st.usalote valor from st where st.ref = '324.656.00.01'
20230511@112800.2919 l1lkg7uucksu6gj0d215se2pfg Query : use flama_phc
20230511@112800.2924 l1lkg7uucksu6gj0d215se2pfg Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20230511@112800.2986 l1lkg7uucksu6gj0d215se2pfg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='288';
20230511@112800.3000 l1lkg7uucksu6gj0d215se2pfg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='288';
20230511@112800.3396 sc1skneht1j5ll7gnp2lv58c04 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230511@112800.3412 sc1skneht1j5ll7gnp2lv58c04 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230511@112800.3430 sc1skneht1j5ll7gnp2lv58c04 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='289';
20230511@112800.3473 sc1skneht1j5ll7gnp2lv58c04 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='289';
20230511@112800.3486 sc1skneht1j5ll7gnp2lv58c04 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='289';
20230511@112800.3501 sc1skneht1j5ll7gnp2lv58c04 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='289';
20230511@112800.3512 sc1skneht1j5ll7gnp2lv58c04 Query : use flama_phc
20230511@112800.3516 sc1skneht1j5ll7gnp2lv58c04 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230511@112800.3531 sc1skneht1j5ll7gnp2lv58c04 Query : select no, estab,szadrsdesc from szadrs where u_coddest=610
20230511@112800.3611 sc1skneht1j5ll7gnp2lv58c04 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1643.00.1'
20230511@112800.3719 sc1skneht1j5ll7gnp2lv58c04 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 8 and bi.ref ='324.1643.00.1' and bi.lordem =20000
20230511@112800.4032 sc1skneht1j5ll7gnp2lv58c04 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1643.00.1'
20230511@112800.4046 sc1skneht1j5ll7gnp2lv58c04 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 8 and bi.ref ='324.1643.00.1' and bi.lordem =20000
20230511@112800.4053 sc1skneht1j5ll7gnp2lv58c04 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.2203.00.1'
20230511@112800.4161 sc1skneht1j5ll7gnp2lv58c04 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 8 and bi.ref ='324.2203.00.1' and bi.lordem =30000
20230511@112800.4477 sc1skneht1j5ll7gnp2lv58c04 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.2212.00.1'
20230511@112800.4579 sc1skneht1j5ll7gnp2lv58c04 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 8 and bi.ref ='324.2212.00.1' and bi.lordem =40000
20230511@112800.4898 sc1skneht1j5ll7gnp2lv58c04 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '328.9065.00.1'
20230511@112800.5002 sc1skneht1j5ll7gnp2lv58c04 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 8 and bi.ref ='328.9065.00.1' and bi.lordem =50000
20230511@112800.5322 sc1skneht1j5ll7gnp2lv58c04 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1816.00.1'
20230511@112800.5422 sc1skneht1j5ll7gnp2lv58c04 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 8 and bi.ref ='324.1816.00.1' and bi.lordem =60000
20230511@112800.5738 sc1skneht1j5ll7gnp2lv58c04 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.4160.00.1'
20230511@112800.5842 sc1skneht1j5ll7gnp2lv58c04 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 8 and bi.ref ='324.4160.00.1' and bi.lordem =70000
20230511@112800.6149 sc1skneht1j5ll7gnp2lv58c04 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '321.181.120.0'
20230511@112800.6254 sc1skneht1j5ll7gnp2lv58c04 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 8 and bi.ref ='321.181.120.0' and bi.lordem =80000
20230511@112800.6562 sc1skneht1j5ll7gnp2lv58c04 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.5501.00.1'
20230511@112800.6665 sc1skneht1j5ll7gnp2lv58c04 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 8 and bi.ref ='324.5501.00.1' and bi.lordem =90000
20230511@112800.6973 sc1skneht1j5ll7gnp2lv58c04 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.5501.00.1'
20230511@112800.6987 sc1skneht1j5ll7gnp2lv58c04 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 8 and bi.ref ='324.5501.00.1' and bi.lordem =90000
20230511@112800.6994 sc1skneht1j5ll7gnp2lv58c04 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.5501.00.1'
20230511@112800.7004 sc1skneht1j5ll7gnp2lv58c04 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 8 and bi.ref ='324.5501.00.1' and bi.lordem =90000
20230511@112800.7011 sc1skneht1j5ll7gnp2lv58c04 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.5501.00.1'
20230511@112800.7022 sc1skneht1j5ll7gnp2lv58c04 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 8 and bi.ref ='324.5501.00.1' and bi.lordem =90000
20230511@112800.7029 sc1skneht1j5ll7gnp2lv58c04 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.5501.00.1'
20230511@112800.7040 sc1skneht1j5ll7gnp2lv58c04 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 8 and bi.ref ='324.5501.00.1' and bi.lordem =90000
20230511@112800.7047 sc1skneht1j5ll7gnp2lv58c04 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '328.9205.00.1'
20230511@112800.7312 sc1skneht1j5ll7gnp2lv58c04 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 8 and bi.ref ='328.9205.00.1' and bi.lordem =100000
20230511@112800.7641 sc1skneht1j5ll7gnp2lv58c04 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1837.00.1'
20230511@112800.7745 sc1skneht1j5ll7gnp2lv58c04 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 8 and bi.ref ='324.1837.00.1' and bi.lordem =110000
20230511@112800.8052 sc1skneht1j5ll7gnp2lv58c04 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.4723.00.2'
20230511@112800.8157 sc1skneht1j5ll7gnp2lv58c04 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 8 and bi.ref ='324.4723.00.2' and bi.lordem =120000
20230511@112800.8489 sc1skneht1j5ll7gnp2lv58c04 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.719.00.01'
20230511@112800.8595 sc1skneht1j5ll7gnp2lv58c04 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 8 and bi.ref ='324.719.00.01' and bi.lordem =130000
20230511@112800.8907 sc1skneht1j5ll7gnp2lv58c04 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.958.00.01'
20230511@112800.9007 sc1skneht1j5ll7gnp2lv58c04 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 8 and bi.ref ='324.958.00.01' and bi.lordem =140000
20230511@112800.9320 sc1skneht1j5ll7gnp2lv58c04 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1462.00.1'
20230511@112800.9431 sc1skneht1j5ll7gnp2lv58c04 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 8 and bi.ref ='324.1462.00.1' and bi.lordem =150000
20230511@112800.9732 sc1skneht1j5ll7gnp2lv58c04 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '322.227.28.02'
20230511@112800.9833 sc1skneht1j5ll7gnp2lv58c04 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 8 and bi.ref ='322.227.28.02' and bi.lordem =160000
20230511@112801.1033 sc1skneht1j5ll7gnp2lv58c04 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.5389.00.1'
20230511@112801.1142 sc1skneht1j5ll7gnp2lv58c04 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2023 and bo.obrano = 8 and bi.ref ='324.5389.00.1' and bi.lordem =170000
20230511@112801.1453 sc1skneht1j5ll7gnp2lv58c04 Query : use flama_phc
20230511@112801.1457 sc1skneht1j5ll7gnp2lv58c04 Query : select top 1 1 valor from ts where ts.ndos = 5
20230511@112801.1469 sc1skneht1j5ll7gnp2lv58c04 Query : use flama_phc
20230511@112801.1472 sc1skneht1j5ll7gnp2lv58c04 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230511@112801.1486 sc1skneht1j5ll7gnp2lv58c04 Query : select top 1 assinadoc issigned ,ts.stocks ,ts.bdempresas origin ,case when (cmstocks between 1 and 50 or cm2stocks between 1 and 50 ) then 1 else 0 end entrada ,case when (cmstocks>50 or cm2stocks>50 ) then 1 else 0 end saida ,stneg validatestock ,tiposaft from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos =5
20230511@112801.1504 sc1skneht1j5ll7gnp2lv58c04 Query : use flama_phc
20230511@112801.1508 sc1skneht1j5ll7gnp2lv58c04 Query : select top 1 ~inactivo valor from fl where no = '100001' and estab = 0 order by inactivo desc
20230511@112801.1581 sc1skneht1j5ll7gnp2lv58c04 Query : use flama_phc
20230511@112801.1585 sc1skneht1j5ll7gnp2lv58c04 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230511@112801.1599 sc1skneht1j5ll7gnp2lv58c04 Query : use flama_phc
20230511@112801.1602 sc1skneht1j5ll7gnp2lv58c04 Query : select szadrsstamp valor from szadrs where szadrsdesc='flama, s.a. -lisboa'
20230511@112801.1614 sc1skneht1j5ll7gnp2lv58c04 Query : use flama_phc
20230511@112801.1617 sc1skneht1j5ll7gnp2lv58c04 Query : select top 1 errorresult result ,errornumber errornumber ,errorcode code ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -230
20230511@112801.1659 sc1skneht1j5ll7gnp2lv58c04 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='289';
20230511@112801.1673 sc1skneht1j5ll7gnp2lv58c04 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='289';
20230511@113054.1133 8ik6dhh679r439gnsq5oqm0np8 Query : use flama_phc
20230511@113054.1138 8ik6dhh679r439gnsq5oqm0np8 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20230511@113054.1158 8ik6dhh679r439gnsq5oqm0np8 Query : use flama_phc
20230511@113054.1160 8ik6dhh679r439gnsq5oqm0np8 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230511@123054.1130 agimak0g3loqbpk7gnsjbgqpoc Query : use flama_phc
20230511@123054.1180 agimak0g3loqbpk7gnsjbgqpoc Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20230511@123054.1360 agimak0g3loqbpk7gnsjbgqpoc Query : use flama_phc
20230511@123054.1380 agimak0g3loqbpk7gnsjbgqpoc Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230511@133054.1024 kv0da0jr05e7lgiv23j3navi9a Query : use flama_phc
20230511@133054.1041 kv0da0jr05e7lgiv23j3navi9a Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20230511@133054.1059 kv0da0jr05e7lgiv23j3navi9a Query : use flama_phc
20230511@133054.1062 kv0da0jr05e7lgiv23j3navi9a Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230511@143024.4607 jj9hjsmsll1gdv6jg87egef4qg Query : use flama_phc
20230511@143024.4611 jj9hjsmsll1gdv6jg87egef4qg Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20230511@143024.4667 jj9hjsmsll1gdv6jg87egef4qg Query : use flama_phc
20230511@143024.4670 jj9hjsmsll1gdv6jg87egef4qg Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230511@153024.7945 5m6l8ei9mjahgtnpv3v62gthr5 Query : use flama_phc
20230511@153024.7950 5m6l8ei9mjahgtnpv3v62gthr5 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20230511@153024.8000 5m6l8ei9mjahgtnpv3v62gthr5 Query : use flama_phc
20230511@153024.8003 5m6l8ei9mjahgtnpv3v62gthr5 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230511@163024.5168 p7g7qsil42npfqlrcl3isr17q1 Query : use flama_phc
20230511@163024.5198 p7g7qsil42npfqlrcl3isr17q1 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20230511@163024.5432 p7g7qsil42npfqlrcl3isr17q1 Query : use flama_phc
20230511@163024.5470 p7g7qsil42npfqlrcl3isr17q1 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230511@173014.6787 d87qr22i64ouua3s09o0qnkb9e Query : use flama_phc
20230511@173014.6792 d87qr22i64ouua3s09o0qnkb9e Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20230511@173014.7033 d87qr22i64ouua3s09o0qnkb9e Query : use flama_phc
20230511@173014.7088 d87qr22i64ouua3s09o0qnkb9e Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230511@173638.6496 f4683v5qif2cj8sg870sbfojrq Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230511@173638.6513 f4683v5qif2cj8sg870sbfojrq Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230511@173638.6530 f4683v5qif2cj8sg870sbfojrq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='303';
20230511@173638.6572 f4683v5qif2cj8sg870sbfojrq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='303';
20230511@173638.6586 f4683v5qif2cj8sg870sbfojrq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='303';
20230511@173638.6602 f4683v5qif2cj8sg870sbfojrq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='303';
20230511@173638.6613 f4683v5qif2cj8sg870sbfojrq Query : use flama_phc
20230511@173638.6639 f4683v5qif2cj8sg870sbfojrq Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230511@173638.6830 f4683v5qif2cj8sg870sbfojrq Query : use flama_phc
20230511@173638.6928 f4683v5qif2cj8sg870sbfojrq Query : select no, estab,szadrsdesc from szadrs where u_coddest=1403
20230511@173638.7152 f4683v5qif2cj8sg870sbfojrq 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'
20230511@173638.7364 f4683v5qif2cj8sg870sbfojrq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000152 and bi.ref ='324.1416.00.1' and bi.lordem =20000
20230511@173638.7732 f4683v5qif2cj8sg870sbfojrq Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051154713,1040000-2 ' 
20230511@173638.8097 f4683v5qif2cj8sg870sbfojrq 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'
20230511@173638.8234 f4683v5qif2cj8sg870sbfojrq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000152 and bi.ref ='323.367.09.00' and bi.lordem =30000
20230511@173638.8983 f4683v5qif2cj8sg870sbfojrq Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051154713,1440000-3 ' 
20230511@173638.9416 f4683v5qif2cj8sg870sbfojrq 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'
20230511@173638.9555 f4683v5qif2cj8sg870sbfojrq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000152 and bi.ref ='324.656.00.01' and bi.lordem =40000
20230511@173638.9887 f4683v5qif2cj8sg870sbfojrq Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051154713,1670000-4 ' 
20230511@173639.2820 f4683v5qif2cj8sg870sbfojrq Query : use flama_phc
20230511@173639.2860 f4683v5qif2cj8sg870sbfojrq Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230511@173639.3790 f4683v5qif2cj8sg870sbfojrq Query : use flama_phc
20230511@173639.4280 f4683v5qif2cj8sg870sbfojrq Query : select top 1 1 valor from td where td.ndoc = 39
20230511@173639.6440 f4683v5qif2cj8sg870sbfojrq Query : use flama_phc
20230511@173639.6480 f4683v5qif2cj8sg870sbfojrq Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230511@173639.6600 f4683v5qif2cj8sg870sbfojrq 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
20230511@173639.6750 f4683v5qif2cj8sg870sbfojrq Query : use flama_phc
20230511@173639.6780 f4683v5qif2cj8sg870sbfojrq Query : select top 1 ~inactivo valor from cl where no = '100309' and estab = 0 order by inactivo desc
20230511@173639.7770 f4683v5qif2cj8sg870sbfojrq Query : use flama_phc
20230511@173639.7800 f4683v5qif2cj8sg870sbfojrq Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230511@173639.7900 f4683v5qif2cj8sg870sbfojrq Query : use flama_phc
20230511@173639.7920 f4683v5qif2cj8sg870sbfojrq Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230511@173639.8050 f4683v5qif2cj8sg870sbfojrq Query : use flama_phc
20230511@173639.8080 f4683v5qif2cj8sg870sbfojrq Query : select szadrsstamp valor from szadrs where szadrsdesc='armando antunes barata'
20230511@173639.8220 f4683v5qif2cj8sg870sbfojrq Query : use flama_phc
20230511@173639.8260 f4683v5qif2cj8sg870sbfojrq Query : select 1 valor from td where ndoc = 39
20230511@173639.8360 f4683v5qif2cj8sg870sbfojrq Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230511@173639.8520 f4683v5qif2cj8sg870sbfojrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230511@173639.8720 f4683v5qif2cj8sg870sbfojrq Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230511@173639.8870 f4683v5qif2cj8sg870sbfojrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230511@173639.8990 f4683v5qif2cj8sg870sbfojrq Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230511@173639.9340 f4683v5qif2cj8sg870sbfojrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230511@173639.9460 f4683v5qif2cj8sg870sbfojrq Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230511@173639.9600 f4683v5qif2cj8sg870sbfojrq Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230511@173639.1000 f4683v5qif2cj8sg870sbfojrq Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230511@173639.1008 f4683v5qif2cj8sg870sbfojrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230511@173639.1020 f4683v5qif2cj8sg870sbfojrq Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230511@173639.1036 f4683v5qif2cj8sg870sbfojrq Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645d189357645d199717' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230511@173639.1193 f4683v5qif2cj8sg870sbfojrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230511@173639.1206 f4683v5qif2cj8sg870sbfojrq Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230511@173639.1240 f4683v5qif2cj8sg870sbfojrq Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='c4430baa3a2fb4bd14c593 '
20230511@173639.1339 f4683v5qif2cj8sg870sbfojrq Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='c4430baa3a2fb4bd14c593 '
20230511@173639.1420 f4683v5qif2cj8sg870sbfojrq Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='c4430baa3a2fb4bd14c593 '
20230511@173639.1531 f4683v5qif2cj8sg870sbfojrq Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='c4430baa3a2fb4bd14c593 '
20230511@173639.1650 f4683v5qif2cj8sg870sbfojrq Query : select top 1 bo.trab5 valor from bo where bo.bostamp='c4430baa3a2fb4bd14c593 '
20230511@173639.1872 f4683v5qif2cj8sg870sbfojrq Query : select top 1 bo.serie valor from bo where bo.bostamp='c4430baa3a2fb4bd14c593 '
20230511@173639.2179 f4683v5qif2cj8sg870sbfojrq Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut645d189357645d199717',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230511@173639.2451 f4683v5qif2cj8sg870sbfojrq Query : select top 1 fno valor from wsft039data order by fno desc
20230511@173639.2465 f4683v5qif2cj8sg870sbfojrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230511@173639.2478 f4683v5qif2cj8sg870sbfojrq Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230511@173639.2494 f4683v5qif2cj8sg870sbfojrq Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ,encomenda ) values ('aut645d189357645d199717',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',194,100309,0,'2023-05-11',39,'euro',0,0,2023 ,'20230511','1806',?,?,?,?,?)
20230511@173639.2808 f4683v5qif2cj8sg870sbfojrq Query : use flama_phc
20230511@173639.2811 f4683v5qif2cj8sg870sbfojrq Query : select st.usalote valor from st where st.ref = '324.1416.00.1'
20230511@173639.2823 f4683v5qif2cj8sg870sbfojrq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230511@173639.2961 f4683v5qif2cj8sg870sbfojrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173639.2981 f4683v5qif2cj8sg870sbfojrq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230511@173639.3004 f4683v5qif2cj8sg870sbfojrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173639.3016 f4683v5qif2cj8sg870sbfojrq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230511@173639.3021 f4683v5qif2cj8sg870sbfojrq Query : select sestamp valor from se where ref ='324.1416.00.1' and lote = 'r2101113200a'
20230511@173639.3034 f4683v5qif2cj8sg870sbfojrq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@173639.3043 f4683v5qif2cj8sg870sbfojrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173639.3058 f4683v5qif2cj8sg870sbfojrq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230511@173639.3081 f4683v5qif2cj8sg870sbfojrq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645d156667645d19974a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut645d189357645d199717' ,36.500000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230511@173639.3334 f4683v5qif2cj8sg870sbfojrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173639.3348 f4683v5qif2cj8sg870sbfojrq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230511@173639.3352 f4683v5qif2cj8sg870sbfojrq Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645d156667645d19974a','aut645d189357645d199717' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230511@173639.3357 f4683v5qif2cj8sg870sbfojrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173639.3372 f4683v5qif2cj8sg870sbfojrq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230511@173639.3396 f4683v5qif2cj8sg870sbfojrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173639.3408 f4683v5qif2cj8sg870sbfojrq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230511@173639.3412 f4683v5qif2cj8sg870sbfojrq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@173639.3422 f4683v5qif2cj8sg870sbfojrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173639.3437 f4683v5qif2cj8sg870sbfojrq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230511@173639.3462 f4683v5qif2cj8sg870sbfojrq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645d115953645d199753',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645d189357645d199717' ,0,0 ,2,23.00,20000,?,?,?)
20230511@173639.3703 f4683v5qif2cj8sg870sbfojrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173639.3720 f4683v5qif2cj8sg870sbfojrq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230511@173639.3724 f4683v5qif2cj8sg870sbfojrq Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645d115953645d199753','aut645d189357645d199717' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230511@173639.3729 f4683v5qif2cj8sg870sbfojrq Query : use flama_phc
20230511@173639.3733 f4683v5qif2cj8sg870sbfojrq Query : select st.usalote valor from st where st.ref = '323.367.09.00'
20230511@173639.3744 f4683v5qif2cj8sg870sbfojrq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230511@173639.3872 f4683v5qif2cj8sg870sbfojrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173639.3885 f4683v5qif2cj8sg870sbfojrq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230511@173639.3910 f4683v5qif2cj8sg870sbfojrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173639.3922 f4683v5qif2cj8sg870sbfojrq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230511@173639.3927 f4683v5qif2cj8sg870sbfojrq Query : select sestamp valor from se where ref ='323.367.09.00' and lote = 'r2100870100a'
20230511@173639.3945 f4683v5qif2cj8sg870sbfojrq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@173639.3955 f4683v5qif2cj8sg870sbfojrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173639.3966 f4683v5qif2cj8sg870sbfojrq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230511@173639.3991 f4683v5qif2cj8sg870sbfojrq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645d123875645d199760',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut645d189357645d199717' ,140.800000,0 ,2,23.00,40000,?,?,?,?,?,?,?,?,?)
20230511@173639.4232 f4683v5qif2cj8sg870sbfojrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173639.4260 f4683v5qif2cj8sg870sbfojrq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230511@173639.4265 f4683v5qif2cj8sg870sbfojrq Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645d123875645d199760','aut645d189357645d199717' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230511@173639.4270 f4683v5qif2cj8sg870sbfojrq Query : use flama_phc
20230511@173639.4273 f4683v5qif2cj8sg870sbfojrq Query : select st.usalote valor from st where st.ref = '324.656.00.01'
20230511@173639.4286 f4683v5qif2cj8sg870sbfojrq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230511@173639.4420 f4683v5qif2cj8sg870sbfojrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173639.4435 f4683v5qif2cj8sg870sbfojrq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230511@173639.4463 f4683v5qif2cj8sg870sbfojrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173639.4477 f4683v5qif2cj8sg870sbfojrq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230511@173639.4481 f4683v5qif2cj8sg870sbfojrq Query : select sestamp valor from se where ref ='324.656.00.01' and lote = 'r2200819100a'
20230511@173639.4509 f4683v5qif2cj8sg870sbfojrq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@173639.4520 f4683v5qif2cj8sg870sbfojrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173639.4535 f4683v5qif2cj8sg870sbfojrq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230511@173639.4560 f4683v5qif2cj8sg870sbfojrq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645d179908645d19976e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut645d189357645d199717' ,60.800000,0 ,2,23.00,50000,?,?,?,?,?,?,?,?,?)
20230511@173639.4793 f4683v5qif2cj8sg870sbfojrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173639.4813 f4683v5qif2cj8sg870sbfojrq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230511@173639.4817 f4683v5qif2cj8sg870sbfojrq Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645d179908645d19976e','aut645d189357645d199717' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230511@173639.4822 f4683v5qif2cj8sg870sbfojrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173639.4841 f4683v5qif2cj8sg870sbfojrq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230511@173639.4866 f4683v5qif2cj8sg870sbfojrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173639.4878 f4683v5qif2cj8sg870sbfojrq Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230511@173639.5085 f4683v5qif2cj8sg870sbfojrq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@173639.5824 f4683v5qif2cj8sg870sbfojrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173639.5838 f4683v5qif2cj8sg870sbfojrq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230511@173639.5862 f4683v5qif2cj8sg870sbfojrq Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645d140980645d19978e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645d189357645d199717' ,0,0 ,2,23.00,60000,?,?,?)
20230511@173639.6110 f4683v5qif2cj8sg870sbfojrq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173639.6124 f4683v5qif2cj8sg870sbfojrq Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230511@173639.6130 f4683v5qif2cj8sg870sbfojrq Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645d140980645d19978e','aut645d189357645d199717' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230511@173639.6135 f4683v5qif2cj8sg870sbfojrq Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645d189357645d199717','119230000152','wait',39,'ari17112337378,753000005')
20230511@173639.6153 f4683v5qif2cj8sg870sbfojrq Query : use flama_phc
20230511@173639.6156 f4683v5qif2cj8sg870sbfojrq Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230511@173639.6168 f4683v5qif2cj8sg870sbfojrq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='303';
20230511@173639.6182 f4683v5qif2cj8sg870sbfojrq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='303';
20230511@173639.6193 f4683v5qif2cj8sg870sbfojrq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='303';
20230511@173639.6204 f4683v5qif2cj8sg870sbfojrq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='303';
20230511@173639.6556 okjdp3mau6uafus5gnhsnv6mef Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230511@173639.6568 okjdp3mau6uafus5gnhsnv6mef Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230511@173639.6582 okjdp3mau6uafus5gnhsnv6mef Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='304';
20230511@173639.6620 okjdp3mau6uafus5gnhsnv6mef Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='304';
20230511@173639.6633 okjdp3mau6uafus5gnhsnv6mef Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='304';
20230511@173639.6646 okjdp3mau6uafus5gnhsnv6mef Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='304';
20230511@173639.6658 okjdp3mau6uafus5gnhsnv6mef Query : use flama_phc
20230511@173639.6662 okjdp3mau6uafus5gnhsnv6mef Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230511@173639.6676 okjdp3mau6uafus5gnhsnv6mef Query : use flama_phc
20230511@173639.6680 okjdp3mau6uafus5gnhsnv6mef Query : select no, estab,szadrsdesc from szadrs where u_coddest=171
20230511@173639.6779 okjdp3mau6uafus5gnhsnv6mef Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4840.00.1'
20230511@173639.6926 okjdp3mau6uafus5gnhsnv6mef Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000154 and bi.ref ='324.4840.00.1' and bi.lordem =20000
20230511@173639.7243 okjdp3mau6uafus5gnhsnv6mef Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051154785,9620000-2 ' 
20230511@173639.7572 okjdp3mau6uafus5gnhsnv6mef Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2211.00.1'
20230511@173639.7701 okjdp3mau6uafus5gnhsnv6mef Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000154 and bi.ref ='324.2211.00.1' and bi.lordem =30000
20230511@173639.8016 okjdp3mau6uafus5gnhsnv6mef Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051154786,0180000-3 ' 
20230511@173639.8738 okjdp3mau6uafus5gnhsnv6mef 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'
20230511@173639.8902 okjdp3mau6uafus5gnhsnv6mef Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000154 and bi.ref ='324.1676.00.1' and bi.lordem =40000
20230511@173639.9605 okjdp3mau6uafus5gnhsnv6mef Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051154786,0450000-4 ' 
20230511@173639.9961 okjdp3mau6uafus5gnhsnv6mef Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2212.00.1'
20230511@173640.1010 okjdp3mau6uafus5gnhsnv6mef Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000154 and bi.ref ='324.2212.00.1' and bi.lordem =50000
20230511@173640.4270 okjdp3mau6uafus5gnhsnv6mef Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051154786,0680000-5 ' 
20230511@173640.7580 okjdp3mau6uafus5gnhsnv6mef Query : use flama_phc
20230511@173640.7610 okjdp3mau6uafus5gnhsnv6mef Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230511@173640.7740 okjdp3mau6uafus5gnhsnv6mef Query : use flama_phc
20230511@173640.7780 okjdp3mau6uafus5gnhsnv6mef Query : select top 1 1 valor from td where td.ndoc = 39
20230511@173640.7900 okjdp3mau6uafus5gnhsnv6mef Query : use flama_phc
20230511@173640.7940 okjdp3mau6uafus5gnhsnv6mef Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230511@173640.8070 okjdp3mau6uafus5gnhsnv6mef 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
20230511@173640.8220 okjdp3mau6uafus5gnhsnv6mef Query : use flama_phc
20230511@173640.8250 okjdp3mau6uafus5gnhsnv6mef Query : select top 1 ~inactivo valor from cl where no = '101668' and estab = 0 order by inactivo desc
20230511@173640.9460 okjdp3mau6uafus5gnhsnv6mef Query : use flama_phc
20230511@173640.9490 okjdp3mau6uafus5gnhsnv6mef Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230511@173640.9590 okjdp3mau6uafus5gnhsnv6mef Query : use flama_phc
20230511@173640.9620 okjdp3mau6uafus5gnhsnv6mef Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230511@173640.9730 okjdp3mau6uafus5gnhsnv6mef Query : use flama_phc
20230511@173640.9770 okjdp3mau6uafus5gnhsnv6mef Query : select szadrsstamp valor from szadrs where szadrsdesc='manuel assentiz, lda'
20230511@173640.9900 okjdp3mau6uafus5gnhsnv6mef Query : use flama_phc
20230511@173640.1014 okjdp3mau6uafus5gnhsnv6mef Query : select 1 valor from td where ndoc = 39
20230511@173640.1025 okjdp3mau6uafus5gnhsnv6mef Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230511@173640.1038 okjdp3mau6uafus5gnhsnv6mef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230511@173640.1084 okjdp3mau6uafus5gnhsnv6mef Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230511@173640.1101 okjdp3mau6uafus5gnhsnv6mef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230511@173640.1114 okjdp3mau6uafus5gnhsnv6mef Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230511@173640.1141 okjdp3mau6uafus5gnhsnv6mef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230511@173640.1155 okjdp3mau6uafus5gnhsnv6mef Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230511@173640.1165 okjdp3mau6uafus5gnhsnv6mef Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230511@173640.1218 okjdp3mau6uafus5gnhsnv6mef Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230511@173640.1228 okjdp3mau6uafus5gnhsnv6mef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230511@173640.1241 okjdp3mau6uafus5gnhsnv6mef Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230511@173640.1253 okjdp3mau6uafus5gnhsnv6mef Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645d170324645d19981c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230511@173640.1414 okjdp3mau6uafus5gnhsnv6mef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230511@173640.1428 okjdp3mau6uafus5gnhsnv6mef Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230511@173640.1460 okjdp3mau6uafus5gnhsnv6mef Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='3340b480c727a3febf6f9f '
20230511@173640.1557 okjdp3mau6uafus5gnhsnv6mef Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='3340b480c727a3febf6f9f '
20230511@173640.1630 okjdp3mau6uafus5gnhsnv6mef Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='3340b480c727a3febf6f9f '
20230511@173640.1703 okjdp3mau6uafus5gnhsnv6mef Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='3340b480c727a3febf6f9f '
20230511@173640.1778 okjdp3mau6uafus5gnhsnv6mef Query : select top 1 bo.trab5 valor from bo where bo.bostamp='3340b480c727a3febf6f9f '
20230511@173640.1863 okjdp3mau6uafus5gnhsnv6mef Query : select top 1 bo.serie valor from bo where bo.bostamp='3340b480c727a3febf6f9f '
20230511@173640.1938 okjdp3mau6uafus5gnhsnv6mef Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut645d170324645d19981c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230511@173640.2213 okjdp3mau6uafus5gnhsnv6mef Query : select top 1 fno valor from wsft039data order by fno desc
20230511@173640.2226 okjdp3mau6uafus5gnhsnv6mef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230511@173640.2240 okjdp3mau6uafus5gnhsnv6mef Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230511@173640.2285 okjdp3mau6uafus5gnhsnv6mef Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ,encomenda ) values ('aut645d170324645d19981c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',195,101668,0,'2023-05-11',39,'euro',0,0,2023 ,'20230511','1806',?,?,?,?,?)
20230511@173640.2560 okjdp3mau6uafus5gnhsnv6mef Query : use flama_phc
20230511@173640.2563 okjdp3mau6uafus5gnhsnv6mef Query : select st.usalote valor from st where st.ref = '324.4840.00.1'
20230511@173640.2575 okjdp3mau6uafus5gnhsnv6mef Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4840.00.1'
20230511@173640.2716 okjdp3mau6uafus5gnhsnv6mef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173640.2730 okjdp3mau6uafus5gnhsnv6mef Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230511@173640.2753 okjdp3mau6uafus5gnhsnv6mef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173640.2766 okjdp3mau6uafus5gnhsnv6mef Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230511@173640.2770 okjdp3mau6uafus5gnhsnv6mef Query : select sestamp valor from se where ref ='324.4840.00.1' and lote = 'r2101353200a'
20230511@173640.2781 okjdp3mau6uafus5gnhsnv6mef Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@173640.2790 okjdp3mau6uafus5gnhsnv6mef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173640.2802 okjdp3mau6uafus5gnhsnv6mef Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230511@173640.2825 okjdp3mau6uafus5gnhsnv6mef Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645d112413645d199844',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut645d170324645d19981c' ,51.200000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230511@173640.3168 okjdp3mau6uafus5gnhsnv6mef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173640.3184 okjdp3mau6uafus5gnhsnv6mef Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230511@173640.3188 okjdp3mau6uafus5gnhsnv6mef Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645d112413645d199844','aut645d170324645d19981c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230511@173640.3192 okjdp3mau6uafus5gnhsnv6mef Query : use flama_phc
20230511@173640.3195 okjdp3mau6uafus5gnhsnv6mef Query : select st.usalote valor from st where st.ref = '324.2211.00.1'
20230511@173640.3207 okjdp3mau6uafus5gnhsnv6mef Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2211.00.1'
20230511@173640.3455 okjdp3mau6uafus5gnhsnv6mef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173640.3502 okjdp3mau6uafus5gnhsnv6mef Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230511@173640.3527 okjdp3mau6uafus5gnhsnv6mef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173640.3747 okjdp3mau6uafus5gnhsnv6mef Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230511@173640.3753 okjdp3mau6uafus5gnhsnv6mef Query : select sestamp valor from se where ref ='324.2211.00.1' and lote = 'r2100703100a'
20230511@173640.3764 okjdp3mau6uafus5gnhsnv6mef Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@173640.3776 okjdp3mau6uafus5gnhsnv6mef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173640.3791 okjdp3mau6uafus5gnhsnv6mef Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230511@173640.3813 okjdp3mau6uafus5gnhsnv6mef Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645d124725645d19985c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut645d170324645d19981c' ,32.000000,0 ,2,23.00,20000,?,?,?,?,?,?,?,?,?)
20230511@173640.4091 okjdp3mau6uafus5gnhsnv6mef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173640.4117 okjdp3mau6uafus5gnhsnv6mef Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230511@173640.4122 okjdp3mau6uafus5gnhsnv6mef Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645d124725645d19985c','aut645d170324645d19981c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230511@173640.4126 okjdp3mau6uafus5gnhsnv6mef Query : use flama_phc
20230511@173640.4129 okjdp3mau6uafus5gnhsnv6mef Query : select st.usalote valor from st where st.ref = '324.1676.00.1'
20230511@173640.4143 okjdp3mau6uafus5gnhsnv6mef Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230511@173640.4284 okjdp3mau6uafus5gnhsnv6mef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173640.4298 okjdp3mau6uafus5gnhsnv6mef Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230511@173640.4320 okjdp3mau6uafus5gnhsnv6mef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173640.4332 okjdp3mau6uafus5gnhsnv6mef Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230511@173640.4337 okjdp3mau6uafus5gnhsnv6mef Query : select sestamp valor from se where ref ='324.1676.00.1' and lote = 'r2200299100a'
20230511@173640.4353 okjdp3mau6uafus5gnhsnv6mef Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@173640.4363 okjdp3mau6uafus5gnhsnv6mef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173640.4375 okjdp3mau6uafus5gnhsnv6mef Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230511@173640.4399 okjdp3mau6uafus5gnhsnv6mef Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645d171016645d19986a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut645d170324645d19981c' ,57.600000,0 ,2,23.00,30000,?,?,?,?,?,?,?,?,?)
20230511@173640.4673 okjdp3mau6uafus5gnhsnv6mef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173640.4819 okjdp3mau6uafus5gnhsnv6mef Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230511@173640.4960 okjdp3mau6uafus5gnhsnv6mef Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645d171016645d19986a','aut645d170324645d19981c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230511@173640.4967 okjdp3mau6uafus5gnhsnv6mef Query : use flama_phc
20230511@173640.4970 okjdp3mau6uafus5gnhsnv6mef Query : select st.usalote valor from st where st.ref = '324.2212.00.1'
20230511@173640.4984 okjdp3mau6uafus5gnhsnv6mef Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2212.00.1'
20230511@173640.5403 okjdp3mau6uafus5gnhsnv6mef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173640.5421 okjdp3mau6uafus5gnhsnv6mef Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230511@173640.5445 okjdp3mau6uafus5gnhsnv6mef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173640.5458 okjdp3mau6uafus5gnhsnv6mef Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230511@173640.5462 okjdp3mau6uafus5gnhsnv6mef Query : select sestamp valor from se where ref ='324.2212.00.1' and lote = 'r2100703100a'
20230511@173640.5474 okjdp3mau6uafus5gnhsnv6mef Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@173640.5484 okjdp3mau6uafus5gnhsnv6mef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173640.5496 okjdp3mau6uafus5gnhsnv6mef Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230511@173640.5535 okjdp3mau6uafus5gnhsnv6mef Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645d195814645d199885',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut645d170324645d19981c' ,32.000000,0 ,2,23.00,40000,?,?,?,?,?,?,?,?,?)
20230511@173640.5867 okjdp3mau6uafus5gnhsnv6mef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173640.6825 okjdp3mau6uafus5gnhsnv6mef Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230511@173640.6830 okjdp3mau6uafus5gnhsnv6mef Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645d195814645d199885','aut645d170324645d19981c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230511@173640.6835 okjdp3mau6uafus5gnhsnv6mef Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645d170324645d19981c','119230000154','wait',39,'ari17112337378,753000005')
20230511@173640.6852 okjdp3mau6uafus5gnhsnv6mef Query : use flama_phc
20230511@173640.6855 okjdp3mau6uafus5gnhsnv6mef Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230511@173640.6867 okjdp3mau6uafus5gnhsnv6mef Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='304';
20230511@173640.6881 okjdp3mau6uafus5gnhsnv6mef Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='304';
20230511@173640.6893 okjdp3mau6uafus5gnhsnv6mef Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='304';
20230511@173640.6904 okjdp3mau6uafus5gnhsnv6mef Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='304';
20230511@173640.7250 aduscbjh2brs4cl4tmjksndhqg Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230511@173640.7264 aduscbjh2brs4cl4tmjksndhqg Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230511@173640.7278 aduscbjh2brs4cl4tmjksndhqg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='305';
20230511@173640.7319 aduscbjh2brs4cl4tmjksndhqg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='305';
20230511@173640.7331 aduscbjh2brs4cl4tmjksndhqg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='305';
20230511@173640.7342 aduscbjh2brs4cl4tmjksndhqg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='305';
20230511@173640.7354 aduscbjh2brs4cl4tmjksndhqg Query : use flama_phc
20230511@173640.7358 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230511@173640.7370 aduscbjh2brs4cl4tmjksndhqg Query : use flama_phc
20230511@173640.7373 aduscbjh2brs4cl4tmjksndhqg Query : select no, estab,szadrsdesc from szadrs where u_coddest=3104
20230511@173640.7456 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9116.00.1'
20230511@173640.7611 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000155 and bi.ref ='328.9116.00.1' and bi.lordem =20000
20230511@173640.7962 aduscbjh2brs4cl4tmjksndhqg Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051154788,3500000-2 ' 
20230511@173640.8299 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9116.00.1'
20230511@173640.8339 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000155 and bi.ref ='328.9116.00.1' and bi.lordem =20000
20230511@173640.8354 aduscbjh2brs4cl4tmjksndhqg Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051154788,3500000-2 ' 
20230511@173640.8366 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9116.00.1'
20230511@173640.8378 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000155 and bi.ref ='328.9116.00.1' and bi.lordem =30000
20230511@173640.8722 aduscbjh2brs4cl4tmjksndhqg Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051154788,3740000-3 ' 
20230511@173640.9045 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1417.00.1'
20230511@173640.9188 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000155 and bi.ref ='324.1417.00.1' and bi.lordem =40000
20230511@173640.9540 aduscbjh2brs4cl4tmjksndhqg Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051154788,3920000-4 ' 
20230511@173640.9870 aduscbjh2brs4cl4tmjksndhqg 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'
20230511@173641.7000 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000155 and bi.ref ='324.4980.00.1' and bi.lordem =50000
20230511@173641.6210 aduscbjh2brs4cl4tmjksndhqg Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051154788,4160000-5 ' 
20230511@173641.9440 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9225.00.1'
20230511@173641.1084 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000155 and bi.ref ='328.9225.00.1' and bi.lordem =60000
20230511@173641.1396 aduscbjh2brs4cl4tmjksndhqg Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051154788,4400000-6 ' 
20230511@173641.1827 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9205.00.1'
20230511@173641.2167 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000155 and bi.ref ='328.9205.00.1' and bi.lordem =70000
20230511@173641.2739 aduscbjh2brs4cl4tmjksndhqg Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051154788,4640000-7 ' 
20230511@173641.3072 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2212.00.1'
20230511@173641.3082 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000155 and bi.ref ='324.2212.00.1' and bi.lordem =80000
20230511@173641.3405 aduscbjh2brs4cl4tmjksndhqg Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051154788,4880000-8 ' 
20230511@173641.3768 aduscbjh2brs4cl4tmjksndhqg Query : use flama_phc
20230511@173641.3772 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230511@173641.3786 aduscbjh2brs4cl4tmjksndhqg Query : use flama_phc
20230511@173641.3789 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 1 valor from td where td.ndoc = 39
20230511@173641.3801 aduscbjh2brs4cl4tmjksndhqg Query : use flama_phc
20230511@173641.3804 aduscbjh2brs4cl4tmjksndhqg Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230511@173641.3816 aduscbjh2brs4cl4tmjksndhqg 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
20230511@173641.3830 aduscbjh2brs4cl4tmjksndhqg Query : use flama_phc
20230511@173641.3833 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 ~inactivo valor from cl where no = '102470' and estab = 0 order by inactivo desc
20230511@173641.3937 aduscbjh2brs4cl4tmjksndhqg Query : use flama_phc
20230511@173641.3941 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230511@173641.3953 aduscbjh2brs4cl4tmjksndhqg Query : use flama_phc
20230511@173641.3956 aduscbjh2brs4cl4tmjksndhqg Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230511@173641.3968 aduscbjh2brs4cl4tmjksndhqg Query : use flama_phc
20230511@173641.3971 aduscbjh2brs4cl4tmjksndhqg Query : select szadrsstamp valor from szadrs where szadrsdesc='electro pereira, lda'
20230511@173641.3985 aduscbjh2brs4cl4tmjksndhqg Query : use flama_phc
20230511@173641.3988 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from td where ndoc = 39
20230511@173641.3998 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230511@173641.4011 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230511@173641.4025 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230511@173641.4043 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230511@173641.4057 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230511@173641.4086 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230511@173641.4100 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230511@173641.4110 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230511@173641.4152 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230511@173641.4162 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230511@173641.4174 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230511@173641.4186 aduscbjh2brs4cl4tmjksndhqg Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645d111047645d199964' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230511@173641.4336 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230511@173641.4350 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230511@173641.4383 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='ab4e26b0f5aeac7e4a7a38 '
20230511@173641.4483 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='ab4e26b0f5aeac7e4a7a38 '
20230511@173641.4559 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='ab4e26b0f5aeac7e4a7a38 '
20230511@173641.4630 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='ab4e26b0f5aeac7e4a7a38 '
20230511@173641.4699 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 bo.trab5 valor from bo where bo.bostamp='ab4e26b0f5aeac7e4a7a38 '
20230511@173641.4765 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 bo.serie valor from bo where bo.bostamp='ab4e26b0f5aeac7e4a7a38 '
20230511@173641.4834 aduscbjh2brs4cl4tmjksndhqg Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut645d111047645d199964',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230511@173641.5086 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 fno valor from wsft039data order by fno desc
20230511@173641.5101 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230511@173641.5116 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230511@173641.5132 aduscbjh2brs4cl4tmjksndhqg Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ,encomenda ) values ('aut645d111047645d199964',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',196,102470,0,'2023-05-11',39,'euro',0,0,2023 ,'20230511','1806',?,?,?,?,?)
20230511@173641.5381 aduscbjh2brs4cl4tmjksndhqg Query : use flama_phc
20230511@173641.5385 aduscbjh2brs4cl4tmjksndhqg Query : select st.usalote valor from st where st.ref = '328.9116.00.1'
20230511@173641.5397 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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.9116.00.1'
20230511@173641.5539 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173641.5553 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230511@173641.5575 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173641.5588 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230511@173641.5592 aduscbjh2brs4cl4tmjksndhqg Query : select sestamp valor from se where ref ='328.9116.00.1' and lote = 'r2001441300a'
20230511@173641.5613 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@173641.5623 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173641.5635 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230511@173641.5659 aduscbjh2brs4cl4tmjksndhqg Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645d107087645d199989',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut645d111047645d199964' ,243.200000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230511@173641.5890 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173641.5904 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230511@173641.5908 aduscbjh2brs4cl4tmjksndhqg Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645d107087645d199989','aut645d111047645d199964' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230511@173641.5913 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173641.5926 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230511@173641.5947 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173641.5959 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230511@173641.5963 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@173641.5973 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173641.5984 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230511@173641.6006 aduscbjh2brs4cl4tmjksndhqg Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645d183530645d199991',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645d111047645d199964' ,0,0 ,2,23.00,20000,?,?,?)
20230511@173641.6330 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173641.6346 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230511@173641.6350 aduscbjh2brs4cl4tmjksndhqg Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645d183530645d199991','aut645d111047645d199964' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230511@173641.6356 aduscbjh2brs4cl4tmjksndhqg Query : use flama_phc
20230511@173641.6359 aduscbjh2brs4cl4tmjksndhqg Query : select st.usalote valor from st where st.ref = '328.9116.00.1'
20230511@173641.6369 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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.9116.00.1'
20230511@173641.6381 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173641.6393 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230511@173641.6417 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173641.6428 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230511@173641.6432 aduscbjh2brs4cl4tmjksndhqg Query : select sestamp valor from se where ref ='328.9116.00.1' and lote = 'r2001441300a'
20230511@173641.6443 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@173641.6535 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173641.6683 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230511@173641.6759 aduscbjh2brs4cl4tmjksndhqg Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645d187730645d19999f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut645d111047645d199964' ,243.200000,0 ,2,23.00,40000,?,?,?,?,?,?,?,?,?)
20230511@173641.7006 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173641.7021 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230511@173641.7026 aduscbjh2brs4cl4tmjksndhqg Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645d187730645d19999f','aut645d111047645d199964' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230511@173641.7031 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173641.7044 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230511@173641.7069 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173641.7081 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230511@173641.7085 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@173641.7094 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173641.7106 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230511@173641.7126 aduscbjh2brs4cl4tmjksndhqg Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645d107222645d1999ad',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645d111047645d199964' ,0,0 ,2,23.00,50000,?,?,?)
20230511@173641.7384 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173641.8063 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230511@173641.8411 aduscbjh2brs4cl4tmjksndhqg Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645d107222645d1999ad','aut645d111047645d199964' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230511@173641.8418 aduscbjh2brs4cl4tmjksndhqg Query : use flama_phc
20230511@173641.8422 aduscbjh2brs4cl4tmjksndhqg Query : select st.usalote valor from st where st.ref = '328.9116.00.1'
20230511@173641.8434 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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.9116.00.1'
20230511@173641.8446 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173641.8461 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230511@173641.8487 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173641.8501 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230511@173641.8506 aduscbjh2brs4cl4tmjksndhqg Query : select sestamp valor from se where ref ='328.9116.00.1' and lote = 'r2001441300a'
20230511@173641.8517 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@173641.8528 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173641.8540 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230511@173641.8565 aduscbjh2brs4cl4tmjksndhqg Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645d129650645d1999d0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut645d111047645d199964' ,.000000,0 ,2,23.00,70000,?,?,?,?,?,?,?,?,?)
20230511@173641.8805 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173641.8820 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230511@173641.8825 aduscbjh2brs4cl4tmjksndhqg Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645d129650645d1999d0','aut645d111047645d199964' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230511@173641.8831 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173641.8844 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230511@173641.8866 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173641.8878 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230511@173641.8882 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@173641.8891 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173641.8903 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230511@173641.8926 aduscbjh2brs4cl4tmjksndhqg Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645d159309645d1999d9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645d111047645d199964' ,0,0 ,2,23.00,80000,?,?,?)
20230511@173641.9177 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173641.9192 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230511@173641.9197 aduscbjh2brs4cl4tmjksndhqg Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645d159309645d1999d9','aut645d111047645d199964' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230511@173641.9201 aduscbjh2brs4cl4tmjksndhqg Query : use flama_phc
20230511@173641.9204 aduscbjh2brs4cl4tmjksndhqg Query : select st.usalote valor from st where st.ref = '324.1417.00.1'
20230511@173641.9216 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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.1417.00.1'
20230511@173641.9459 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173641.9474 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230511@173641.9496 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173641.9508 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230511@173641.9512 aduscbjh2brs4cl4tmjksndhqg Query : select sestamp valor from se where ref ='324.1417.00.1' and lote = 'r2101088200a'
20230511@173641.9529 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@173641.9539 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173641.9551 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230511@173641.9593 aduscbjh2brs4cl4tmjksndhqg Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645d112169645d1999e8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut645d111047645d199964' ,32.000000,0 ,2,23.00,100000,?,?,?,?,?,?,?,?,?)
20230511@173641.9846 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173641.9861 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230511@173641.9866 aduscbjh2brs4cl4tmjksndhqg Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645d112169645d1999e8','aut645d111047645d199964' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230511@173641.9870 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173641.9894 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230511@173641.9917 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173641.9929 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230511@173641.9933 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@173641.9942 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173641.9955 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230511@173641.9978 aduscbjh2brs4cl4tmjksndhqg Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645d166857645d1999f2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645d111047645d199964' ,0,0 ,2,23.00,110000,?,?,?)
20230511@173642.2220 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173642.2380 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230511@173642.2420 aduscbjh2brs4cl4tmjksndhqg Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645d166857645d1999f2','aut645d111047645d199964' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230511@173642.2470 aduscbjh2brs4cl4tmjksndhqg Query : use flama_phc
20230511@173642.2500 aduscbjh2brs4cl4tmjksndhqg Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20230511@173642.2610 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230511@173642.4020 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173642.4150 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230511@173642.4370 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173642.4480 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230511@173642.4520 aduscbjh2brs4cl4tmjksndhqg Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2101095200a'
20230511@173642.4630 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@173642.4710 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173642.4830 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230511@173642.5060 aduscbjh2brs4cl4tmjksndhqg Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645d145865645d199a0b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut645d111047645d199964' ,25.600000,0 ,2,23.00,130000,?,?,?,?,?,?,?,?,?)
20230511@173642.7480 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173642.7660 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230511@173642.7730 aduscbjh2brs4cl4tmjksndhqg Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645d145865645d199a0b','aut645d111047645d199964' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230511@173642.7810 aduscbjh2brs4cl4tmjksndhqg Query : use flama_phc
20230511@173642.7840 aduscbjh2brs4cl4tmjksndhqg Query : select st.usalote valor from st where st.ref = '328.9225.00.1'
20230511@173642.7950 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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.9225.00.1'
20230511@173642.1056 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173642.1070 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230511@173642.1093 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173642.1107 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230511@173642.1111 aduscbjh2brs4cl4tmjksndhqg Query : select sestamp valor from se where ref ='328.9225.00.1' and lote = 'r2101191100a'
20230511@173642.1129 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@173642.1139 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173642.1151 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230511@173642.1186 aduscbjh2brs4cl4tmjksndhqg Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645d133406645d199a1b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut645d111047645d199964' ,147.200000,0 ,2,23.00,140000,?,?,?,?,?,?,?,?,?)
20230511@173642.1439 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173642.1454 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230511@173642.1459 aduscbjh2brs4cl4tmjksndhqg Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645d133406645d199a1b','aut645d111047645d199964' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230511@173642.1463 aduscbjh2brs4cl4tmjksndhqg Query : use flama_phc
20230511@173642.1466 aduscbjh2brs4cl4tmjksndhqg Query : select st.usalote valor from st where st.ref = '328.9205.00.1'
20230511@173642.1477 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '328.9205.00.1'
20230511@173642.1614 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173642.1628 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230511@173642.1650 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173642.1667 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230511@173642.1672 aduscbjh2brs4cl4tmjksndhqg Query : select sestamp valor from se where ref ='328.9205.00.1' and lote = 'r2101191100a'
20230511@173642.1684 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@173642.1695 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173642.1707 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230511@173642.1744 aduscbjh2brs4cl4tmjksndhqg Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645d175492645d199a29',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut645d111047645d199964' ,136.400000,0 ,2,23.00,150000,?,?,?,?,?,?,?,?,?)
20230511@173642.2001 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173642.2016 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230511@173642.2020 aduscbjh2brs4cl4tmjksndhqg Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645d175492645d199a29','aut645d111047645d199964' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230511@173642.2025 aduscbjh2brs4cl4tmjksndhqg Query : use flama_phc
20230511@173642.2028 aduscbjh2brs4cl4tmjksndhqg Query : select st.usalote valor from st where st.ref = '324.2212.00.1'
20230511@173642.2039 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2212.00.1'
20230511@173642.2050 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173642.2092 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230511@173642.2116 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173642.2127 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230511@173642.2131 aduscbjh2brs4cl4tmjksndhqg Query : select sestamp valor from se where ref ='324.2212.00.1' and lote = 'r2100703100a'
20230511@173642.2141 aduscbjh2brs4cl4tmjksndhqg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@173642.2151 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173642.2163 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230511@173642.2184 aduscbjh2brs4cl4tmjksndhqg Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645d163602645d199a34',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut645d111047645d199964' ,32.000000,0 ,2,23.00,160000,?,?,?,?,?,?,?,?,?)
20230511@173642.2423 aduscbjh2brs4cl4tmjksndhqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173642.2448 aduscbjh2brs4cl4tmjksndhqg Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230511@173642.2452 aduscbjh2brs4cl4tmjksndhqg Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645d163602645d199a34','aut645d111047645d199964' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230511@173642.2457 aduscbjh2brs4cl4tmjksndhqg Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645d111047645d199964','119230000155','wait',39,'ari17112337378,753000005')
20230511@173642.2476 aduscbjh2brs4cl4tmjksndhqg Query : use flama_phc
20230511@173642.2479 aduscbjh2brs4cl4tmjksndhqg Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230511@173642.2490 aduscbjh2brs4cl4tmjksndhqg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='305';
20230511@173642.2504 aduscbjh2brs4cl4tmjksndhqg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='305';
20230511@173642.2541 aduscbjh2brs4cl4tmjksndhqg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='305';
20230511@173642.2552 aduscbjh2brs4cl4tmjksndhqg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='305';
20230511@173642.2916 cgp08iq6luchieg9njjqllmb43 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230511@173642.2932 cgp08iq6luchieg9njjqllmb43 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230511@173642.2946 cgp08iq6luchieg9njjqllmb43 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='306';
20230511@173642.2987 cgp08iq6luchieg9njjqllmb43 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='306';
20230511@173642.3000 cgp08iq6luchieg9njjqllmb43 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='306';
20230511@173642.3011 cgp08iq6luchieg9njjqllmb43 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='306';
20230511@173642.3022 cgp08iq6luchieg9njjqllmb43 Query : use flama_phc
20230511@173642.3025 cgp08iq6luchieg9njjqllmb43 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230511@173642.3038 cgp08iq6luchieg9njjqllmb43 Query : use flama_phc
20230511@173642.3042 cgp08iq6luchieg9njjqllmb43 Query : select no, estab,szadrsdesc from szadrs where u_coddest=770
20230511@173642.3114 cgp08iq6luchieg9njjqllmb43 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'
20230511@173642.3256 cgp08iq6luchieg9njjqllmb43 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000156 and bi.ref ='324.948.00.01' and bi.lordem =20000
20230511@173642.3571 cgp08iq6luchieg9njjqllmb43 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051154869,5660000-2 ' 
20230511@173642.3964 cgp08iq6luchieg9njjqllmb43 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'
20230511@173642.3975 cgp08iq6luchieg9njjqllmb43 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000156 and bi.ref ='324.948.00.01' and bi.lordem =20000
20230511@173642.3987 cgp08iq6luchieg9njjqllmb43 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051154869,5660000-2 ' 
20230511@173642.3997 cgp08iq6luchieg9njjqllmb43 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'
20230511@173642.4007 cgp08iq6luchieg9njjqllmb43 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000156 and bi.ref ='324.4980.00.1' and bi.lordem =30000
20230511@173642.4328 cgp08iq6luchieg9njjqllmb43 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051154869,5900000-3 ' 
20230511@173642.4644 cgp08iq6luchieg9njjqllmb43 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'
20230511@173642.4655 cgp08iq6luchieg9njjqllmb43 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000156 and bi.ref ='324.4980.00.1' and bi.lordem =30000
20230511@173642.4668 cgp08iq6luchieg9njjqllmb43 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051154869,5900000-3 ' 
20230511@173642.4678 cgp08iq6luchieg9njjqllmb43 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'
20230511@173642.4688 cgp08iq6luchieg9njjqllmb43 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000156 and bi.ref ='324.4980.00.1' and bi.lordem =30000
20230511@173642.4698 cgp08iq6luchieg9njjqllmb43 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051154869,5900000-3 ' 
20230511@173642.4709 cgp08iq6luchieg9njjqllmb43 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'
20230511@173642.4718 cgp08iq6luchieg9njjqllmb43 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000156 and bi.ref ='324.4980.00.1' and bi.lordem =30000
20230511@173642.4730 cgp08iq6luchieg9njjqllmb43 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051154869,5900000-3 ' 
20230511@173642.4774 cgp08iq6luchieg9njjqllmb43 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'
20230511@173642.4786 cgp08iq6luchieg9njjqllmb43 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000156 and bi.ref ='324.4980.00.1' and bi.lordem =30000
20230511@173642.4798 cgp08iq6luchieg9njjqllmb43 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051154869,5900000-3 ' 
20230511@173642.4812 cgp08iq6luchieg9njjqllmb43 Query : use flama_phc
20230511@173642.4816 cgp08iq6luchieg9njjqllmb43 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230511@173642.4829 cgp08iq6luchieg9njjqllmb43 Query : use flama_phc
20230511@173642.4832 cgp08iq6luchieg9njjqllmb43 Query : select top 1 1 valor from td where td.ndoc = 39
20230511@173642.4842 cgp08iq6luchieg9njjqllmb43 Query : use flama_phc
20230511@173642.4845 cgp08iq6luchieg9njjqllmb43 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230511@173642.4856 cgp08iq6luchieg9njjqllmb43 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
20230511@173642.4874 cgp08iq6luchieg9njjqllmb43 Query : use flama_phc
20230511@173642.4878 cgp08iq6luchieg9njjqllmb43 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20230511@173642.4986 cgp08iq6luchieg9njjqllmb43 Query : use flama_phc
20230511@173642.4990 cgp08iq6luchieg9njjqllmb43 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230511@173642.5001 cgp08iq6luchieg9njjqllmb43 Query : use flama_phc
20230511@173642.5004 cgp08iq6luchieg9njjqllmb43 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230511@173642.5221 cgp08iq6luchieg9njjqllmb43 Query : use flama_phc
20230511@173642.5268 cgp08iq6luchieg9njjqllmb43 Query : select szadrsstamp valor from szadrs where szadrsdesc='worten-equipamentos para o lar,sa.- azambuja'
20230511@173642.5310 cgp08iq6luchieg9njjqllmb43 Query : use flama_phc
20230511@173642.5314 cgp08iq6luchieg9njjqllmb43 Query : select 1 valor from td where ndoc = 39
20230511@173642.5325 cgp08iq6luchieg9njjqllmb43 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230511@173642.5338 cgp08iq6luchieg9njjqllmb43 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230511@173642.5353 cgp08iq6luchieg9njjqllmb43 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230511@173642.5402 cgp08iq6luchieg9njjqllmb43 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230511@173642.5416 cgp08iq6luchieg9njjqllmb43 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230511@173642.5444 cgp08iq6luchieg9njjqllmb43 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230511@173642.5458 cgp08iq6luchieg9njjqllmb43 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230511@173642.5469 cgp08iq6luchieg9njjqllmb43 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230511@173642.5510 cgp08iq6luchieg9njjqllmb43 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230511@173642.5521 cgp08iq6luchieg9njjqllmb43 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230511@173642.5534 cgp08iq6luchieg9njjqllmb43 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230511@173642.5556 cgp08iq6luchieg9njjqllmb43 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645d129119645d199a85' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230511@173642.5748 cgp08iq6luchieg9njjqllmb43 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230511@173642.5767 cgp08iq6luchieg9njjqllmb43 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230511@173642.5797 cgp08iq6luchieg9njjqllmb43 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='evc23050953961,014000001 '
20230511@173642.5925 cgp08iq6luchieg9njjqllmb43 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='evc23050953961,014000001 '
20230511@173642.6017 cgp08iq6luchieg9njjqllmb43 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='evc23050953961,014000001 '
20230511@173642.6099 cgp08iq6luchieg9njjqllmb43 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='evc23050953961,014000001 '
20230511@173642.6175 cgp08iq6luchieg9njjqllmb43 Query : select top 1 bo.trab5 valor from bo where bo.bostamp='evc23050953961,014000001 '
20230511@173642.6252 cgp08iq6luchieg9njjqllmb43 Query : select top 1 bo.serie valor from bo where bo.bostamp='evc23050953961,014000001 '
20230511@173642.6335 cgp08iq6luchieg9njjqllmb43 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut645d129119645d199a85',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230511@173642.6656 cgp08iq6luchieg9njjqllmb43 Query : select top 1 fno valor from wsft039data order by fno desc
20230511@173642.6672 cgp08iq6luchieg9njjqllmb43 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230511@173642.6687 cgp08iq6luchieg9njjqllmb43 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230511@173642.6706 cgp08iq6luchieg9njjqllmb43 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ,encomenda ) values ('aut645d129119645d199a85',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',197,100810,0,'2023-05-11',39,'euro',0,0,2023 ,'20230511','1806',?,?,?,?,?)
20230511@173642.6999 cgp08iq6luchieg9njjqllmb43 Query : use flama_phc
20230511@173642.7004 cgp08iq6luchieg9njjqllmb43 Query : select st.usalote valor from st where st.ref = '324.948.00.01'
20230511@173642.7018 cgp08iq6luchieg9njjqllmb43 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230511@173642.7187 cgp08iq6luchieg9njjqllmb43 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173642.7201 cgp08iq6luchieg9njjqllmb43 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230511@173642.7228 cgp08iq6luchieg9njjqllmb43 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173642.7242 cgp08iq6luchieg9njjqllmb43 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230511@173642.7246 cgp08iq6luchieg9njjqllmb43 Query : select sestamp valor from se where ref ='324.948.00.01' and lote = '01/21'
20230511@173642.7264 cgp08iq6luchieg9njjqllmb43 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@173642.7275 cgp08iq6luchieg9njjqllmb43 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173642.7289 cgp08iq6luchieg9njjqllmb43 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230511@173642.7316 cgp08iq6luchieg9njjqllmb43 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645d184646645d199ab1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut645d129119645d199a85' ,32.900000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230511@173642.7635 cgp08iq6luchieg9njjqllmb43 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173642.7651 cgp08iq6luchieg9njjqllmb43 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230511@173642.7656 cgp08iq6luchieg9njjqllmb43 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645d184646645d199ab1','aut645d129119645d199a85' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230511@173642.7661 cgp08iq6luchieg9njjqllmb43 Query : use flama_phc
20230511@173642.7664 cgp08iq6luchieg9njjqllmb43 Query : select st.usalote valor from st where st.ref = '324.948.00.01'
20230511@173642.7677 cgp08iq6luchieg9njjqllmb43 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230511@173642.7689 cgp08iq6luchieg9njjqllmb43 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173642.7730 cgp08iq6luchieg9njjqllmb43 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230511@173642.7756 cgp08iq6luchieg9njjqllmb43 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173642.7768 cgp08iq6luchieg9njjqllmb43 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230511@173642.7772 cgp08iq6luchieg9njjqllmb43 Query : select sestamp valor from se where ref ='324.948.00.01' and lote = '01/21'
20230511@173642.7782 cgp08iq6luchieg9njjqllmb43 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@173642.7792 cgp08iq6luchieg9njjqllmb43 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173642.7804 cgp08iq6luchieg9njjqllmb43 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230511@173642.7830 cgp08iq6luchieg9njjqllmb43 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645d134137645d199abe',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',42.000 ,'aut645d129119645d199a85' ,32.900000,0 ,2,23.00,20000,?,?,?,?,?,?,?,?,?)
20230511@173642.8092 cgp08iq6luchieg9njjqllmb43 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173642.8107 cgp08iq6luchieg9njjqllmb43 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230511@173642.8111 cgp08iq6luchieg9njjqllmb43 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645d134137645d199abe','aut645d129119645d199a85' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230511@173642.8116 cgp08iq6luchieg9njjqllmb43 Query : use flama_phc
20230511@173642.8118 cgp08iq6luchieg9njjqllmb43 Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20230511@173642.8137 cgp08iq6luchieg9njjqllmb43 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230511@173642.8149 cgp08iq6luchieg9njjqllmb43 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173642.8163 cgp08iq6luchieg9njjqllmb43 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230511@173642.8190 cgp08iq6luchieg9njjqllmb43 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173642.8203 cgp08iq6luchieg9njjqllmb43 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230511@173642.8207 cgp08iq6luchieg9njjqllmb43 Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2101095200a'
20230511@173642.8218 cgp08iq6luchieg9njjqllmb43 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@173642.8229 cgp08iq6luchieg9njjqllmb43 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173642.8243 cgp08iq6luchieg9njjqllmb43 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230511@173642.8271 cgp08iq6luchieg9njjqllmb43 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645d132168645d199ac8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut645d129119645d199a85' ,28.000000,0 ,2,23.00,30000,?,?,?,?,?,?,?,?,?)
20230511@173642.8543 cgp08iq6luchieg9njjqllmb43 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173642.8561 cgp08iq6luchieg9njjqllmb43 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230511@173642.8565 cgp08iq6luchieg9njjqllmb43 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645d132168645d199ac8','aut645d129119645d199a85' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230511@173642.8576 cgp08iq6luchieg9njjqllmb43 Query : use flama_phc
20230511@173642.8579 cgp08iq6luchieg9njjqllmb43 Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20230511@173642.8589 cgp08iq6luchieg9njjqllmb43 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230511@173642.8600 cgp08iq6luchieg9njjqllmb43 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173642.8614 cgp08iq6luchieg9njjqllmb43 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230511@173642.8666 cgp08iq6luchieg9njjqllmb43 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173642.8678 cgp08iq6luchieg9njjqllmb43 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230511@173642.8682 cgp08iq6luchieg9njjqllmb43 Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2101095200a'
20230511@173642.8692 cgp08iq6luchieg9njjqllmb43 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@173642.8701 cgp08iq6luchieg9njjqllmb43 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173642.8713 cgp08iq6luchieg9njjqllmb43 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230511@173642.8736 cgp08iq6luchieg9njjqllmb43 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645d138634645d199ad4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48.000 ,'aut645d129119645d199a85' ,28.000000,0 ,2,23.00,40000,?,?,?,?,?,?,?,?,?)
20230511@173642.8984 cgp08iq6luchieg9njjqllmb43 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173642.9009 cgp08iq6luchieg9njjqllmb43 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230511@173642.9013 cgp08iq6luchieg9njjqllmb43 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645d138634645d199ad4','aut645d129119645d199a85' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230511@173642.9017 cgp08iq6luchieg9njjqllmb43 Query : use flama_phc
20230511@173642.9020 cgp08iq6luchieg9njjqllmb43 Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20230511@173642.9033 cgp08iq6luchieg9njjqllmb43 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230511@173642.9044 cgp08iq6luchieg9njjqllmb43 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173642.9058 cgp08iq6luchieg9njjqllmb43 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230511@173642.9082 cgp08iq6luchieg9njjqllmb43 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173642.9094 cgp08iq6luchieg9njjqllmb43 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230511@173642.9099 cgp08iq6luchieg9njjqllmb43 Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2101095200a'
20230511@173642.9110 cgp08iq6luchieg9njjqllmb43 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@173642.9119 cgp08iq6luchieg9njjqllmb43 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173642.9131 cgp08iq6luchieg9njjqllmb43 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230511@173642.9154 cgp08iq6luchieg9njjqllmb43 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645d126387645d199ade',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut645d129119645d199a85' ,28.000000,0 ,2,23.00,50000,?,?,?,?,?,?,?,?,?)
20230511@173642.9553 cgp08iq6luchieg9njjqllmb43 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173642.9569 cgp08iq6luchieg9njjqllmb43 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230511@173642.9573 cgp08iq6luchieg9njjqllmb43 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645d126387645d199ade','aut645d129119645d199a85' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230511@173642.9578 cgp08iq6luchieg9njjqllmb43 Query : use flama_phc
20230511@173642.9581 cgp08iq6luchieg9njjqllmb43 Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20230511@173642.9592 cgp08iq6luchieg9njjqllmb43 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230511@173642.9604 cgp08iq6luchieg9njjqllmb43 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173642.9616 cgp08iq6luchieg9njjqllmb43 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230511@173642.9640 cgp08iq6luchieg9njjqllmb43 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173642.9651 cgp08iq6luchieg9njjqllmb43 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230511@173642.9655 cgp08iq6luchieg9njjqllmb43 Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2101095200a'
20230511@173642.9699 cgp08iq6luchieg9njjqllmb43 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@173643.6670 cgp08iq6luchieg9njjqllmb43 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173643.6850 cgp08iq6luchieg9njjqllmb43 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230511@173643.7070 cgp08iq6luchieg9njjqllmb43 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645d103486645d199b10',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut645d129119645d199a85' ,28.000000,0 ,2,23.00,60000,?,?,?,?,?,?,?,?,?)
20230511@173643.9720 cgp08iq6luchieg9njjqllmb43 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173643.9870 cgp08iq6luchieg9njjqllmb43 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230511@173643.9910 cgp08iq6luchieg9njjqllmb43 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645d103486645d199b10','aut645d129119645d199a85' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230511@173643.9960 cgp08iq6luchieg9njjqllmb43 Query : use flama_phc
20230511@173643.9990 cgp08iq6luchieg9njjqllmb43 Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20230511@173643.1008 cgp08iq6luchieg9njjqllmb43 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230511@173643.1019 cgp08iq6luchieg9njjqllmb43 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173643.1032 cgp08iq6luchieg9njjqllmb43 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230511@173643.1057 cgp08iq6luchieg9njjqllmb43 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173643.1069 cgp08iq6luchieg9njjqllmb43 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230511@173643.1074 cgp08iq6luchieg9njjqllmb43 Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2101095200a'
20230511@173643.1083 cgp08iq6luchieg9njjqllmb43 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@173643.1093 cgp08iq6luchieg9njjqllmb43 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173643.1104 cgp08iq6luchieg9njjqllmb43 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230511@173643.1128 cgp08iq6luchieg9njjqllmb43 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645d138911645d199b1a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut645d129119645d199a85' ,28.000000,0 ,2,23.00,70000,?,?,?,?,?,?,?,?,?)
20230511@173643.1368 cgp08iq6luchieg9njjqllmb43 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173643.1383 cgp08iq6luchieg9njjqllmb43 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230511@173643.1387 cgp08iq6luchieg9njjqllmb43 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645d138911645d199b1a','aut645d129119645d199a85' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230511@173643.1392 cgp08iq6luchieg9njjqllmb43 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645d129119645d199a85','119230000156','wait',39,'ari17112337378,753000005')
20230511@173643.1408 cgp08iq6luchieg9njjqllmb43 Query : use flama_phc
20230511@173643.1411 cgp08iq6luchieg9njjqllmb43 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230511@173643.1422 cgp08iq6luchieg9njjqllmb43 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='306';
20230511@173643.1436 cgp08iq6luchieg9njjqllmb43 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='306';
20230511@173643.1448 cgp08iq6luchieg9njjqllmb43 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='306';
20230511@173643.1460 cgp08iq6luchieg9njjqllmb43 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='306';
20230511@173643.1792 dqbga503dsv7jha2qlnqehir6e Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230511@173643.1803 dqbga503dsv7jha2qlnqehir6e Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230511@173643.1816 dqbga503dsv7jha2qlnqehir6e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='307';
20230511@173643.1857 dqbga503dsv7jha2qlnqehir6e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='307';
20230511@173643.1870 dqbga503dsv7jha2qlnqehir6e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='307';
20230511@173643.1881 dqbga503dsv7jha2qlnqehir6e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='307';
20230511@173643.1894 dqbga503dsv7jha2qlnqehir6e Query : use flama_phc
20230511@173643.1897 dqbga503dsv7jha2qlnqehir6e Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230511@173643.1911 dqbga503dsv7jha2qlnqehir6e Query : use flama_phc
20230511@173643.1915 dqbga503dsv7jha2qlnqehir6e Query : select no, estab,szadrsdesc from szadrs where u_coddest=4743
20230511@173643.2001 dqbga503dsv7jha2qlnqehir6e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1221.00.1'
20230511@173643.2237 dqbga503dsv7jha2qlnqehir6e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000157 and bi.ref ='324.1221.00.1' and bi.lordem =20000
20230511@173643.2587 dqbga503dsv7jha2qlnqehir6e Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051154871,0410000-2 ' 
20230511@173643.2911 dqbga503dsv7jha2qlnqehir6e Query : use flama_phc
20230511@173643.2914 dqbga503dsv7jha2qlnqehir6e Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230511@173643.2927 dqbga503dsv7jha2qlnqehir6e Query : use flama_phc
20230511@173643.2929 dqbga503dsv7jha2qlnqehir6e Query : select top 1 1 valor from td where td.ndoc = 39
20230511@173643.2940 dqbga503dsv7jha2qlnqehir6e Query : use flama_phc
20230511@173643.2943 dqbga503dsv7jha2qlnqehir6e Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230511@173643.2953 dqbga503dsv7jha2qlnqehir6e 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
20230511@173643.2967 dqbga503dsv7jha2qlnqehir6e Query : use flama_phc
20230511@173643.2970 dqbga503dsv7jha2qlnqehir6e Query : select top 1 ~inactivo valor from cl where no = '101597' and estab = 0 order by inactivo desc
20230511@173643.3099 dqbga503dsv7jha2qlnqehir6e Query : use flama_phc
20230511@173643.3102 dqbga503dsv7jha2qlnqehir6e Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230511@173643.3111 dqbga503dsv7jha2qlnqehir6e Query : use flama_phc
20230511@173643.3114 dqbga503dsv7jha2qlnqehir6e Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230511@173643.3124 dqbga503dsv7jha2qlnqehir6e Query : use flama_phc
20230511@173643.3127 dqbga503dsv7jha2qlnqehir6e Query : select szadrsstamp valor from szadrs where szadrsdesc='101597 - auchan retail portugal , sa'
20230511@173643.3140 dqbga503dsv7jha2qlnqehir6e Query : use flama_phc
20230511@173643.3142 dqbga503dsv7jha2qlnqehir6e Query : select 1 valor from td where ndoc = 39
20230511@173643.3157 dqbga503dsv7jha2qlnqehir6e Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230511@173643.3168 dqbga503dsv7jha2qlnqehir6e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230511@173643.3181 dqbga503dsv7jha2qlnqehir6e Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230511@173643.3197 dqbga503dsv7jha2qlnqehir6e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230511@173643.3210 dqbga503dsv7jha2qlnqehir6e Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230511@173643.3236 dqbga503dsv7jha2qlnqehir6e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230511@173643.3248 dqbga503dsv7jha2qlnqehir6e Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230511@173643.3258 dqbga503dsv7jha2qlnqehir6e Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230511@173643.3299 dqbga503dsv7jha2qlnqehir6e Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230511@173643.3308 dqbga503dsv7jha2qlnqehir6e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230511@173643.3319 dqbga503dsv7jha2qlnqehir6e Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230511@173643.3350 dqbga503dsv7jha2qlnqehir6e Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645d119922645d199b4f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230511@173643.3510 dqbga503dsv7jha2qlnqehir6e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230511@173643.3523 dqbga503dsv7jha2qlnqehir6e Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230511@173643.3551 dqbga503dsv7jha2qlnqehir6e Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='evc23050550501,437000001 '
20230511@173643.3664 dqbga503dsv7jha2qlnqehir6e Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='evc23050550501,437000001 '
20230511@173643.3741 dqbga503dsv7jha2qlnqehir6e Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='evc23050550501,437000001 '
20230511@173643.3812 dqbga503dsv7jha2qlnqehir6e Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='evc23050550501,437000001 '
20230511@173643.3885 dqbga503dsv7jha2qlnqehir6e Query : select top 1 bo.trab5 valor from bo where bo.bostamp='evc23050550501,437000001 '
20230511@173643.4121 dqbga503dsv7jha2qlnqehir6e Query : select top 1 bo.serie valor from bo where bo.bostamp='evc23050550501,437000001 '
20230511@173643.4216 dqbga503dsv7jha2qlnqehir6e Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut645d119922645d199b4f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230511@173643.4490 dqbga503dsv7jha2qlnqehir6e Query : select top 1 fno valor from wsft039data order by fno desc
20230511@173643.4504 dqbga503dsv7jha2qlnqehir6e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230511@173643.4517 dqbga503dsv7jha2qlnqehir6e Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230511@173643.4535 dqbga503dsv7jha2qlnqehir6e Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ,encomenda ) values ('aut645d119922645d199b4f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',198,101597,0,'2023-05-11',39,'euro',0,0,2023 ,'20230511','1806',?,?,?,?,?)
20230511@173643.4860 dqbga503dsv7jha2qlnqehir6e Query : use flama_phc
20230511@173643.4864 dqbga503dsv7jha2qlnqehir6e Query : select st.usalote valor from st where st.ref = '324.1221.00.1'
20230511@173643.4877 dqbga503dsv7jha2qlnqehir6e Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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.1221.00.1'
20230511@173643.5025 dqbga503dsv7jha2qlnqehir6e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173643.5038 dqbga503dsv7jha2qlnqehir6e Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230511@173643.5061 dqbga503dsv7jha2qlnqehir6e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173643.5074 dqbga503dsv7jha2qlnqehir6e Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230511@173643.5078 dqbga503dsv7jha2qlnqehir6e Query : select sestamp valor from se where ref ='324.1221.00.1' and lote = 'r2101229200a'
20230511@173643.5089 dqbga503dsv7jha2qlnqehir6e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@173643.5099 dqbga503dsv7jha2qlnqehir6e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173643.5111 dqbga503dsv7jha2qlnqehir6e Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230511@173643.5135 dqbga503dsv7jha2qlnqehir6e Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645d106745645d199b7c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut645d119922645d199b4f' ,76.700000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230511@173643.5417 dqbga503dsv7jha2qlnqehir6e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173643.6386 dqbga503dsv7jha2qlnqehir6e Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230511@173643.6391 dqbga503dsv7jha2qlnqehir6e Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645d106745645d199b7c','aut645d119922645d199b4f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230511@173643.6396 dqbga503dsv7jha2qlnqehir6e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173643.6409 dqbga503dsv7jha2qlnqehir6e Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230511@173643.6432 dqbga503dsv7jha2qlnqehir6e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173643.6444 dqbga503dsv7jha2qlnqehir6e Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230511@173643.6447 dqbga503dsv7jha2qlnqehir6e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@173643.6456 dqbga503dsv7jha2qlnqehir6e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173643.6473 dqbga503dsv7jha2qlnqehir6e Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230511@173643.6494 dqbga503dsv7jha2qlnqehir6e Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645d137675645d199b9d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645d119922645d199b4f' ,0,0 ,2,23.00,20000,?,?,?)
20230511@173643.6744 dqbga503dsv7jha2qlnqehir6e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173643.6757 dqbga503dsv7jha2qlnqehir6e Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230511@173643.6761 dqbga503dsv7jha2qlnqehir6e Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645d137675645d199b9d','aut645d119922645d199b4f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230511@173643.6766 dqbga503dsv7jha2qlnqehir6e Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645d119922645d199b4f','119230000157','wait',39,'ari17112337378,753000005')
20230511@173643.6802 dqbga503dsv7jha2qlnqehir6e Query : use flama_phc
20230511@173643.6805 dqbga503dsv7jha2qlnqehir6e Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230511@173643.6818 dqbga503dsv7jha2qlnqehir6e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='307';
20230511@173643.6831 dqbga503dsv7jha2qlnqehir6e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='307';
20230511@173643.6843 dqbga503dsv7jha2qlnqehir6e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='307';
20230511@173643.6854 dqbga503dsv7jha2qlnqehir6e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='307';
20230511@173643.7180 0bibe4mi6m17f5defp186q83u2 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230511@173643.7194 0bibe4mi6m17f5defp186q83u2 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230511@173643.7210 0bibe4mi6m17f5defp186q83u2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='308';
20230511@173643.7251 0bibe4mi6m17f5defp186q83u2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='308';
20230511@173643.7263 0bibe4mi6m17f5defp186q83u2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='308';
20230511@173643.7275 0bibe4mi6m17f5defp186q83u2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='308';
20230511@173643.7286 0bibe4mi6m17f5defp186q83u2 Query : use flama_phc
20230511@173643.7289 0bibe4mi6m17f5defp186q83u2 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230511@173643.7304 0bibe4mi6m17f5defp186q83u2 Query : use flama_phc
20230511@173643.7307 0bibe4mi6m17f5defp186q83u2 Query : select no, estab,szadrsdesc from szadrs where u_coddest=1499
20230511@173643.7381 0bibe4mi6m17f5defp186q83u2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1690.00.1'
20230511@173643.7535 0bibe4mi6m17f5defp186q83u2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000158 and bi.ref ='324.1690.00.1' and bi.lordem =20000
20230511@173643.7879 0bibe4mi6m17f5defp186q83u2 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051154872,2880000-2 ' 
20230511@173643.8231 0bibe4mi6m17f5defp186q83u2 Query : use flama_phc
20230511@173643.8234 0bibe4mi6m17f5defp186q83u2 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230511@173643.8246 0bibe4mi6m17f5defp186q83u2 Query : use flama_phc
20230511@173643.8249 0bibe4mi6m17f5defp186q83u2 Query : select top 1 1 valor from td where td.ndoc = 39
20230511@173643.8259 0bibe4mi6m17f5defp186q83u2 Query : use flama_phc
20230511@173643.8261 0bibe4mi6m17f5defp186q83u2 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230511@173643.8271 0bibe4mi6m17f5defp186q83u2 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
20230511@173643.8290 0bibe4mi6m17f5defp186q83u2 Query : use flama_phc
20230511@173643.8293 0bibe4mi6m17f5defp186q83u2 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20230511@173643.8436 0bibe4mi6m17f5defp186q83u2 Query : use flama_phc
20230511@173643.8439 0bibe4mi6m17f5defp186q83u2 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230511@173643.8450 0bibe4mi6m17f5defp186q83u2 Query : use flama_phc
20230511@173643.8453 0bibe4mi6m17f5defp186q83u2 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230511@173643.8463 0bibe4mi6m17f5defp186q83u2 Query : use flama_phc
20230511@173643.8466 0bibe4mi6m17f5defp186q83u2 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m - ponte'
20230511@173643.8479 0bibe4mi6m17f5defp186q83u2 Query : use flama_phc
20230511@173643.8482 0bibe4mi6m17f5defp186q83u2 Query : select 1 valor from td where ndoc = 39
20230511@173643.8491 0bibe4mi6m17f5defp186q83u2 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230511@173643.8504 0bibe4mi6m17f5defp186q83u2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230511@173643.8518 0bibe4mi6m17f5defp186q83u2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230511@173643.8535 0bibe4mi6m17f5defp186q83u2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230511@173643.8548 0bibe4mi6m17f5defp186q83u2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230511@173643.8576 0bibe4mi6m17f5defp186q83u2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230511@173643.8591 0bibe4mi6m17f5defp186q83u2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230511@173643.8602 0bibe4mi6m17f5defp186q83u2 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230511@173643.8643 0bibe4mi6m17f5defp186q83u2 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230511@173643.8652 0bibe4mi6m17f5defp186q83u2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230511@173643.8664 0bibe4mi6m17f5defp186q83u2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230511@173643.8674 0bibe4mi6m17f5defp186q83u2 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645d130309645d199bd2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230511@173643.8840 0bibe4mi6m17f5defp186q83u2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230511@173643.8854 0bibe4mi6m17f5defp186q83u2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230511@173643.8882 0bibe4mi6m17f5defp186q83u2 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='evc23051136248,461000002 '
20230511@173643.8981 0bibe4mi6m17f5defp186q83u2 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='evc23051136248,461000002 '
20230511@173643.9079 0bibe4mi6m17f5defp186q83u2 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='evc23051136248,461000002 '
20230511@173643.9151 0bibe4mi6m17f5defp186q83u2 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='evc23051136248,461000002 '
20230511@173643.9222 0bibe4mi6m17f5defp186q83u2 Query : select top 1 bo.trab5 valor from bo where bo.bostamp='evc23051136248,461000002 '
20230511@173643.9308 0bibe4mi6m17f5defp186q83u2 Query : select top 1 bo.serie valor from bo where bo.bostamp='evc23051136248,461000002 '
20230511@173643.9527 0bibe4mi6m17f5defp186q83u2 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut645d130309645d199bd2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230511@173643.9793 0bibe4mi6m17f5defp186q83u2 Query : select top 1 fno valor from wsft039data order by fno desc
20230511@173643.9810 0bibe4mi6m17f5defp186q83u2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230511@173643.9824 0bibe4mi6m17f5defp186q83u2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230511@173643.9845 0bibe4mi6m17f5defp186q83u2 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ,encomenda ) values ('aut645d130309645d199bd2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',199,101621,0,'2023-05-11',39,'euro',0,0,2023 ,'20230511','1806',?,?,?,?,?)
20230511@173644.1180 0bibe4mi6m17f5defp186q83u2 Query : use flama_phc
20230511@173644.1220 0bibe4mi6m17f5defp186q83u2 Query : select st.usalote valor from st where st.ref = '324.1690.00.1'
20230511@173644.1360 0bibe4mi6m17f5defp186q83u2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1690.00.1'
20230511@173644.3030 0bibe4mi6m17f5defp186q83u2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173644.3190 0bibe4mi6m17f5defp186q83u2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230511@173644.3480 0bibe4mi6m17f5defp186q83u2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173644.3620 0bibe4mi6m17f5defp186q83u2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230511@173644.3670 0bibe4mi6m17f5defp186q83u2 Query : select sestamp valor from se where ref ='324.1690.00.1' and lote = 'r2100755200a'
20230511@173644.3850 0bibe4mi6m17f5defp186q83u2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@173644.3950 0bibe4mi6m17f5defp186q83u2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173644.4070 0bibe4mi6m17f5defp186q83u2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230511@173644.4340 0bibe4mi6m17f5defp186q83u2 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645d172536645d199c09',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut645d130309645d199bd2' ,140.800000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230511@173644.7050 0bibe4mi6m17f5defp186q83u2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173644.7200 0bibe4mi6m17f5defp186q83u2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230511@173644.7250 0bibe4mi6m17f5defp186q83u2 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645d172536645d199c09','aut645d130309645d199bd2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230511@173644.7300 0bibe4mi6m17f5defp186q83u2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173644.7440 0bibe4mi6m17f5defp186q83u2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230511@173644.7720 0bibe4mi6m17f5defp186q83u2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173644.7840 0bibe4mi6m17f5defp186q83u2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230511@173644.7880 0bibe4mi6m17f5defp186q83u2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@173644.7980 0bibe4mi6m17f5defp186q83u2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173644.8100 0bibe4mi6m17f5defp186q83u2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230511@173644.8360 0bibe4mi6m17f5defp186q83u2 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645d152680645d199c13',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645d130309645d199bd2' ,0,0 ,2,23.00,20000,?,?,?)
20230511@173644.1085 0bibe4mi6m17f5defp186q83u2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173644.1100 0bibe4mi6m17f5defp186q83u2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230511@173644.1105 0bibe4mi6m17f5defp186q83u2 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645d152680645d199c13','aut645d130309645d199bd2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230511@173644.1109 0bibe4mi6m17f5defp186q83u2 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645d130309645d199bd2','119230000158','wait',39,'ari17112337378,753000005')
20230511@173644.1125 0bibe4mi6m17f5defp186q83u2 Query : use flama_phc
20230511@173644.1129 0bibe4mi6m17f5defp186q83u2 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230511@173644.1141 0bibe4mi6m17f5defp186q83u2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='308';
20230511@173644.1156 0bibe4mi6m17f5defp186q83u2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='308';
20230511@173644.1167 0bibe4mi6m17f5defp186q83u2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='308';
20230511@173644.1178 0bibe4mi6m17f5defp186q83u2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='308';
20230511@173644.1499 ufr7886hs2838fijj8rdao4di5 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230511@173644.1511 ufr7886hs2838fijj8rdao4di5 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230511@173644.1526 ufr7886hs2838fijj8rdao4di5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='309';
20230511@173644.1564 ufr7886hs2838fijj8rdao4di5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='309';
20230511@173644.1576 ufr7886hs2838fijj8rdao4di5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='309';
20230511@173644.1588 ufr7886hs2838fijj8rdao4di5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='309';
20230511@173644.1599 ufr7886hs2838fijj8rdao4di5 Query : use flama_phc
20230511@173644.1602 ufr7886hs2838fijj8rdao4di5 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230511@173644.1614 ufr7886hs2838fijj8rdao4di5 Query : use flama_phc
20230511@173644.1639 ufr7886hs2838fijj8rdao4di5 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4500
20230511@173644.1719 ufr7886hs2838fijj8rdao4di5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1642.00.1'
20230511@173644.1874 ufr7886hs2838fijj8rdao4di5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000161 and bi.ref ='324.1642.00.1' and bi.lordem =20000
20230511@173644.3092 ufr7886hs2838fijj8rdao4di5 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051155031,1850000-2 ' 
20230511@173644.3466 ufr7886hs2838fijj8rdao4di5 Query : use flama_phc
20230511@173644.3470 ufr7886hs2838fijj8rdao4di5 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230511@173644.3484 ufr7886hs2838fijj8rdao4di5 Query : use flama_phc
20230511@173644.3487 ufr7886hs2838fijj8rdao4di5 Query : select top 1 1 valor from td where td.ndoc = 39
20230511@173644.3497 ufr7886hs2838fijj8rdao4di5 Query : use flama_phc
20230511@173644.3500 ufr7886hs2838fijj8rdao4di5 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230511@173644.3511 ufr7886hs2838fijj8rdao4di5 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
20230511@173644.3526 ufr7886hs2838fijj8rdao4di5 Query : use flama_phc
20230511@173644.3529 ufr7886hs2838fijj8rdao4di5 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20230511@173644.3539 ufr7886hs2838fijj8rdao4di5 Query : use flama_phc
20230511@173644.3542 ufr7886hs2838fijj8rdao4di5 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230511@173644.3555 ufr7886hs2838fijj8rdao4di5 Query : use flama_phc
20230511@173644.3558 ufr7886hs2838fijj8rdao4di5 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230511@173644.3604 ufr7886hs2838fijj8rdao4di5 Query : use flama_phc
20230511@173644.3607 ufr7886hs2838fijj8rdao4di5 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - portimão'
20230511@173644.3620 ufr7886hs2838fijj8rdao4di5 Query : use flama_phc
20230511@173644.3623 ufr7886hs2838fijj8rdao4di5 Query : select 1 valor from td where ndoc = 39
20230511@173644.3634 ufr7886hs2838fijj8rdao4di5 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230511@173644.3645 ufr7886hs2838fijj8rdao4di5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230511@173644.3658 ufr7886hs2838fijj8rdao4di5 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230511@173644.3675 ufr7886hs2838fijj8rdao4di5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230511@173644.3688 ufr7886hs2838fijj8rdao4di5 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230511@173644.3716 ufr7886hs2838fijj8rdao4di5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230511@173644.3730 ufr7886hs2838fijj8rdao4di5 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230511@173644.3741 ufr7886hs2838fijj8rdao4di5 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230511@173644.3785 ufr7886hs2838fijj8rdao4di5 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230511@173644.3797 ufr7886hs2838fijj8rdao4di5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230511@173644.3809 ufr7886hs2838fijj8rdao4di5 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230511@173644.3819 ufr7886hs2838fijj8rdao4di5 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645d180055645d199c5b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230511@173644.3973 ufr7886hs2838fijj8rdao4di5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230511@173644.3988 ufr7886hs2838fijj8rdao4di5 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230511@173644.4016 ufr7886hs2838fijj8rdao4di5 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='evc23051134782,026000001 '
20230511@173644.4114 ufr7886hs2838fijj8rdao4di5 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='evc23051134782,026000001 '
20230511@173644.4284 ufr7886hs2838fijj8rdao4di5 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='evc23051134782,026000001 '
20230511@173644.4377 ufr7886hs2838fijj8rdao4di5 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='evc23051134782,026000001 '
20230511@173644.4451 ufr7886hs2838fijj8rdao4di5 Query : select top 1 bo.trab5 valor from bo where bo.bostamp='evc23051134782,026000001 '
20230511@173644.4533 ufr7886hs2838fijj8rdao4di5 Query : select top 1 bo.serie valor from bo where bo.bostamp='evc23051134782,026000001 '
20230511@173644.4601 ufr7886hs2838fijj8rdao4di5 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut645d180055645d199c5b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230511@173644.4853 ufr7886hs2838fijj8rdao4di5 Query : select top 1 fno valor from wsft039data order by fno desc
20230511@173644.4866 ufr7886hs2838fijj8rdao4di5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230511@173644.4880 ufr7886hs2838fijj8rdao4di5 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230511@173644.4898 ufr7886hs2838fijj8rdao4di5 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ,encomenda ) values ('aut645d180055645d199c5b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',200,101621,0,'2023-05-11',39,'euro',0,0,2023 ,'20230511','1806',?,?,?,?,?)
20230511@173644.5151 ufr7886hs2838fijj8rdao4di5 Query : use flama_phc
20230511@173644.5155 ufr7886hs2838fijj8rdao4di5 Query : select st.usalote valor from st where st.ref = '324.1642.00.1'
20230511@173644.5167 ufr7886hs2838fijj8rdao4di5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1642.00.1'
20230511@173644.5308 ufr7886hs2838fijj8rdao4di5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173644.5322 ufr7886hs2838fijj8rdao4di5 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230511@173644.5345 ufr7886hs2838fijj8rdao4di5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173644.5379 ufr7886hs2838fijj8rdao4di5 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230511@173644.5383 ufr7886hs2838fijj8rdao4di5 Query : select sestamp valor from se where ref ='324.1642.00.1' and lote = 'r2100530200a'
20230511@173644.5402 ufr7886hs2838fijj8rdao4di5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@173644.5413 ufr7886hs2838fijj8rdao4di5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173644.5427 ufr7886hs2838fijj8rdao4di5 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230511@173644.5450 ufr7886hs2838fijj8rdao4di5 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645d103842645d199c84',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut645d180055645d199c5b' ,89.600000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230511@173644.5691 ufr7886hs2838fijj8rdao4di5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173644.5706 ufr7886hs2838fijj8rdao4di5 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230511@173644.5711 ufr7886hs2838fijj8rdao4di5 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645d103842645d199c84','aut645d180055645d199c5b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230511@173644.5715 ufr7886hs2838fijj8rdao4di5 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645d180055645d199c5b','119230000161','wait',39,'ari17112337378,753000005')
20230511@173644.5733 ufr7886hs2838fijj8rdao4di5 Query : use flama_phc
20230511@173644.5736 ufr7886hs2838fijj8rdao4di5 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230511@173644.5749 ufr7886hs2838fijj8rdao4di5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='309';
20230511@173644.5762 ufr7886hs2838fijj8rdao4di5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='309';
20230511@173644.5775 ufr7886hs2838fijj8rdao4di5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='309';
20230511@173644.5786 ufr7886hs2838fijj8rdao4di5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='309';
20230511@173644.6133 9ca3fqmmjimnirunt4mn2kbr03 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230511@173644.6147 9ca3fqmmjimnirunt4mn2kbr03 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230511@173644.6161 9ca3fqmmjimnirunt4mn2kbr03 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='310';
20230511@173644.6202 9ca3fqmmjimnirunt4mn2kbr03 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='310';
20230511@173644.6214 9ca3fqmmjimnirunt4mn2kbr03 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='310';
20230511@173644.6225 9ca3fqmmjimnirunt4mn2kbr03 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='310';
20230511@173644.6237 9ca3fqmmjimnirunt4mn2kbr03 Query : use flama_phc
20230511@173644.6240 9ca3fqmmjimnirunt4mn2kbr03 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230511@173644.6252 9ca3fqmmjimnirunt4mn2kbr03 Query : use flama_phc
20230511@173644.6254 9ca3fqmmjimnirunt4mn2kbr03 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2435
20230511@173644.6327 9ca3fqmmjimnirunt4mn2kbr03 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'
20230511@173644.6472 9ca3fqmmjimnirunt4mn2kbr03 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000162 and bi.ref ='324.1256.00.1' and bi.lordem =20000
20230511@173644.6849 9ca3fqmmjimnirunt4mn2kbr03 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051155033,0680000-2 ' 
20230511@173644.7184 9ca3fqmmjimnirunt4mn2kbr03 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'
20230511@173644.7194 9ca3fqmmjimnirunt4mn2kbr03 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000162 and bi.ref ='324.1256.00.1' and bi.lordem =20000
20230511@173644.7206 9ca3fqmmjimnirunt4mn2kbr03 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051155033,0680000-2 ' 
20230511@173644.7215 9ca3fqmmjimnirunt4mn2kbr03 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.944.00.01'
20230511@173644.7365 9ca3fqmmjimnirunt4mn2kbr03 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000162 and bi.ref ='324.944.00.01' and bi.lordem =30000
20230511@173644.7711 9ca3fqmmjimnirunt4mn2kbr03 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051155033,0920000-3 ' 
20230511@173644.8053 9ca3fqmmjimnirunt4mn2kbr03 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'
20230511@173644.8204 9ca3fqmmjimnirunt4mn2kbr03 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000162 and bi.ref ='324.1705.00.1' and bi.lordem =40000
20230511@173644.8523 9ca3fqmmjimnirunt4mn2kbr03 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051155033,1090000-4 ' 
20230511@173644.9812 9ca3fqmmjimnirunt4mn2kbr03 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'
20230511@173645.0000 9ca3fqmmjimnirunt4mn2kbr03 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000162 and bi.ref ='324.1824.00.1' and bi.lordem =50000
20230511@173645.3350 9ca3fqmmjimnirunt4mn2kbr03 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051155033,1350000-5 ' 
20230511@173645.6760 9ca3fqmmjimnirunt4mn2kbr03 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1884.00.1'
20230511@173645.8830 9ca3fqmmjimnirunt4mn2kbr03 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000162 and bi.ref ='324.1884.00.1' and bi.lordem =60000
20230511@173645.1545 9ca3fqmmjimnirunt4mn2kbr03 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051155033,1590000-6 ' 
20230511@173645.1883 9ca3fqmmjimnirunt4mn2kbr03 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9205.00.1'
20230511@173645.2189 9ca3fqmmjimnirunt4mn2kbr03 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000162 and bi.ref ='328.9205.00.1' and bi.lordem =70000
20230511@173645.2615 9ca3fqmmjimnirunt4mn2kbr03 Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051155033,1940000-7 ' 
20230511@173645.2947 9ca3fqmmjimnirunt4mn2kbr03 Query : use flama_phc
20230511@173645.2951 9ca3fqmmjimnirunt4mn2kbr03 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230511@173645.2963 9ca3fqmmjimnirunt4mn2kbr03 Query : use flama_phc
20230511@173645.2966 9ca3fqmmjimnirunt4mn2kbr03 Query : select top 1 1 valor from td where td.ndoc = 39
20230511@173645.2978 9ca3fqmmjimnirunt4mn2kbr03 Query : use flama_phc
20230511@173645.2981 9ca3fqmmjimnirunt4mn2kbr03 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230511@173645.2992 9ca3fqmmjimnirunt4mn2kbr03 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
20230511@173645.3006 9ca3fqmmjimnirunt4mn2kbr03 Query : use flama_phc
20230511@173645.3009 9ca3fqmmjimnirunt4mn2kbr03 Query : select top 1 ~inactivo valor from cl where no = '200500' and estab = 0 order by inactivo desc
20230511@173645.3111 9ca3fqmmjimnirunt4mn2kbr03 Query : use flama_phc
20230511@173645.3114 9ca3fqmmjimnirunt4mn2kbr03 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230511@173645.3125 9ca3fqmmjimnirunt4mn2kbr03 Query : use flama_phc
20230511@173645.3128 9ca3fqmmjimnirunt4mn2kbr03 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230511@173645.3138 9ca3fqmmjimnirunt4mn2kbr03 Query : use flama_phc
20230511@173645.3141 9ca3fqmmjimnirunt4mn2kbr03 Query : select szadrsstamp valor from szadrs where szadrsdesc='nufer electrodomesticos sl'
20230511@173645.3154 9ca3fqmmjimnirunt4mn2kbr03 Query : use flama_phc
20230511@173645.3157 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from td where ndoc = 39
20230511@173645.3167 9ca3fqmmjimnirunt4mn2kbr03 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230511@173645.3180 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230511@173645.3195 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230511@173645.3212 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230511@173645.3228 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230511@173645.3257 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230511@173645.3271 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230511@173645.3283 9ca3fqmmjimnirunt4mn2kbr03 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230511@173645.3324 9ca3fqmmjimnirunt4mn2kbr03 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230511@173645.3334 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230511@173645.3346 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230511@173645.3357 9ca3fqmmjimnirunt4mn2kbr03 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645d189306645d199d50' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230511@173645.3511 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230511@173645.3527 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230511@173645.3558 9ca3fqmmjimnirunt4mn2kbr03 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='evc23051054143,548000001 '
20230511@173645.3656 9ca3fqmmjimnirunt4mn2kbr03 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='evc23051054143,548000001 '
20230511@173645.3726 9ca3fqmmjimnirunt4mn2kbr03 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='evc23051054143,548000001 '
20230511@173645.3798 9ca3fqmmjimnirunt4mn2kbr03 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='evc23051054143,548000001 '
20230511@173645.3874 9ca3fqmmjimnirunt4mn2kbr03 Query : select top 1 bo.trab5 valor from bo where bo.bostamp='evc23051054143,548000001 '
20230511@173645.4031 9ca3fqmmjimnirunt4mn2kbr03 Query : select top 1 bo.serie valor from bo where bo.bostamp='evc23051054143,548000001 '
20230511@173645.4281 9ca3fqmmjimnirunt4mn2kbr03 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut645d189306645d199d50',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230511@173645.4665 9ca3fqmmjimnirunt4mn2kbr03 Query : select top 1 fno valor from wsft039data order by fno desc
20230511@173645.4722 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230511@173645.4739 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230511@173645.4758 9ca3fqmmjimnirunt4mn2kbr03 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ,encomenda ) values ('aut645d189306645d199d50',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',201,200500,0,'2023-05-11',39,'euro',0,0,2023 ,'20230511','1806',?,?,?,?,?)
20230511@173645.5069 9ca3fqmmjimnirunt4mn2kbr03 Query : use flama_phc
20230511@173645.5075 9ca3fqmmjimnirunt4mn2kbr03 Query : select st.usalote valor from st where st.ref = '324.1256.00.1'
20230511@173645.5089 9ca3fqmmjimnirunt4mn2kbr03 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230511@173645.5244 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173645.5259 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230511@173645.5292 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173645.5308 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230511@173645.5313 9ca3fqmmjimnirunt4mn2kbr03 Query : select sestamp valor from se where ref ='324.1256.00.1' and lote = 'r2100116100a'
20230511@173645.5335 9ca3fqmmjimnirunt4mn2kbr03 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@173645.5377 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173645.5392 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230511@173645.5418 9ca3fqmmjimnirunt4mn2kbr03 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645d149570645d199d83',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut645d189306645d199d50' ,55.160000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230511@173645.5669 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173645.5696 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230511@173645.5701 9ca3fqmmjimnirunt4mn2kbr03 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645d149570645d199d83','aut645d189306645d199d50' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230511@173645.5706 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173645.5722 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230511@173645.5770 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173645.5784 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230511@173645.5788 9ca3fqmmjimnirunt4mn2kbr03 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@173645.5798 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173645.5810 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230511@173645.5835 9ca3fqmmjimnirunt4mn2kbr03 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645d160089645d199d8d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645d189306645d199d50' ,0,0 ,2,23.00,20000,?,?,?)
20230511@173645.6081 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173645.6106 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230511@173645.6111 9ca3fqmmjimnirunt4mn2kbr03 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645d160089645d199d8d','aut645d189306645d199d50' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230511@173645.6115 9ca3fqmmjimnirunt4mn2kbr03 Query : use flama_phc
20230511@173645.6119 9ca3fqmmjimnirunt4mn2kbr03 Query : select st.usalote valor from st where st.ref = '324.1256.00.1'
20230511@173645.6132 9ca3fqmmjimnirunt4mn2kbr03 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230511@173645.6144 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173645.6158 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230511@173645.6184 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173645.6197 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230511@173645.6201 9ca3fqmmjimnirunt4mn2kbr03 Query : select sestamp valor from se where ref ='324.1256.00.1' and lote = 'r210135200a'
20230511@173645.6213 9ca3fqmmjimnirunt4mn2kbr03 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@173645.6224 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173645.6238 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230511@173645.6263 9ca3fqmmjimnirunt4mn2kbr03 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645d135307645d199d97',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut645d189306645d199d50' ,55.160000,0 ,2,23.00,40000,?,?,?,?,?,?,?,?,?)
20230511@173645.6563 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173645.7539 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230511@173645.7545 9ca3fqmmjimnirunt4mn2kbr03 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645d135307645d199d97','aut645d189306645d199d50' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230511@173645.7552 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173645.7603 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230511@173645.7826 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173645.7843 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230511@173645.7847 9ca3fqmmjimnirunt4mn2kbr03 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@173645.7857 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173645.7898 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230511@173645.7922 9ca3fqmmjimnirunt4mn2kbr03 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645d142830645d199dbf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645d189306645d199d50' ,0,0 ,2,23.00,50000,?,?,?)
20230511@173645.8175 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173645.8199 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230511@173645.8204 9ca3fqmmjimnirunt4mn2kbr03 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645d142830645d199dbf','aut645d189306645d199d50' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230511@173645.8208 9ca3fqmmjimnirunt4mn2kbr03 Query : use flama_phc
20230511@173645.8211 9ca3fqmmjimnirunt4mn2kbr03 Query : select st.usalote valor from st where st.ref = '324.944.00.01'
20230511@173645.8226 9ca3fqmmjimnirunt4mn2kbr03 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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.944.00.01'
20230511@173645.8367 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173645.8381 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230511@173645.8434 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173645.8447 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230511@173645.8451 9ca3fqmmjimnirunt4mn2kbr03 Query : select sestamp valor from se where ref ='324.944.00.01' and lote = 'r21089300a'
20230511@173645.8462 9ca3fqmmjimnirunt4mn2kbr03 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@173645.8471 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173645.8483 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230511@173645.8510 9ca3fqmmjimnirunt4mn2kbr03 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645d134310645d199dce',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut645d189306645d199d50' ,12.630000,0 ,2,23.00,70000,?,?,?,?,?,?,?,?,?)
20230511@173645.8774 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173645.8790 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230511@173645.8794 9ca3fqmmjimnirunt4mn2kbr03 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645d134310645d199dce','aut645d189306645d199d50' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230511@173645.8800 9ca3fqmmjimnirunt4mn2kbr03 Query : use flama_phc
20230511@173645.8804 9ca3fqmmjimnirunt4mn2kbr03 Query : select st.usalote valor from st where st.ref = '324.1705.00.1'
20230511@173645.8817 9ca3fqmmjimnirunt4mn2kbr03 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230511@173645.8962 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173645.8976 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230511@173645.9000 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173645.9012 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230511@173645.9017 9ca3fqmmjimnirunt4mn2kbr03 Query : select sestamp valor from se where ref ='324.1705.00.1' and lote = 'r2200112200a'
20230511@173645.9028 9ca3fqmmjimnirunt4mn2kbr03 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@173645.9037 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173645.9049 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230511@173645.9072 9ca3fqmmjimnirunt4mn2kbr03 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645d158297645d199ddc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut645d189306645d199d50' ,15.370000,0 ,2,23.00,80000,?,?,?,?,?,?,?,?,?)
20230511@173645.9322 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173645.9339 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230511@173645.9344 9ca3fqmmjimnirunt4mn2kbr03 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645d158297645d199ddc','aut645d189306645d199d50' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230511@173645.9349 9ca3fqmmjimnirunt4mn2kbr03 Query : use flama_phc
20230511@173645.9353 9ca3fqmmjimnirunt4mn2kbr03 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20230511@173645.9364 9ca3fqmmjimnirunt4mn2kbr03 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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'
20230511@173645.9574 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173645.9589 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230511@173645.9612 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173645.9626 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230511@173645.9630 9ca3fqmmjimnirunt4mn2kbr03 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2200671200a'
20230511@173645.9641 9ca3fqmmjimnirunt4mn2kbr03 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@173645.9651 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173645.9663 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230511@173645.9720 9ca3fqmmjimnirunt4mn2kbr03 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645d166837645d199deb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut645d189306645d199d50' ,35.790000,0 ,2,23.00,90000,?,?,?,?,?,?,?,?,?)
20230511@173646.2300 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173646.3800 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230511@173646.4200 9ca3fqmmjimnirunt4mn2kbr03 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645d166837645d199deb','aut645d189306645d199d50' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230511@173646.4700 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173646.6200 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230511@173646.8600 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173646.9800 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230511@173646.1020 9ca3fqmmjimnirunt4mn2kbr03 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@173646.1120 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173646.1240 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230511@173646.1460 9ca3fqmmjimnirunt4mn2kbr03 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645d198248645d199e02',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645d189306645d199d50' ,0,0 ,2,23.00,100000,?,?,?)
20230511@173646.3970 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173646.4110 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230511@173646.4160 9ca3fqmmjimnirunt4mn2kbr03 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645d198248645d199e02','aut645d189306645d199d50' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230511@173646.4200 9ca3fqmmjimnirunt4mn2kbr03 Query : use flama_phc
20230511@173646.4240 9ca3fqmmjimnirunt4mn2kbr03 Query : select st.usalote valor from st where st.ref = '324.1884.00.1'
20230511@173646.4360 9ca3fqmmjimnirunt4mn2kbr03 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.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.1884.00.1'
20230511@173646.5800 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173646.5930 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230511@173646.6160 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173646.6290 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230511@173646.6350 9ca3fqmmjimnirunt4mn2kbr03 Query : select sestamp valor from se where ref ='324.1884.00.1' and lote = 'r2101190100a'
20230511@173646.6460 9ca3fqmmjimnirunt4mn2kbr03 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@173646.6560 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173646.6980 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230511@173646.7230 9ca3fqmmjimnirunt4mn2kbr03 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645d152843645d199e10',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut645d189306645d199d50' ,39.260000,0 ,2,23.00,120000,?,?,?,?,?,?,?,?,?)
20230511@173646.9670 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173646.9930 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230511@173646.9970 9ca3fqmmjimnirunt4mn2kbr03 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645d152843645d199e10','aut645d189306645d199d50' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230511@173646.1002 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173646.1016 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230511@173646.1041 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173646.1055 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230511@173646.1059 9ca3fqmmjimnirunt4mn2kbr03 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@173646.1068 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173646.1081 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230511@173646.1103 9ca3fqmmjimnirunt4mn2kbr03 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645d136420645d199e1a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645d189306645d199d50' ,0,0 ,2,23.00,130000,?,?,?)
20230511@173646.1353 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173646.1368 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230511@173646.1373 9ca3fqmmjimnirunt4mn2kbr03 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645d136420645d199e1a','aut645d189306645d199d50' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230511@173646.1378 9ca3fqmmjimnirunt4mn2kbr03 Query : use flama_phc
20230511@173646.1381 9ca3fqmmjimnirunt4mn2kbr03 Query : select st.usalote valor from st where st.ref = '328.9205.00.1'
20230511@173646.1391 9ca3fqmmjimnirunt4mn2kbr03 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '328.9205.00.1'
20230511@173646.1402 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173646.1432 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230511@173646.1458 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173646.1470 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230511@173646.1476 9ca3fqmmjimnirunt4mn2kbr03 Query : select sestamp valor from se where ref ='328.9205.00.1' and lote = 'r2101191100a'
20230511@173646.1486 9ca3fqmmjimnirunt4mn2kbr03 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@173646.1498 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173646.1511 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230511@173646.1539 9ca3fqmmjimnirunt4mn2kbr03 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645d133050645d199e24',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut645d189306645d199d50' ,75.890000,0 ,2,23.00,150000,?,?,?,?,?,?,?,?,?)
20230511@173646.1782 9ca3fqmmjimnirunt4mn2kbr03 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173646.1797 9ca3fqmmjimnirunt4mn2kbr03 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230511@173646.1801 9ca3fqmmjimnirunt4mn2kbr03 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645d133050645d199e24','aut645d189306645d199d50' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230511@173646.1805 9ca3fqmmjimnirunt4mn2kbr03 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645d189306645d199d50','119230000162','wait',39,'ari17112337378,753000005')
20230511@173646.1822 9ca3fqmmjimnirunt4mn2kbr03 Query : use flama_phc
20230511@173646.1851 9ca3fqmmjimnirunt4mn2kbr03 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230511@173646.1865 9ca3fqmmjimnirunt4mn2kbr03 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='310';
20230511@173646.1878 9ca3fqmmjimnirunt4mn2kbr03 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='310';
20230511@173646.1889 9ca3fqmmjimnirunt4mn2kbr03 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='310';
20230511@173646.1900 9ca3fqmmjimnirunt4mn2kbr03 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='310';
20230511@173646.2244 5osn2g30bm17amq166v9dnnc9i Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230511@173646.2258 5osn2g30bm17amq166v9dnnc9i Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230511@173646.2274 5osn2g30bm17amq166v9dnnc9i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='311';
20230511@173646.2316 5osn2g30bm17amq166v9dnnc9i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='311';
20230511@173646.2328 5osn2g30bm17amq166v9dnnc9i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='311';
20230511@173646.2339 5osn2g30bm17amq166v9dnnc9i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='311';
20230511@173646.2350 5osn2g30bm17amq166v9dnnc9i Query : use flama_phc
20230511@173646.2353 5osn2g30bm17amq166v9dnnc9i Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230511@173646.2365 5osn2g30bm17amq166v9dnnc9i Query : use flama_phc
20230511@173646.2395 5osn2g30bm17amq166v9dnnc9i Query : select no, estab,szadrsdesc from szadrs where u_coddest=4500
20230511@173646.2429 5osn2g30bm17amq166v9dnnc9i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1690.00.1'
20230511@173646.2440 5osn2g30bm17amq166v9dnnc9i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000163 and bi.ref ='324.1690.00.1' and bi.lordem =20000
20230511@173646.2794 5osn2g30bm17amq166v9dnnc9i Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051155067,4780000-2 ' 
20230511@173646.3164 5osn2g30bm17amq166v9dnnc9i Query : use flama_phc
20230511@173646.3168 5osn2g30bm17amq166v9dnnc9i Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230511@173646.3182 5osn2g30bm17amq166v9dnnc9i Query : use flama_phc
20230511@173646.3185 5osn2g30bm17amq166v9dnnc9i Query : select top 1 1 valor from td where td.ndoc = 39
20230511@173646.3195 5osn2g30bm17amq166v9dnnc9i Query : use flama_phc
20230511@173646.3198 5osn2g30bm17amq166v9dnnc9i Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230511@173646.3209 5osn2g30bm17amq166v9dnnc9i 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
20230511@173646.3224 5osn2g30bm17amq166v9dnnc9i Query : use flama_phc
20230511@173646.3227 5osn2g30bm17amq166v9dnnc9i Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20230511@173646.3237 5osn2g30bm17amq166v9dnnc9i Query : use flama_phc
20230511@173646.3240 5osn2g30bm17amq166v9dnnc9i Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230511@173646.3251 5osn2g30bm17amq166v9dnnc9i Query : use flama_phc
20230511@173646.3254 5osn2g30bm17amq166v9dnnc9i Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230511@173646.3264 5osn2g30bm17amq166v9dnnc9i Query : use flama_phc
20230511@173646.3267 5osn2g30bm17amq166v9dnnc9i Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - portimão'
20230511@173646.3279 5osn2g30bm17amq166v9dnnc9i Query : use flama_phc
20230511@173646.3282 5osn2g30bm17amq166v9dnnc9i Query : select 1 valor from td where ndoc = 39
20230511@173646.3291 5osn2g30bm17amq166v9dnnc9i Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230511@173646.3302 5osn2g30bm17amq166v9dnnc9i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230511@173646.3315 5osn2g30bm17amq166v9dnnc9i Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230511@173646.3332 5osn2g30bm17amq166v9dnnc9i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230511@173646.3345 5osn2g30bm17amq166v9dnnc9i Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230511@173646.3372 5osn2g30bm17amq166v9dnnc9i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230511@173646.3387 5osn2g30bm17amq166v9dnnc9i Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230511@173646.3423 5osn2g30bm17amq166v9dnnc9i Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230511@173646.3464 5osn2g30bm17amq166v9dnnc9i Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230511@173646.3474 5osn2g30bm17amq166v9dnnc9i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230511@173646.3487 5osn2g30bm17amq166v9dnnc9i Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230511@173646.3496 5osn2g30bm17amq166v9dnnc9i Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645d178364645d199e53' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230511@173646.3660 5osn2g30bm17amq166v9dnnc9i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230511@173646.3687 5osn2g30bm17amq166v9dnnc9i Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230511@173646.3715 5osn2g30bm17amq166v9dnnc9i Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='evc23051136545,981000002 '
20230511@173646.3815 5osn2g30bm17amq166v9dnnc9i Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='evc23051136545,981000002 '
20230511@173646.3925 5osn2g30bm17amq166v9dnnc9i Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='evc23051136545,981000002 '
20230511@173646.3999 5osn2g30bm17amq166v9dnnc9i Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='evc23051136545,981000002 '
20230511@173646.4069 5osn2g30bm17amq166v9dnnc9i Query : select top 1 bo.trab5 valor from bo where bo.bostamp='evc23051136545,981000002 '
20230511@173646.4151 5osn2g30bm17amq166v9dnnc9i Query : select top 1 bo.serie valor from bo where bo.bostamp='evc23051136545,981000002 '
20230511@173646.4227 5osn2g30bm17amq166v9dnnc9i Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut645d178364645d199e53',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230511@173646.4986 5osn2g30bm17amq166v9dnnc9i Query : select top 1 fno valor from wsft039data order by fno desc
20230511@173646.5001 5osn2g30bm17amq166v9dnnc9i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230511@173646.5017 5osn2g30bm17amq166v9dnnc9i Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230511@173646.5037 5osn2g30bm17amq166v9dnnc9i Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ,encomenda ) values ('aut645d178364645d199e53',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',202,101621,0,'2023-05-11',39,'euro',0,0,2023 ,'20230511','1806',?,?,?,?,?)
20230511@173646.5322 5osn2g30bm17amq166v9dnnc9i Query : use flama_phc
20230511@173646.5327 5osn2g30bm17amq166v9dnnc9i Query : select st.usalote valor from st where st.ref = '324.1690.00.1'
20230511@173646.5339 5osn2g30bm17amq166v9dnnc9i Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1690.00.1'
20230511@173646.5350 5osn2g30bm17amq166v9dnnc9i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173646.5364 5osn2g30bm17amq166v9dnnc9i Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230511@173646.5391 5osn2g30bm17amq166v9dnnc9i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173646.5405 5osn2g30bm17amq166v9dnnc9i Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230511@173646.5409 5osn2g30bm17amq166v9dnnc9i Query : select sestamp valor from se where ref ='324.1690.00.1' and lote = 'r2100755200a'
20230511@173646.5419 5osn2g30bm17amq166v9dnnc9i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@173646.5443 5osn2g30bm17amq166v9dnnc9i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173646.5455 5osn2g30bm17amq166v9dnnc9i Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230511@173646.5483 5osn2g30bm17amq166v9dnnc9i Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645d168214645d199e84',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut645d178364645d199e53' ,140.800000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230511@173646.5745 5osn2g30bm17amq166v9dnnc9i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173646.5760 5osn2g30bm17amq166v9dnnc9i Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230511@173646.5764 5osn2g30bm17amq166v9dnnc9i Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645d168214645d199e84','aut645d178364645d199e53' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230511@173646.5769 5osn2g30bm17amq166v9dnnc9i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173646.5783 5osn2g30bm17amq166v9dnnc9i Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230511@173646.5807 5osn2g30bm17amq166v9dnnc9i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173646.5820 5osn2g30bm17amq166v9dnnc9i Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230511@173646.5824 5osn2g30bm17amq166v9dnnc9i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@173646.5833 5osn2g30bm17amq166v9dnnc9i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173646.5845 5osn2g30bm17amq166v9dnnc9i Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230511@173646.5866 5osn2g30bm17amq166v9dnnc9i Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645d142052645d199e8e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645d178364645d199e53' ,0,0 ,2,23.00,20000,?,?,?)
20230511@173646.6150 5osn2g30bm17amq166v9dnnc9i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173646.6165 5osn2g30bm17amq166v9dnnc9i Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230511@173646.6169 5osn2g30bm17amq166v9dnnc9i Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645d142052645d199e8e','aut645d178364645d199e53' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230511@173646.6174 5osn2g30bm17amq166v9dnnc9i Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645d178364645d199e53','119230000163','wait',39,'ari17112337378,753000005')
20230511@173646.6190 5osn2g30bm17amq166v9dnnc9i Query : use flama_phc
20230511@173646.6193 5osn2g30bm17amq166v9dnnc9i Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230511@173646.6206 5osn2g30bm17amq166v9dnnc9i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='311';
20230511@173646.6220 5osn2g30bm17amq166v9dnnc9i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='311';
20230511@173646.6232 5osn2g30bm17amq166v9dnnc9i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='311';
20230511@173646.6243 5osn2g30bm17amq166v9dnnc9i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='311';
20230511@173646.6599 81vgq440t3iib6asmsfpqvd4lv Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230511@173646.6615 81vgq440t3iib6asmsfpqvd4lv Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230511@173646.6639 81vgq440t3iib6asmsfpqvd4lv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='312';
20230511@173646.6681 81vgq440t3iib6asmsfpqvd4lv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='312';
20230511@173646.6694 81vgq440t3iib6asmsfpqvd4lv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='312';
20230511@173646.6705 81vgq440t3iib6asmsfpqvd4lv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='312';
20230511@173646.6715 81vgq440t3iib6asmsfpqvd4lv Query : use flama_phc
20230511@173646.6718 81vgq440t3iib6asmsfpqvd4lv Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230511@173646.6731 81vgq440t3iib6asmsfpqvd4lv Query : use flama_phc
20230511@173646.6734 81vgq440t3iib6asmsfpqvd4lv Query : select no, estab,szadrsdesc from szadrs where u_coddest=1328
20230511@173646.6844 81vgq440t3iib6asmsfpqvd4lv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1642.00.1'
20230511@173646.6854 81vgq440t3iib6asmsfpqvd4lv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000164 and bi.ref ='324.1642.00.1' and bi.lordem =20000
20230511@173646.7194 81vgq440t3iib6asmsfpqvd4lv Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051155108,2910000-2 ' 
20230511@173646.7529 81vgq440t3iib6asmsfpqvd4lv Query : use flama_phc
20230511@173646.7532 81vgq440t3iib6asmsfpqvd4lv Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230511@173646.7545 81vgq440t3iib6asmsfpqvd4lv Query : use flama_phc
20230511@173646.7547 81vgq440t3iib6asmsfpqvd4lv Query : select top 1 1 valor from td where td.ndoc = 39
20230511@173646.7557 81vgq440t3iib6asmsfpqvd4lv Query : use flama_phc
20230511@173646.7560 81vgq440t3iib6asmsfpqvd4lv Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230511@173646.7573 81vgq440t3iib6asmsfpqvd4lv 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
20230511@173646.7592 81vgq440t3iib6asmsfpqvd4lv Query : use flama_phc
20230511@173646.7596 81vgq440t3iib6asmsfpqvd4lv Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20230511@173646.7631 81vgq440t3iib6asmsfpqvd4lv Query : use flama_phc
20230511@173646.7634 81vgq440t3iib6asmsfpqvd4lv Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230511@173646.7645 81vgq440t3iib6asmsfpqvd4lv Query : use flama_phc
20230511@173646.7648 81vgq440t3iib6asmsfpqvd4lv Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230511@173646.7659 81vgq440t3iib6asmsfpqvd4lv Query : use flama_phc
20230511@173646.7662 81vgq440t3iib6asmsfpqvd4lv Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - mealhada'
20230511@173646.7676 81vgq440t3iib6asmsfpqvd4lv Query : use flama_phc
20230511@173646.7679 81vgq440t3iib6asmsfpqvd4lv Query : select 1 valor from td where ndoc = 39
20230511@173646.7689 81vgq440t3iib6asmsfpqvd4lv Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230511@173646.7701 81vgq440t3iib6asmsfpqvd4lv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230511@173646.7716 81vgq440t3iib6asmsfpqvd4lv Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230511@173646.7734 81vgq440t3iib6asmsfpqvd4lv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230511@173646.7747 81vgq440t3iib6asmsfpqvd4lv Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230511@173646.7777 81vgq440t3iib6asmsfpqvd4lv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230511@173646.7791 81vgq440t3iib6asmsfpqvd4lv Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230511@173646.7801 81vgq440t3iib6asmsfpqvd4lv Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230511@173646.7842 81vgq440t3iib6asmsfpqvd4lv Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230511@173646.7852 81vgq440t3iib6asmsfpqvd4lv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230511@173646.7864 81vgq440t3iib6asmsfpqvd4lv Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230511@173646.7874 81vgq440t3iib6asmsfpqvd4lv Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645d140321645d199ebe' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230511@173646.8034 81vgq440t3iib6asmsfpqvd4lv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230511@173646.8048 81vgq440t3iib6asmsfpqvd4lv Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230511@173646.8076 81vgq440t3iib6asmsfpqvd4lv Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='evc23051135319,476000002 '
20230511@173646.8169 81vgq440t3iib6asmsfpqvd4lv Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='evc23051135319,476000002 '
20230511@173646.8257 81vgq440t3iib6asmsfpqvd4lv Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='evc23051135319,476000002 '
20230511@173646.8342 81vgq440t3iib6asmsfpqvd4lv Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='evc23051135319,476000002 '
20230511@173646.8424 81vgq440t3iib6asmsfpqvd4lv Query : select top 1 bo.trab5 valor from bo where bo.bostamp='evc23051135319,476000002 '
20230511@173646.8919 81vgq440t3iib6asmsfpqvd4lv Query : select top 1 bo.serie valor from bo where bo.bostamp='evc23051135319,476000002 '
20230511@173646.9725 81vgq440t3iib6asmsfpqvd4lv Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut645d140321645d199ebe',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230511@173646.9998 81vgq440t3iib6asmsfpqvd4lv Query : select top 1 fno valor from wsft039data order by fno desc
20230511@173647.1400 81vgq440t3iib6asmsfpqvd4lv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230511@173647.2800 81vgq440t3iib6asmsfpqvd4lv Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230511@173647.4600 81vgq440t3iib6asmsfpqvd4lv Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ,encomenda ) values ('aut645d140321645d199ebe',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',203,101621,0,'2023-05-11',39,'euro',0,0,2023 ,'20230511','1806',?,?,?,?,?)
20230511@173647.3160 81vgq440t3iib6asmsfpqvd4lv Query : use flama_phc
20230511@173647.3200 81vgq440t3iib6asmsfpqvd4lv Query : select st.usalote valor from st where st.ref = '324.1642.00.1'
20230511@173647.3330 81vgq440t3iib6asmsfpqvd4lv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1642.00.1'
20230511@173647.3460 81vgq440t3iib6asmsfpqvd4lv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173647.3610 81vgq440t3iib6asmsfpqvd4lv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230511@173647.3860 81vgq440t3iib6asmsfpqvd4lv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173647.3990 81vgq440t3iib6asmsfpqvd4lv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230511@173647.4030 81vgq440t3iib6asmsfpqvd4lv Query : select sestamp valor from se where ref ='324.1642.00.1' and lote = 'r2100530200a'
20230511@173647.4130 81vgq440t3iib6asmsfpqvd4lv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@173647.4220 81vgq440t3iib6asmsfpqvd4lv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173647.4330 81vgq440t3iib6asmsfpqvd4lv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230511@173647.4570 81vgq440t3iib6asmsfpqvd4lv Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645d141576645d199f0a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut645d140321645d199ebe' ,89.600000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230511@173647.6960 81vgq440t3iib6asmsfpqvd4lv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173647.7110 81vgq440t3iib6asmsfpqvd4lv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230511@173647.7150 81vgq440t3iib6asmsfpqvd4lv Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645d141576645d199f0a','aut645d140321645d199ebe' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230511@173647.7190 81vgq440t3iib6asmsfpqvd4lv Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut645d140321645d199ebe','119230000164','wait',39,'ari17112337378,753000005')
20230511@173647.7350 81vgq440t3iib6asmsfpqvd4lv Query : use flama_phc
20230511@173647.7380 81vgq440t3iib6asmsfpqvd4lv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20230511@173647.7480 81vgq440t3iib6asmsfpqvd4lv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='312';
20230511@173647.7610 81vgq440t3iib6asmsfpqvd4lv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='312';
20230511@173647.7720 81vgq440t3iib6asmsfpqvd4lv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='312';
20230511@173647.7830 81vgq440t3iib6asmsfpqvd4lv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='312';
20230511@173647.1463 ko4s47j1ma0neu433n5nbemqvs Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20230511@173647.1478 ko4s47j1ma0neu433n5nbemqvs Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20230511@173647.1573 ko4s47j1ma0neu433n5nbemqvs Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='313';
20230511@173647.1683 ko4s47j1ma0neu433n5nbemqvs Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='313';
20230511@173647.1822 ko4s47j1ma0neu433n5nbemqvs Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='313';
20230511@173647.1952 ko4s47j1ma0neu433n5nbemqvs Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='313';
20230511@173647.1988 ko4s47j1ma0neu433n5nbemqvs Query : use flama_phc
20230511@173647.1992 ko4s47j1ma0neu433n5nbemqvs Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20230511@173647.2005 ko4s47j1ma0neu433n5nbemqvs Query : use flama_phc
20230511@173647.2008 ko4s47j1ma0neu433n5nbemqvs Query : select no, estab,szadrsdesc from szadrs where u_coddest=1268
20230511@173647.2091 ko4s47j1ma0neu433n5nbemqvs Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1690.00.1'
20230511@173647.2103 ko4s47j1ma0neu433n5nbemqvs Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2023 and bo.obrano = 0000153 and bi.ref ='324.1690.00.1' and bi.lordem =20000
20230511@173647.2430 ko4s47j1ma0neu433n5nbemqvs Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc23051154777,5290000-2 ' 
20230511@173647.2778 ko4s47j1ma0neu433n5nbemqvs Query : use flama_phc
20230511@173647.2781 ko4s47j1ma0neu433n5nbemqvs Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20230511@173647.2794 ko4s47j1ma0neu433n5nbemqvs Query : use flama_phc
20230511@173647.2797 ko4s47j1ma0neu433n5nbemqvs Query : select top 1 1 valor from td where td.ndoc = 39
20230511@173647.2806 ko4s47j1ma0neu433n5nbemqvs Query : use flama_phc
20230511@173647.2809 ko4s47j1ma0neu433n5nbemqvs Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20230511@173647.2820 ko4s47j1ma0neu433n5nbemqvs 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
20230511@173647.2834 ko4s47j1ma0neu433n5nbemqvs Query : use flama_phc
20230511@173647.2837 ko4s47j1ma0neu433n5nbemqvs Query : select top 1 ~inactivo valor from cl where no = '101663' and estab = 0 order by inactivo desc
20230511@173647.2964 ko4s47j1ma0neu433n5nbemqvs Query : use flama_phc
20230511@173647.2968 ko4s47j1ma0neu433n5nbemqvs Query : select top 1 tipodoc,regrd from td where ndoc = 39
20230511@173647.2978 ko4s47j1ma0neu433n5nbemqvs Query : use flama_phc
20230511@173647.2981 ko4s47j1ma0neu433n5nbemqvs Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20230511@173647.2992 ko4s47j1ma0neu433n5nbemqvs Query : use flama_phc
20230511@173647.2995 ko4s47j1ma0neu433n5nbemqvs Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m. - viana do castelo'
20230511@173647.3007 ko4s47j1ma0neu433n5nbemqvs Query : use flama_phc
20230511@173647.3010 ko4s47j1ma0neu433n5nbemqvs Query : select 1 valor from td where ndoc = 39
20230511@173647.3020 ko4s47j1ma0neu433n5nbemqvs Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20230511@173647.3032 ko4s47j1ma0neu433n5nbemqvs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230511@173647.3046 ko4s47j1ma0neu433n5nbemqvs Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20230511@173647.3062 ko4s47j1ma0neu433n5nbemqvs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230511@173647.3084 ko4s47j1ma0neu433n5nbemqvs Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20230511@173647.3111 ko4s47j1ma0neu433n5nbemqvs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230511@173647.3126 ko4s47j1ma0neu433n5nbemqvs Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20230511@173647.3138 ko4s47j1ma0neu433n5nbemqvs Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230511@173647.3179 ko4s47j1ma0neu433n5nbemqvs Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2023 order by fno desc
20230511@173647.3190 ko4s47j1ma0neu433n5nbemqvs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20230511@173647.3204 ko4s47j1ma0neu433n5nbemqvs Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20230511@173647.3214 ko4s47j1ma0neu433n5nbemqvs Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut645d172931645d199f4c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20230511@173647.3455 ko4s47j1ma0neu433n5nbemqvs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20230511@173647.3469 ko4s47j1ma0neu433n5nbemqvs Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20230511@173647.3498 ko4s47j1ma0neu433n5nbemqvs Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='evc23051136291,893000002 '
20230511@173647.3597 ko4s47j1ma0neu433n5nbemqvs Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='evc23051136291,893000002 '
20230511@173647.3738 ko4s47j1ma0neu433n5nbemqvs Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='evc23051136291,893000002 '
20230511@173647.4050 ko4s47j1ma0neu433n5nbemqvs Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='evc23051136291,893000002 '
20230511@173647.4158 ko4s47j1ma0neu433n5nbemqvs Query : select top 1 bo.trab5 valor from bo where bo.bostamp='evc23051136291,893000002 '
20230511@173647.4232 ko4s47j1ma0neu433n5nbemqvs Query : select top 1 bo.serie valor from bo where bo.bostamp='evc23051136291,893000002 '
20230511@173647.4301 ko4s47j1ma0neu433n5nbemqvs Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut645d172931645d199f4c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20230511@173647.4559 ko4s47j1ma0neu433n5nbemqvs Query : select top 1 fno valor from wsft039data order by fno desc
20230511@173647.4572 ko4s47j1ma0neu433n5nbemqvs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20230511@173647.4587 ko4s47j1ma0neu433n5nbemqvs Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20230511@173647.4606 ko4s47j1ma0neu433n5nbemqvs Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ,encomenda ) values ('aut645d172931645d199f4c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',204,101663,0,'2023-05-11',39,'euro',0,0,2023 ,'20230511','1806',?,?,?,?,?)
20230511@173647.4888 ko4s47j1ma0neu433n5nbemqvs Query : use flama_phc
20230511@173647.4891 ko4s47j1ma0neu433n5nbemqvs Query : select st.usalote valor from st where st.ref = '324.1690.00.1'
20230511@173647.4903 ko4s47j1ma0neu433n5nbemqvs Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1690.00.1'
20230511@173647.4916 ko4s47j1ma0neu433n5nbemqvs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173647.4930 ko4s47j1ma0neu433n5nbemqvs Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230511@173647.4954 ko4s47j1ma0neu433n5nbemqvs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173647.4966 ko4s47j1ma0neu433n5nbemqvs Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230511@173647.4970 ko4s47j1ma0neu433n5nbemqvs Query : select sestamp valor from se where ref ='324.1690.00.1' and lote = 'r2100238200a'
20230511@173647.4981 ko4s47j1ma0neu433n5nbemqvs Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@173647.4990 ko4s47j1ma0neu433n5nbemqvs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173647.5002 ko4s47j1ma0neu433n5nbemqvs Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230511@173647.5025 ko4s47j1ma0neu433n5nbemqvs Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut645d136819645d199f79',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut645d172931645d199f4c' ,140.800000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20230511@173647.5277 ko4s47j1ma0neu433n5nbemqvs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173647.5292 ko4s47j1ma0neu433n5nbemqvs Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20230511@173647.5296 ko4s47j1ma0neu433n5nbemqvs Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut645d136819645d199f79','aut645d172931645d199f4c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20230511@173647.5302 ko4s47j1ma0neu433n5nbemqvs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173647.5314 ko4s47j1ma0neu433n5nbemqvs Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20230511@173647.5338 ko4s47j1ma0neu433n5nbemqvs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173647.5352 ko4s47j1ma0neu433n5nbemqvs Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20230511@173647.5356 ko4s47j1ma0neu433n5nbemqvs Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20230511@173647.5366 ko4s47j1ma0neu433n5nbemqvs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20230511@173647.5380 ko4s47j1ma0neu433n5nbemqvs Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20230511@173647.5405 ko4s47j1ma0neu433n5nbemqvs Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut645d149361645d199f83',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut645d172931645d199f4c' ,0,0 ,2,23.00,20000,?,?,?)
20230511@173647.5708 ko4s47j1ma0neu433n5nbemqvs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20230511@173647.5723 ko4s47j1ma0neu433n5nbemqvs Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
