20240915@163118.9619 n1mrpc5q944g73epdfv3tlonho Query : use flama_phc
20240915@163118.9622 n1mrpc5q944g73epdfv3tlonho Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20240915@163118.9666 n1mrpc5q944g73epdfv3tlonho Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20240915@163118.9680 n1mrpc5q944g73epdfv3tlonho Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163118.9702 n1mrpc5q944g73epdfv3tlonho Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163118.9726 n1mrpc5q944g73epdfv3tlonho Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163118.9740 n1mrpc5q944g73epdfv3tlonho Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163118.9749 n1mrpc5q944g73epdfv3tlonho Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163118.9762 n1mrpc5q944g73epdfv3tlonho Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2301209200a'
20240915@163118.9775 n1mrpc5q944g73epdfv3tlonho Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163118.9788 n1mrpc5q944g73epdfv3tlonho Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163118.9799 n1mrpc5q944g73epdfv3tlonho Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f2695266e6fdc6ee','aut66e6f7276766e6fdc6d1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163118.9803 n1mrpc5q944g73epdfv3tlonho Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163118.9817 n1mrpc5q944g73epdfv3tlonho Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163118.9845 n1mrpc5q944g73epdfv3tlonho Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f2695266e6fdc6ee',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',7.000 ,'aut66e6f7276766e6fdc6d1' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240915@163119.1700 n1mrpc5q944g73epdfv3tlonho Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.1850 n1mrpc5q944g73epdfv3tlonho Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163119.2100 n1mrpc5q944g73epdfv3tlonho Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.2230 n1mrpc5q944g73epdfv3tlonho Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163119.2310 n1mrpc5q944g73epdfv3tlonho Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163119.2470 n1mrpc5q944g73epdfv3tlonho Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.2610 n1mrpc5q944g73epdfv3tlonho Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163119.2720 n1mrpc5q944g73epdfv3tlonho Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f9266066e6fdc706','aut66e6f7276766e6fdc6d1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163119.2760 n1mrpc5q944g73epdfv3tlonho Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.2900 n1mrpc5q944g73epdfv3tlonho Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163119.3160 n1mrpc5q944g73epdfv3tlonho Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e6f9266066e6fdc706',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e6f7276766e6fdc6d1' ,0,0 ,2,23.00,20000,?,?,?)
20240915@163119.5620 n1mrpc5q944g73epdfv3tlonho Query : use flama_phc
20240915@163119.5650 n1mrpc5q944g73epdfv3tlonho Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20240915@163119.5870 n1mrpc5q944g73epdfv3tlonho Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20240915@163119.6000 n1mrpc5q944g73epdfv3tlonho Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.6160 n1mrpc5q944g73epdfv3tlonho Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163119.6400 n1mrpc5q944g73epdfv3tlonho Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.6550 n1mrpc5q944g73epdfv3tlonho Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163119.6630 n1mrpc5q944g73epdfv3tlonho Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163119.6750 n1mrpc5q944g73epdfv3tlonho Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2301209200a'
20240915@163119.6870 n1mrpc5q944g73epdfv3tlonho Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.7000 n1mrpc5q944g73epdfv3tlonho Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163119.7110 n1mrpc5q944g73epdfv3tlonho Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f9037566e6fdc710','aut66e6f7276766e6fdc6d1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163119.7150 n1mrpc5q944g73epdfv3tlonho Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.7300 n1mrpc5q944g73epdfv3tlonho Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163119.7560 n1mrpc5q944g73epdfv3tlonho Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f9037566e6fdc710',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66e6f7276766e6fdc6d1' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240915@163119.1002 n1mrpc5q944g73epdfv3tlonho Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.1018 n1mrpc5q944g73epdfv3tlonho Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163119.1042 n1mrpc5q944g73epdfv3tlonho Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.1056 n1mrpc5q944g73epdfv3tlonho Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163119.1064 n1mrpc5q944g73epdfv3tlonho Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163119.1076 n1mrpc5q944g73epdfv3tlonho Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.1090 n1mrpc5q944g73epdfv3tlonho Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163119.1102 n1mrpc5q944g73epdfv3tlonho Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f9330966e6fdc71a','aut66e6f7276766e6fdc6d1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163119.1106 n1mrpc5q944g73epdfv3tlonho Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.1120 n1mrpc5q944g73epdfv3tlonho Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163119.1146 n1mrpc5q944g73epdfv3tlonho Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e6f9330966e6fdc71a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e6f7276766e6fdc6d1' ,0,0 ,2,23.00,50000,?,?,?)
20240915@163119.1377 n1mrpc5q944g73epdfv3tlonho Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66e6f7276766e6fdc6d1','2405950','wait',39,'adm09112754980.682000002')
20240915@163119.1452 n1mrpc5q944g73epdfv3tlonho Query : use flama_phc
20240915@163119.1455 n1mrpc5q944g73epdfv3tlonho Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@163119.1487 n1mrpc5q944g73epdfv3tlonho Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2004';
20240915@163119.1515 n1mrpc5q944g73epdfv3tlonho Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2004';
20240915@163119.1554 n1mrpc5q944g73epdfv3tlonho Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2004';
20240915@163119.1577 n1mrpc5q944g73epdfv3tlonho Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2004';
20240915@163119.2322 oc6ufhbvbhbct54g40pstb8cum Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240915@163119.2334 oc6ufhbvbhbct54g40pstb8cum Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240915@163119.2386 oc6ufhbvbhbct54g40pstb8cum Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2005';
20240915@163119.2436 oc6ufhbvbhbct54g40pstb8cum Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2005';
20240915@163119.2484 oc6ufhbvbhbct54g40pstb8cum Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2005';
20240915@163119.2507 oc6ufhbvbhbct54g40pstb8cum Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2005';
20240915@163119.2557 oc6ufhbvbhbct54g40pstb8cum Query : use flama_phc
20240915@163119.2560 oc6ufhbvbhbct54g40pstb8cum Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240915@163119.2624 oc6ufhbvbhbct54g40pstb8cum Query : use flama_phc
20240915@163119.2627 oc6ufhbvbhbct54g40pstb8cum Query : select no, estab,szadrsdesc from szadrs where u_coddest=4743
20240915@163119.2708 oc6ufhbvbhbct54g40pstb8cum Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240915@163119.2730 oc6ufhbvbhbct54g40pstb8cum Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405952 and bi.ref ='324.1831.00.2' and bi.lordem =1
20240915@163119.3039 oc6ufhbvbhbct54g40pstb8cum Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240915@163119.3060 oc6ufhbvbhbct54g40pstb8cum Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405952 and bi.ref ='324.1831.00.2' and bi.lordem =1
20240915@163119.3076 oc6ufhbvbhbct54g40pstb8cum Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240915@163119.3097 oc6ufhbvbhbct54g40pstb8cum Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405952 and bi.ref ='324.1831.00.2' and bi.lordem =1
20240915@163119.3113 oc6ufhbvbhbct54g40pstb8cum Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240915@163119.3133 oc6ufhbvbhbct54g40pstb8cum Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405952 and bi.ref ='324.1831.00.2' and bi.lordem =1
20240915@163119.3149 oc6ufhbvbhbct54g40pstb8cum Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240915@163119.3168 oc6ufhbvbhbct54g40pstb8cum Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405952 and bi.ref ='324.1831.00.2' and bi.lordem =1
20240915@163119.3184 oc6ufhbvbhbct54g40pstb8cum Query : use flama_phc
20240915@163119.3187 oc6ufhbvbhbct54g40pstb8cum Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240915@163119.3219 oc6ufhbvbhbct54g40pstb8cum Query : use flama_phc
20240915@163119.3221 oc6ufhbvbhbct54g40pstb8cum Query : select top 1 1 valor from td where td.ndoc = 39
20240915@163119.3250 oc6ufhbvbhbct54g40pstb8cum Query : use flama_phc
20240915@163119.3253 oc6ufhbvbhbct54g40pstb8cum Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240915@163119.3279 oc6ufhbvbhbct54g40pstb8cum Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20240915@163119.3317 oc6ufhbvbhbct54g40pstb8cum Query : use flama_phc
20240915@163119.3320 oc6ufhbvbhbct54g40pstb8cum Query : select top 1 ~inactivo valor from cl where no = '101597' and estab = 0 order by inactivo desc
20240915@163119.3443 oc6ufhbvbhbct54g40pstb8cum Query : use flama_phc
20240915@163119.3446 oc6ufhbvbhbct54g40pstb8cum Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240915@163119.3474 oc6ufhbvbhbct54g40pstb8cum Query : use flama_phc
20240915@163119.3477 oc6ufhbvbhbct54g40pstb8cum Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240915@163119.3514 oc6ufhbvbhbct54g40pstb8cum Query : use flama_phc
20240915@163119.3517 oc6ufhbvbhbct54g40pstb8cum Query : select szadrsstamp valor from szadrs where szadrsdesc='101597 - auchan retail portugal , sa'
20240915@163119.3563 oc6ufhbvbhbct54g40pstb8cum Query : use flama_phc
20240915@163119.3566 oc6ufhbvbhbct54g40pstb8cum Query : select 1 valor from td where ndoc = 39
20240915@163119.3578 oc6ufhbvbhbct54g40pstb8cum Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240915@163119.3592 oc6ufhbvbhbct54g40pstb8cum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.3607 oc6ufhbvbhbct54g40pstb8cum Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240915@163119.3627 oc6ufhbvbhbct54g40pstb8cum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.3642 oc6ufhbvbhbct54g40pstb8cum Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240915@163119.3671 oc6ufhbvbhbct54g40pstb8cum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.3686 oc6ufhbvbhbct54g40pstb8cum Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240915@163119.3699 oc6ufhbvbhbct54g40pstb8cum Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240915@163119.3767 oc6ufhbvbhbct54g40pstb8cum Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240915@163119.3779 oc6ufhbvbhbct54g40pstb8cum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.3793 oc6ufhbvbhbct54g40pstb8cum Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240915@163119.3807 oc6ufhbvbhbct54g40pstb8cum Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66e6f1292166e6fdc75a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240915@163119.3985 oc6ufhbvbhbct54g40pstb8cum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.4000 oc6ufhbvbhbct54g40pstb8cum Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240915@163119.4033 oc6ufhbvbhbct54g40pstb8cum Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240915@163119.4047 oc6ufhbvbhbct54g40pstb8cum Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240915@163119.4059 oc6ufhbvbhbct54g40pstb8cum Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240915@163119.4070 oc6ufhbvbhbct54g40pstb8cum Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240915@163119.4083 oc6ufhbvbhbct54g40pstb8cum Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240915@163119.4094 oc6ufhbvbhbct54g40pstb8cum Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240915@163119.4105 oc6ufhbvbhbct54g40pstb8cum Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66e6f1292166e6fdc75a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240915@163119.4350 oc6ufhbvbhbct54g40pstb8cum Query : select top 1 fno valor from wsftdata order by fno desc
20240915@163119.4369 oc6ufhbvbhbct54g40pstb8cum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.4384 oc6ufhbvbhbct54g40pstb8cum Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240915@163119.4408 oc6ufhbvbhbct54g40pstb8cum Query : select 'normal' from dummy
20240915@163119.4423 oc6ufhbvbhbct54g40pstb8cum Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66e6f1292166e6fdc75a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',754,101597,0,'2024-09-15',39,'euro',0,0,2024 ,?,?)
20240915@163119.4689 oc6ufhbvbhbct54g40pstb8cum Query : use flama_phc
20240915@163119.4694 oc6ufhbvbhbct54g40pstb8cum Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240915@163119.4715 oc6ufhbvbhbct54g40pstb8cum Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1831.00.2'
20240915@163119.4750 oc6ufhbvbhbct54g40pstb8cum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.4765 oc6ufhbvbhbct54g40pstb8cum Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163119.4789 oc6ufhbvbhbct54g40pstb8cum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.4804 oc6ufhbvbhbct54g40pstb8cum Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163119.4812 oc6ufhbvbhbct54g40pstb8cum Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163119.4824 oc6ufhbvbhbct54g40pstb8cum Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2400401175a'
20240915@163119.4849 oc6ufhbvbhbct54g40pstb8cum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.4863 oc6ufhbvbhbct54g40pstb8cum Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163119.4874 oc6ufhbvbhbct54g40pstb8cum Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f9064566e6fdc776','aut66e6f1292166e6fdc75a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163119.4878 oc6ufhbvbhbct54g40pstb8cum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.4892 oc6ufhbvbhbct54g40pstb8cum Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163119.4919 oc6ufhbvbhbct54g40pstb8cum Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f9064566e6fdc776',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66e6f1292166e6fdc75a' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240915@163119.5166 oc6ufhbvbhbct54g40pstb8cum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.5181 oc6ufhbvbhbct54g40pstb8cum Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163119.5205 oc6ufhbvbhbct54g40pstb8cum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.5219 oc6ufhbvbhbct54g40pstb8cum Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163119.5227 oc6ufhbvbhbct54g40pstb8cum Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163119.5241 oc6ufhbvbhbct54g40pstb8cum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.5255 oc6ufhbvbhbct54g40pstb8cum Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163119.5267 oc6ufhbvbhbct54g40pstb8cum Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f8694366e6fdc77f','aut66e6f1292166e6fdc75a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163119.5271 oc6ufhbvbhbct54g40pstb8cum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.5286 oc6ufhbvbhbct54g40pstb8cum Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163119.5315 oc6ufhbvbhbct54g40pstb8cum Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e6f8694366e6fdc77f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e6f1292166e6fdc75a' ,0,0 ,2,23.00,20000,?,?,?)
20240915@163119.5556 oc6ufhbvbhbct54g40pstb8cum Query : use flama_phc
20240915@163119.5558 oc6ufhbvbhbct54g40pstb8cum Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240915@163119.5577 oc6ufhbvbhbct54g40pstb8cum Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1831.00.2'
20240915@163119.5591 oc6ufhbvbhbct54g40pstb8cum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.5630 oc6ufhbvbhbct54g40pstb8cum Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163119.5655 oc6ufhbvbhbct54g40pstb8cum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.5672 oc6ufhbvbhbct54g40pstb8cum Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163119.6000 oc6ufhbvbhbct54g40pstb8cum Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163119.6820 oc6ufhbvbhbct54g40pstb8cum Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2400401175a'
20240915@163119.6832 oc6ufhbvbhbct54g40pstb8cum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.6847 oc6ufhbvbhbct54g40pstb8cum Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163119.6858 oc6ufhbvbhbct54g40pstb8cum Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f1225366e6fdc7a6','aut66e6f1292166e6fdc75a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163119.6862 oc6ufhbvbhbct54g40pstb8cum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.6876 oc6ufhbvbhbct54g40pstb8cum Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163119.6906 oc6ufhbvbhbct54g40pstb8cum Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f1225366e6fdc7a6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66e6f1292166e6fdc75a' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240915@163119.7321 oc6ufhbvbhbct54g40pstb8cum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.7337 oc6ufhbvbhbct54g40pstb8cum Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163119.7362 oc6ufhbvbhbct54g40pstb8cum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.7377 oc6ufhbvbhbct54g40pstb8cum Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163119.7385 oc6ufhbvbhbct54g40pstb8cum Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163119.7396 oc6ufhbvbhbct54g40pstb8cum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.7409 oc6ufhbvbhbct54g40pstb8cum Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163119.7420 oc6ufhbvbhbct54g40pstb8cum Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f8468066e6fdc7b4','aut66e6f1292166e6fdc75a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163119.7425 oc6ufhbvbhbct54g40pstb8cum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.7438 oc6ufhbvbhbct54g40pstb8cum Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163119.7464 oc6ufhbvbhbct54g40pstb8cum Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e6f8468066e6fdc7b4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e6f1292166e6fdc75a' ,0,0 ,2,23.00,50000,?,?,?)
20240915@163119.7720 oc6ufhbvbhbct54g40pstb8cum Query : use flama_phc
20240915@163119.7723 oc6ufhbvbhbct54g40pstb8cum Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240915@163119.7742 oc6ufhbvbhbct54g40pstb8cum Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1831.00.2'
20240915@163119.7756 oc6ufhbvbhbct54g40pstb8cum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.7771 oc6ufhbvbhbct54g40pstb8cum Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163119.7798 oc6ufhbvbhbct54g40pstb8cum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.7812 oc6ufhbvbhbct54g40pstb8cum Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163119.7821 oc6ufhbvbhbct54g40pstb8cum Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163119.7833 oc6ufhbvbhbct54g40pstb8cum Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2301271200a'
20240915@163119.7845 oc6ufhbvbhbct54g40pstb8cum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.7860 oc6ufhbvbhbct54g40pstb8cum Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163119.7870 oc6ufhbvbhbct54g40pstb8cum Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f9020366e6fdc7bf','aut66e6f1292166e6fdc75a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163119.7874 oc6ufhbvbhbct54g40pstb8cum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.7892 oc6ufhbvbhbct54g40pstb8cum Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163119.7918 oc6ufhbvbhbct54g40pstb8cum Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f9020366e6fdc7bf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66e6f1292166e6fdc75a' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240915@163119.8225 oc6ufhbvbhbct54g40pstb8cum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.8241 oc6ufhbvbhbct54g40pstb8cum Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163119.8265 oc6ufhbvbhbct54g40pstb8cum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.8282 oc6ufhbvbhbct54g40pstb8cum Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163119.8290 oc6ufhbvbhbct54g40pstb8cum Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163119.8301 oc6ufhbvbhbct54g40pstb8cum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.8315 oc6ufhbvbhbct54g40pstb8cum Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163119.8327 oc6ufhbvbhbct54g40pstb8cum Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f0167166e6fdc7ca','aut66e6f1292166e6fdc75a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163119.8331 oc6ufhbvbhbct54g40pstb8cum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.8344 oc6ufhbvbhbct54g40pstb8cum Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163119.8372 oc6ufhbvbhbct54g40pstb8cum Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e6f0167166e6fdc7ca',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e6f1292166e6fdc75a' ,0,0 ,2,23.00,80000,?,?,?)
20240915@163119.8658 oc6ufhbvbhbct54g40pstb8cum Query : use flama_phc
20240915@163119.8661 oc6ufhbvbhbct54g40pstb8cum Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240915@163119.8679 oc6ufhbvbhbct54g40pstb8cum Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1831.00.2'
20240915@163119.8691 oc6ufhbvbhbct54g40pstb8cum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.8706 oc6ufhbvbhbct54g40pstb8cum Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163119.8740 oc6ufhbvbhbct54g40pstb8cum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.8754 oc6ufhbvbhbct54g40pstb8cum Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163119.8762 oc6ufhbvbhbct54g40pstb8cum Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163119.8774 oc6ufhbvbhbct54g40pstb8cum Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2400401175a'
20240915@163119.8786 oc6ufhbvbhbct54g40pstb8cum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.8803 oc6ufhbvbhbct54g40pstb8cum Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163119.8814 oc6ufhbvbhbct54g40pstb8cum Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f5643666e6fdc7d6','aut66e6f1292166e6fdc75a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163119.8818 oc6ufhbvbhbct54g40pstb8cum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.8833 oc6ufhbvbhbct54g40pstb8cum Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163119.8860 oc6ufhbvbhbct54g40pstb8cum Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f5643666e6fdc7d6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66e6f1292166e6fdc75a' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20240915@163119.9131 oc6ufhbvbhbct54g40pstb8cum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.9148 oc6ufhbvbhbct54g40pstb8cum Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163119.9196 oc6ufhbvbhbct54g40pstb8cum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.9211 oc6ufhbvbhbct54g40pstb8cum Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163119.9219 oc6ufhbvbhbct54g40pstb8cum Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163119.9232 oc6ufhbvbhbct54g40pstb8cum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.9246 oc6ufhbvbhbct54g40pstb8cum Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163119.9257 oc6ufhbvbhbct54g40pstb8cum Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f3301766e6fdc7e1','aut66e6f1292166e6fdc75a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163119.9261 oc6ufhbvbhbct54g40pstb8cum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.9276 oc6ufhbvbhbct54g40pstb8cum Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163119.9303 oc6ufhbvbhbct54g40pstb8cum Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e6f3301766e6fdc7e1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e6f1292166e6fdc75a' ,0,0 ,2,23.00,110000,?,?,?)
20240915@163119.9560 oc6ufhbvbhbct54g40pstb8cum Query : use flama_phc
20240915@163119.9563 oc6ufhbvbhbct54g40pstb8cum Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240915@163119.9582 oc6ufhbvbhbct54g40pstb8cum Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1831.00.2'
20240915@163119.9596 oc6ufhbvbhbct54g40pstb8cum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.9611 oc6ufhbvbhbct54g40pstb8cum Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163119.9638 oc6ufhbvbhbct54g40pstb8cum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.9652 oc6ufhbvbhbct54g40pstb8cum Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163119.9661 oc6ufhbvbhbct54g40pstb8cum Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163119.9696 oc6ufhbvbhbct54g40pstb8cum Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2301271200a'
20240915@163119.9708 oc6ufhbvbhbct54g40pstb8cum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.9722 oc6ufhbvbhbct54g40pstb8cum Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163119.9734 oc6ufhbvbhbct54g40pstb8cum Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f4465066e6fdc7ed','aut66e6f1292166e6fdc75a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163119.9739 oc6ufhbvbhbct54g40pstb8cum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163119.9754 oc6ufhbvbhbct54g40pstb8cum Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163119.9783 oc6ufhbvbhbct54g40pstb8cum Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f4465066e6fdc7ed',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66e6f1292166e6fdc75a' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20240915@163120.3600 oc6ufhbvbhbct54g40pstb8cum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163120.5200 oc6ufhbvbhbct54g40pstb8cum Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163120.7800 oc6ufhbvbhbct54g40pstb8cum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163120.9300 oc6ufhbvbhbct54g40pstb8cum Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163120.1010 oc6ufhbvbhbct54g40pstb8cum Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163120.1130 oc6ufhbvbhbct54g40pstb8cum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163120.1300 oc6ufhbvbhbct54g40pstb8cum Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163120.1420 oc6ufhbvbhbct54g40pstb8cum Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f2679966e6fdc802','aut66e6f1292166e6fdc75a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163120.1460 oc6ufhbvbhbct54g40pstb8cum Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163120.1610 oc6ufhbvbhbct54g40pstb8cum Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163120.2110 oc6ufhbvbhbct54g40pstb8cum Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e6f2679966e6fdc802',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e6f1292166e6fdc75a' ,0,0 ,2,23.00,140000,?,?,?)
20240915@163120.8440 oc6ufhbvbhbct54g40pstb8cum Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66e6f1292166e6fdc75a','2405952','wait',39,'adm09112754980.682000002')
20240915@163120.9840 oc6ufhbvbhbct54g40pstb8cum Query : use flama_phc
20240915@163120.9870 oc6ufhbvbhbct54g40pstb8cum Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@163120.1017 oc6ufhbvbhbct54g40pstb8cum Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2005';
20240915@163120.1044 oc6ufhbvbhbct54g40pstb8cum Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2005';
20240915@163120.1084 oc6ufhbvbhbct54g40pstb8cum Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2005';
20240915@163120.1107 oc6ufhbvbhbct54g40pstb8cum Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2005';
20240915@163120.1596 h15o1ohpb7htseekb9fn8pm8vb Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240915@163120.1606 h15o1ohpb7htseekb9fn8pm8vb Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240915@163120.1656 h15o1ohpb7htseekb9fn8pm8vb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2006';
20240915@163120.1706 h15o1ohpb7htseekb9fn8pm8vb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2006';
20240915@163120.1761 h15o1ohpb7htseekb9fn8pm8vb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2006';
20240915@163120.1785 h15o1ohpb7htseekb9fn8pm8vb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2006';
20240915@163120.1831 h15o1ohpb7htseekb9fn8pm8vb Query : use flama_phc
20240915@163120.1834 h15o1ohpb7htseekb9fn8pm8vb Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240915@163120.1900 h15o1ohpb7htseekb9fn8pm8vb Query : use flama_phc
20240915@163120.1902 h15o1ohpb7htseekb9fn8pm8vb Query : select no, estab,szadrsdesc from szadrs where u_coddest=6625
20240915@163120.1993 h15o1ohpb7htseekb9fn8pm8vb Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2300.00.1'
20240915@163120.2139 h15o1ohpb7htseekb9fn8pm8vb Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405954 and bi.ref ='324.2300.00.1' and bi.lordem =1
20240915@163120.2989 h15o1ohpb7htseekb9fn8pm8vb Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1317.00.1'
20240915@163120.3013 h15o1ohpb7htseekb9fn8pm8vb Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405954 and bi.ref ='324.1317.00.1' and bi.lordem =2
20240915@163120.3323 h15o1ohpb7htseekb9fn8pm8vb Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1321.00.1'
20240915@163120.3465 h15o1ohpb7htseekb9fn8pm8vb Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405954 and bi.ref ='324.1321.00.1' and bi.lordem =3
20240915@163120.3802 h15o1ohpb7htseekb9fn8pm8vb Query : use flama_phc
20240915@163120.3805 h15o1ohpb7htseekb9fn8pm8vb Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240915@163120.3836 h15o1ohpb7htseekb9fn8pm8vb Query : use flama_phc
20240915@163120.3839 h15o1ohpb7htseekb9fn8pm8vb Query : select top 1 1 valor from td where td.ndoc = 39
20240915@163120.3872 h15o1ohpb7htseekb9fn8pm8vb Query : use flama_phc
20240915@163120.3875 h15o1ohpb7htseekb9fn8pm8vb Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240915@163120.3906 h15o1ohpb7htseekb9fn8pm8vb Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20240915@163120.3941 h15o1ohpb7htseekb9fn8pm8vb Query : use flama_phc
20240915@163120.3944 h15o1ohpb7htseekb9fn8pm8vb Query : select top 1 ~inactivo valor from cl where no = '200500' and estab = 0 order by inactivo desc
20240915@163120.4069 h15o1ohpb7htseekb9fn8pm8vb Query : use flama_phc
20240915@163120.4073 h15o1ohpb7htseekb9fn8pm8vb Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240915@163120.4103 h15o1ohpb7htseekb9fn8pm8vb Query : use flama_phc
20240915@163120.4106 h15o1ohpb7htseekb9fn8pm8vb Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240915@163120.4143 h15o1ohpb7htseekb9fn8pm8vb Query : use flama_phc
20240915@163120.4146 h15o1ohpb7htseekb9fn8pm8vb Query : select szadrsstamp valor from szadrs where szadrsdesc='eldisser - mesur'
20240915@163120.4197 h15o1ohpb7htseekb9fn8pm8vb Query : use flama_phc
20240915@163120.4200 h15o1ohpb7htseekb9fn8pm8vb Query : select 1 valor from td where ndoc = 39
20240915@163120.4211 h15o1ohpb7htseekb9fn8pm8vb Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240915@163120.4225 h15o1ohpb7htseekb9fn8pm8vb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163120.4241 h15o1ohpb7htseekb9fn8pm8vb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240915@163120.4259 h15o1ohpb7htseekb9fn8pm8vb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163120.4273 h15o1ohpb7htseekb9fn8pm8vb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240915@163120.4300 h15o1ohpb7htseekb9fn8pm8vb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163120.4314 h15o1ohpb7htseekb9fn8pm8vb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240915@163120.4327 h15o1ohpb7htseekb9fn8pm8vb Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240915@163120.4393 h15o1ohpb7htseekb9fn8pm8vb Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240915@163120.4405 h15o1ohpb7htseekb9fn8pm8vb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163120.4419 h15o1ohpb7htseekb9fn8pm8vb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240915@163120.4435 h15o1ohpb7htseekb9fn8pm8vb Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66e6f4360066e6fdc869' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240915@163120.4600 h15o1ohpb7htseekb9fn8pm8vb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163120.4615 h15o1ohpb7htseekb9fn8pm8vb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240915@163120.4646 h15o1ohpb7htseekb9fn8pm8vb Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240915@163120.4657 h15o1ohpb7htseekb9fn8pm8vb Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240915@163120.4668 h15o1ohpb7htseekb9fn8pm8vb Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240915@163120.4679 h15o1ohpb7htseekb9fn8pm8vb Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240915@163120.4693 h15o1ohpb7htseekb9fn8pm8vb Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240915@163120.4704 h15o1ohpb7htseekb9fn8pm8vb Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240915@163120.4715 h15o1ohpb7htseekb9fn8pm8vb Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66e6f4360066e6fdc869',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240915@163120.5314 h15o1ohpb7htseekb9fn8pm8vb Query : select top 1 fno valor from wsftdata order by fno desc
20240915@163120.5456 h15o1ohpb7htseekb9fn8pm8vb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163120.5472 h15o1ohpb7htseekb9fn8pm8vb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240915@163120.5503 h15o1ohpb7htseekb9fn8pm8vb Query : select 'normal' from dummy
20240915@163120.5518 h15o1ohpb7htseekb9fn8pm8vb Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66e6f4360066e6fdc869',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',755,200500,0,'2024-09-15',39,'euro',0,0,2024 ,?,?)
20240915@163120.5832 h15o1ohpb7htseekb9fn8pm8vb Query : use flama_phc
20240915@163120.5835 h15o1ohpb7htseekb9fn8pm8vb Query : select st.usalote valor from st where st.ref = '324.2300.00.1'
20240915@163120.5860 h15o1ohpb7htseekb9fn8pm8vb Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2300.00.1'
20240915@163120.6007 h15o1ohpb7htseekb9fn8pm8vb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163120.6024 h15o1ohpb7htseekb9fn8pm8vb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163120.6048 h15o1ohpb7htseekb9fn8pm8vb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163120.6062 h15o1ohpb7htseekb9fn8pm8vb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163120.6070 h15o1ohpb7htseekb9fn8pm8vb Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163120.6081 h15o1ohpb7htseekb9fn8pm8vb Query : select sestamp valor from se where ref ='324.2300.00.1' and lote = 'r2400497200a'
20240915@163120.6099 h15o1ohpb7htseekb9fn8pm8vb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163120.6115 h15o1ohpb7htseekb9fn8pm8vb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163120.6126 h15o1ohpb7htseekb9fn8pm8vb Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f2965066e6fdc894','aut66e6f4360066e6fdc869' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163120.6130 h15o1ohpb7htseekb9fn8pm8vb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163120.6155 h15o1ohpb7htseekb9fn8pm8vb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163120.6182 h15o1ohpb7htseekb9fn8pm8vb Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f2965066e6fdc894',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',36.000 ,'aut66e6f4360066e6fdc869' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240915@163120.6434 h15o1ohpb7htseekb9fn8pm8vb Query : use flama_phc
20240915@163120.6437 h15o1ohpb7htseekb9fn8pm8vb Query : select st.usalote valor from st where st.ref = '324.1317.00.1'
20240915@163120.6456 h15o1ohpb7htseekb9fn8pm8vb Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1317.00.1'
20240915@163120.6470 h15o1ohpb7htseekb9fn8pm8vb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163120.6485 h15o1ohpb7htseekb9fn8pm8vb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163120.6512 h15o1ohpb7htseekb9fn8pm8vb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163120.6526 h15o1ohpb7htseekb9fn8pm8vb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163120.6535 h15o1ohpb7htseekb9fn8pm8vb Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163120.6547 h15o1ohpb7htseekb9fn8pm8vb Query : select sestamp valor from se where ref ='324.1317.00.1' and lote = 'r2400458200a'
20240915@163120.6559 h15o1ohpb7htseekb9fn8pm8vb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163120.6573 h15o1ohpb7htseekb9fn8pm8vb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163120.6584 h15o1ohpb7htseekb9fn8pm8vb Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f8390366e6fdc8a0','aut66e6f4360066e6fdc869' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163120.6589 h15o1ohpb7htseekb9fn8pm8vb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163120.6603 h15o1ohpb7htseekb9fn8pm8vb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163120.6632 h15o1ohpb7htseekb9fn8pm8vb Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f8390366e6fdc8a0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66e6f4360066e6fdc869' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240915@163120.6875 h15o1ohpb7htseekb9fn8pm8vb Query : use flama_phc
20240915@163120.6878 h15o1ohpb7htseekb9fn8pm8vb Query : select st.usalote valor from st where st.ref = '324.1321.00.1'
20240915@163120.6897 h15o1ohpb7htseekb9fn8pm8vb Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1321.00.1'
20240915@163120.7036 h15o1ohpb7htseekb9fn8pm8vb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163120.7051 h15o1ohpb7htseekb9fn8pm8vb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163120.7077 h15o1ohpb7htseekb9fn8pm8vb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163120.7092 h15o1ohpb7htseekb9fn8pm8vb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163120.7100 h15o1ohpb7htseekb9fn8pm8vb Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163120.7111 h15o1ohpb7htseekb9fn8pm8vb Query : select sestamp valor from se where ref ='324.1321.00.1' and lote = 'r2400495200a'
20240915@163120.7124 h15o1ohpb7htseekb9fn8pm8vb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163120.7140 h15o1ohpb7htseekb9fn8pm8vb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163120.7151 h15o1ohpb7htseekb9fn8pm8vb Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f4616666e6fdc8ad','aut66e6f4360066e6fdc869' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163120.7155 h15o1ohpb7htseekb9fn8pm8vb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163120.7169 h15o1ohpb7htseekb9fn8pm8vb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163120.7199 h15o1ohpb7htseekb9fn8pm8vb Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f4616666e6fdc8ad',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66e6f4360066e6fdc869' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240915@163120.7586 h15o1ohpb7htseekb9fn8pm8vb Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66e6f4360066e6fdc869','2405954','wait',39,'adm09112754980.682000002')
20240915@163120.7662 h15o1ohpb7htseekb9fn8pm8vb Query : use flama_phc
20240915@163120.7665 h15o1ohpb7htseekb9fn8pm8vb Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@163120.7695 h15o1ohpb7htseekb9fn8pm8vb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2006';
20240915@163120.7722 h15o1ohpb7htseekb9fn8pm8vb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2006';
20240915@163120.7762 h15o1ohpb7htseekb9fn8pm8vb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2006';
20240915@163120.7787 h15o1ohpb7htseekb9fn8pm8vb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2006';
20240915@163120.9238 mmg5on9judlce61aeupav341rb Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240915@163120.9248 mmg5on9judlce61aeupav341rb Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240915@163120.9301 mmg5on9judlce61aeupav341rb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2007';
20240915@163120.9354 mmg5on9judlce61aeupav341rb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2007';
20240915@163120.9402 mmg5on9judlce61aeupav341rb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2007';
20240915@163120.9427 mmg5on9judlce61aeupav341rb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2007';
20240915@163120.9473 mmg5on9judlce61aeupav341rb Query : use flama_phc
20240915@163120.9476 mmg5on9judlce61aeupav341rb Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240915@163120.9541 mmg5on9judlce61aeupav341rb Query : use flama_phc
20240915@163120.9544 mmg5on9judlce61aeupav341rb Query : select no, estab,szadrsdesc from szadrs where u_coddest=5187
20240915@163120.9632 mmg5on9judlce61aeupav341rb Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2300.00.1'
20240915@163120.9654 mmg5on9judlce61aeupav341rb Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405955 and bi.ref ='324.2300.00.1' and bi.lordem =1
20240915@163120.9972 mmg5on9judlce61aeupav341rb Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2300.00.1'
20240915@163120.9992 mmg5on9judlce61aeupav341rb Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405955 and bi.ref ='324.2300.00.1' and bi.lordem =1
20240915@163121.8000 mmg5on9judlce61aeupav341rb Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2317.00.1'
20240915@163121.1740 mmg5on9judlce61aeupav341rb Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405955 and bi.ref ='324.2317.00.1' and bi.lordem =2
20240915@163121.4850 mmg5on9judlce61aeupav341rb Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1317.00.1'
20240915@163121.5060 mmg5on9judlce61aeupav341rb Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405955 and bi.ref ='324.1317.00.1' and bi.lordem =3
20240915@163121.1863 mmg5on9judlce61aeupav341rb Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1317.00.1'
20240915@163121.1888 mmg5on9judlce61aeupav341rb Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405955 and bi.ref ='324.1317.00.1' and bi.lordem =3
20240915@163121.1906 mmg5on9judlce61aeupav341rb Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1321.00.1'
20240915@163121.1925 mmg5on9judlce61aeupav341rb Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405955 and bi.ref ='324.1321.00.1' and bi.lordem =4
20240915@163121.2263 mmg5on9judlce61aeupav341rb Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1321.00.1'
20240915@163121.2282 mmg5on9judlce61aeupav341rb Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405955 and bi.ref ='324.1321.00.1' and bi.lordem =4
20240915@163121.2299 mmg5on9judlce61aeupav341rb Query : use flama_phc
20240915@163121.2302 mmg5on9judlce61aeupav341rb Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240915@163121.2338 mmg5on9judlce61aeupav341rb Query : use flama_phc
20240915@163121.2341 mmg5on9judlce61aeupav341rb Query : select top 1 1 valor from td where td.ndoc = 39
20240915@163121.2373 mmg5on9judlce61aeupav341rb Query : use flama_phc
20240915@163121.2375 mmg5on9judlce61aeupav341rb Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240915@163121.2403 mmg5on9judlce61aeupav341rb Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20240915@163121.2436 mmg5on9judlce61aeupav341rb Query : use flama_phc
20240915@163121.2439 mmg5on9judlce61aeupav341rb Query : select top 1 ~inactivo valor from cl where no = '200500' and estab = 0 order by inactivo desc
20240915@163121.2467 mmg5on9judlce61aeupav341rb Query : use flama_phc
20240915@163121.2470 mmg5on9judlce61aeupav341rb Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240915@163121.3150 mmg5on9judlce61aeupav341rb Query : use flama_phc
20240915@163121.3155 mmg5on9judlce61aeupav341rb Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240915@163121.3195 mmg5on9judlce61aeupav341rb Query : use flama_phc
20240915@163121.3198 mmg5on9judlce61aeupav341rb Query : select szadrsstamp valor from szadrs where szadrsdesc='eldisser, s.a. - grucoga'
20240915@163121.3241 mmg5on9judlce61aeupav341rb Query : use flama_phc
20240915@163121.3244 mmg5on9judlce61aeupav341rb Query : select 1 valor from td where ndoc = 39
20240915@163121.3257 mmg5on9judlce61aeupav341rb Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240915@163121.3270 mmg5on9judlce61aeupav341rb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163121.3490 mmg5on9judlce61aeupav341rb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240915@163121.3513 mmg5on9judlce61aeupav341rb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163121.3529 mmg5on9judlce61aeupav341rb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240915@163121.3560 mmg5on9judlce61aeupav341rb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163121.3575 mmg5on9judlce61aeupav341rb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240915@163121.3588 mmg5on9judlce61aeupav341rb Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240915@163121.3656 mmg5on9judlce61aeupav341rb Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240915@163121.3669 mmg5on9judlce61aeupav341rb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163121.3686 mmg5on9judlce61aeupav341rb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240915@163121.3702 mmg5on9judlce61aeupav341rb Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66e6f4014666e6fdc957' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240915@163121.3994 mmg5on9judlce61aeupav341rb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163121.4075 mmg5on9judlce61aeupav341rb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240915@163121.4110 mmg5on9judlce61aeupav341rb Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240915@163121.4122 mmg5on9judlce61aeupav341rb Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240915@163121.4134 mmg5on9judlce61aeupav341rb Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240915@163121.4147 mmg5on9judlce61aeupav341rb Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240915@163121.4159 mmg5on9judlce61aeupav341rb Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240915@163121.4170 mmg5on9judlce61aeupav341rb Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240915@163121.4181 mmg5on9judlce61aeupav341rb Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66e6f4014666e6fdc957',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240915@163121.4427 mmg5on9judlce61aeupav341rb Query : select top 1 fno valor from wsftdata order by fno desc
20240915@163121.4445 mmg5on9judlce61aeupav341rb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163121.4461 mmg5on9judlce61aeupav341rb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240915@163121.4483 mmg5on9judlce61aeupav341rb Query : select 'normal' from dummy
20240915@163121.4498 mmg5on9judlce61aeupav341rb Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66e6f4014666e6fdc957',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',756,200500,0,'2024-09-15',39,'euro',0,0,2024 ,?,?)
20240915@163121.4773 mmg5on9judlce61aeupav341rb Query : use flama_phc
20240915@163121.4776 mmg5on9judlce61aeupav341rb Query : select st.usalote valor from st where st.ref = '324.2300.00.1'
20240915@163121.4797 mmg5on9judlce61aeupav341rb Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2300.00.1'
20240915@163121.4812 mmg5on9judlce61aeupav341rb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163121.4827 mmg5on9judlce61aeupav341rb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163121.4854 mmg5on9judlce61aeupav341rb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163121.4868 mmg5on9judlce61aeupav341rb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163121.4877 mmg5on9judlce61aeupav341rb Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163121.4888 mmg5on9judlce61aeupav341rb Query : select sestamp valor from se where ref ='324.2300.00.1' and lote = 'r2400497200a'
20240915@163121.4901 mmg5on9judlce61aeupav341rb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163121.4915 mmg5on9judlce61aeupav341rb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163121.4927 mmg5on9judlce61aeupav341rb Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f6823366e6fdc977','aut66e6f4014666e6fdc957' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163121.4931 mmg5on9judlce61aeupav341rb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163121.4946 mmg5on9judlce61aeupav341rb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163121.4976 mmg5on9judlce61aeupav341rb Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f6823366e6fdc977',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',108.000 ,'aut66e6f4014666e6fdc957' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240915@163121.5216 mmg5on9judlce61aeupav341rb Query : use flama_phc
20240915@163121.5219 mmg5on9judlce61aeupav341rb Query : select st.usalote valor from st where st.ref = '324.2300.00.1'
20240915@163121.5237 mmg5on9judlce61aeupav341rb Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2300.00.1'
20240915@163121.5251 mmg5on9judlce61aeupav341rb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163121.5265 mmg5on9judlce61aeupav341rb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163121.5291 mmg5on9judlce61aeupav341rb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163121.5306 mmg5on9judlce61aeupav341rb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163121.5315 mmg5on9judlce61aeupav341rb Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163121.5330 mmg5on9judlce61aeupav341rb Query : select sestamp valor from se where ref ='324.2300.00.1' and lote = 'r2400497200a'
20240915@163121.5342 mmg5on9judlce61aeupav341rb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163121.5356 mmg5on9judlce61aeupav341rb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163121.5367 mmg5on9judlce61aeupav341rb Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f7334866e6fdc982','aut66e6f4014666e6fdc957' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163121.5371 mmg5on9judlce61aeupav341rb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163121.5385 mmg5on9judlce61aeupav341rb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163121.5413 mmg5on9judlce61aeupav341rb Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f7334866e6fdc982',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66e6f4014666e6fdc957' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240915@163121.5673 mmg5on9judlce61aeupav341rb Query : use flama_phc
20240915@163121.5677 mmg5on9judlce61aeupav341rb Query : select st.usalote valor from st where st.ref = '324.2317.00.1'
20240915@163121.5697 mmg5on9judlce61aeupav341rb Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2317.00.1'
20240915@163121.5842 mmg5on9judlce61aeupav341rb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163121.5858 mmg5on9judlce61aeupav341rb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163121.5885 mmg5on9judlce61aeupav341rb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163121.5900 mmg5on9judlce61aeupav341rb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163121.5909 mmg5on9judlce61aeupav341rb Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163121.5921 mmg5on9judlce61aeupav341rb Query : select sestamp valor from se where ref ='324.2317.00.1' and lote = 'r2100576500a'
20240915@163121.5944 mmg5on9judlce61aeupav341rb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163121.5959 mmg5on9judlce61aeupav341rb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163121.5971 mmg5on9judlce61aeupav341rb Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f9770066e6fdc991','aut66e6f4014666e6fdc957' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163121.5976 mmg5on9judlce61aeupav341rb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163121.5991 mmg5on9judlce61aeupav341rb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163121.6099 mmg5on9judlce61aeupav341rb Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f9770066e6fdc991',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66e6f4014666e6fdc957' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240915@163121.6471 mmg5on9judlce61aeupav341rb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163121.6488 mmg5on9judlce61aeupav341rb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163121.6516 mmg5on9judlce61aeupav341rb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163121.6532 mmg5on9judlce61aeupav341rb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163121.6541 mmg5on9judlce61aeupav341rb Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163121.6553 mmg5on9judlce61aeupav341rb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163121.6607 mmg5on9judlce61aeupav341rb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163121.6769 mmg5on9judlce61aeupav341rb Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f7140666e6fdc9a0','aut66e6f4014666e6fdc957' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163121.6774 mmg5on9judlce61aeupav341rb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163121.6790 mmg5on9judlce61aeupav341rb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163121.6822 mmg5on9judlce61aeupav341rb Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e6f7140666e6fdc9a0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e6f4014666e6fdc957' ,0,0 ,2,23.00,40000,?,?,?)
20240915@163121.7065 mmg5on9judlce61aeupav341rb Query : use flama_phc
20240915@163121.7068 mmg5on9judlce61aeupav341rb Query : select st.usalote valor from st where st.ref = '324.1317.00.1'
20240915@163121.7088 mmg5on9judlce61aeupav341rb Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1317.00.1'
20240915@163121.7104 mmg5on9judlce61aeupav341rb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163121.7120 mmg5on9judlce61aeupav341rb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163121.7146 mmg5on9judlce61aeupav341rb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163121.7161 mmg5on9judlce61aeupav341rb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163121.7169 mmg5on9judlce61aeupav341rb Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163121.7182 mmg5on9judlce61aeupav341rb Query : select sestamp valor from se where ref ='324.1317.00.1' and lote = 'r2400458200a'
20240915@163121.7198 mmg5on9judlce61aeupav341rb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163121.7212 mmg5on9judlce61aeupav341rb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163121.7224 mmg5on9judlce61aeupav341rb Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f2395566e6fdc9af','aut66e6f4014666e6fdc957' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163121.7228 mmg5on9judlce61aeupav341rb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163121.7242 mmg5on9judlce61aeupav341rb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163121.7270 mmg5on9judlce61aeupav341rb Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f2395566e6fdc9af',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66e6f4014666e6fdc957' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20240915@163121.7527 mmg5on9judlce61aeupav341rb Query : use flama_phc
20240915@163121.7531 mmg5on9judlce61aeupav341rb Query : select st.usalote valor from st where st.ref = '324.1317.00.1'
20240915@163121.7550 mmg5on9judlce61aeupav341rb Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1317.00.1'
20240915@163121.7565 mmg5on9judlce61aeupav341rb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163121.7580 mmg5on9judlce61aeupav341rb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163121.7762 mmg5on9judlce61aeupav341rb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163121.7781 mmg5on9judlce61aeupav341rb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163121.7791 mmg5on9judlce61aeupav341rb Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163121.7805 mmg5on9judlce61aeupav341rb Query : select sestamp valor from se where ref ='324.1317.00.1' and lote = 'r2400458200a'
20240915@163121.7818 mmg5on9judlce61aeupav341rb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163121.7839 mmg5on9judlce61aeupav341rb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163121.7852 mmg5on9judlce61aeupav341rb Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f6078766e6fdc9be','aut66e6f4014666e6fdc957' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163121.7858 mmg5on9judlce61aeupav341rb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163121.7875 mmg5on9judlce61aeupav341rb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163121.7907 mmg5on9judlce61aeupav341rb Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f6078766e6fdc9be',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66e6f4014666e6fdc957' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240915@163121.8176 mmg5on9judlce61aeupav341rb Query : use flama_phc
20240915@163121.8179 mmg5on9judlce61aeupav341rb Query : select st.usalote valor from st where st.ref = '324.1321.00.1'
20240915@163121.8198 mmg5on9judlce61aeupav341rb Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1321.00.1'
20240915@163121.8795 mmg5on9judlce61aeupav341rb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163121.9073 mmg5on9judlce61aeupav341rb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163121.9098 mmg5on9judlce61aeupav341rb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163121.9113 mmg5on9judlce61aeupav341rb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163121.9121 mmg5on9judlce61aeupav341rb Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163121.9133 mmg5on9judlce61aeupav341rb Query : select sestamp valor from se where ref ='324.1321.00.1' and lote = 'r2400495200a'
20240915@163121.9146 mmg5on9judlce61aeupav341rb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163121.9160 mmg5on9judlce61aeupav341rb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163121.9171 mmg5on9judlce61aeupav341rb Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f7215966e6fdc9df','aut66e6f4014666e6fdc957' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163121.9175 mmg5on9judlce61aeupav341rb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163121.9189 mmg5on9judlce61aeupav341rb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163121.9217 mmg5on9judlce61aeupav341rb Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f7215966e6fdc9df',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66e6f4014666e6fdc957' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20240915@163121.9697 mmg5on9judlce61aeupav341rb Query : use flama_phc
20240915@163121.9700 mmg5on9judlce61aeupav341rb Query : select st.usalote valor from st where st.ref = '324.1321.00.1'
20240915@163121.9721 mmg5on9judlce61aeupav341rb Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1321.00.1'
20240915@163121.9735 mmg5on9judlce61aeupav341rb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163121.9751 mmg5on9judlce61aeupav341rb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163121.9777 mmg5on9judlce61aeupav341rb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163121.9791 mmg5on9judlce61aeupav341rb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163121.9800 mmg5on9judlce61aeupav341rb Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163121.9812 mmg5on9judlce61aeupav341rb Query : select sestamp valor from se where ref ='324.1321.00.1' and lote = 'r2400495200a'
20240915@163121.9824 mmg5on9judlce61aeupav341rb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163121.9838 mmg5on9judlce61aeupav341rb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163121.9850 mmg5on9judlce61aeupav341rb Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f6256266e6fdc9ef','aut66e6f4014666e6fdc957' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163121.9854 mmg5on9judlce61aeupav341rb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163121.9868 mmg5on9judlce61aeupav341rb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163121.9976 mmg5on9judlce61aeupav341rb Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f6256266e6fdc9ef',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66e6f4014666e6fdc957' ,0,0 ,2,23.00,90000,?,?,?,?,?)
20240915@163122.3370 mmg5on9judlce61aeupav341rb Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66e6f4014666e6fdc957','2405955','wait',39,'adm09112754980.682000002')
20240915@163122.4110 mmg5on9judlce61aeupav341rb Query : use flama_phc
20240915@163122.4140 mmg5on9judlce61aeupav341rb Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@163122.4430 mmg5on9judlce61aeupav341rb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2007';
20240915@163122.4720 mmg5on9judlce61aeupav341rb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2007';
20240915@163122.5130 mmg5on9judlce61aeupav341rb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2007';
20240915@163122.5360 mmg5on9judlce61aeupav341rb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2007';
20240915@163122.1038 63qclla65n14pggnh2705sjvh0 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240915@163122.1049 63qclla65n14pggnh2705sjvh0 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240915@163122.1101 63qclla65n14pggnh2705sjvh0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2008';
20240915@163122.1153 63qclla65n14pggnh2705sjvh0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2008';
20240915@163122.1204 63qclla65n14pggnh2705sjvh0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2008';
20240915@163122.1229 63qclla65n14pggnh2705sjvh0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2008';
20240915@163122.1293 63qclla65n14pggnh2705sjvh0 Query : use flama_phc
20240915@163122.1296 63qclla65n14pggnh2705sjvh0 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240915@163122.1355 63qclla65n14pggnh2705sjvh0 Query : use flama_phc
20240915@163122.1358 63qclla65n14pggnh2705sjvh0 Query : select no, estab,szadrsdesc from szadrs where u_coddest=6975
20240915@163122.1434 63qclla65n14pggnh2705sjvh0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2300.00.1'
20240915@163122.1457 63qclla65n14pggnh2705sjvh0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405956 and bi.ref ='324.2300.00.1' and bi.lordem =1
20240915@163122.2934 63qclla65n14pggnh2705sjvh0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2317.00.1'
20240915@163122.2958 63qclla65n14pggnh2705sjvh0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405956 and bi.ref ='324.2317.00.1' and bi.lordem =2
20240915@163122.3274 63qclla65n14pggnh2705sjvh0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1317.00.1'
20240915@163122.3296 63qclla65n14pggnh2705sjvh0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405956 and bi.ref ='324.1317.00.1' and bi.lordem =3
20240915@163122.3606 63qclla65n14pggnh2705sjvh0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1321.00.1'
20240915@163122.3625 63qclla65n14pggnh2705sjvh0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405956 and bi.ref ='324.1321.00.1' and bi.lordem =4
20240915@163122.3933 63qclla65n14pggnh2705sjvh0 Query : use flama_phc
20240915@163122.3936 63qclla65n14pggnh2705sjvh0 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240915@163122.3969 63qclla65n14pggnh2705sjvh0 Query : use flama_phc
20240915@163122.3973 63qclla65n14pggnh2705sjvh0 Query : select top 1 1 valor from td where td.ndoc = 39
20240915@163122.4004 63qclla65n14pggnh2705sjvh0 Query : use flama_phc
20240915@163122.4007 63qclla65n14pggnh2705sjvh0 Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240915@163122.4035 63qclla65n14pggnh2705sjvh0 Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20240915@163122.4071 63qclla65n14pggnh2705sjvh0 Query : use flama_phc
20240915@163122.4074 63qclla65n14pggnh2705sjvh0 Query : select top 1 ~inactivo valor from cl where no = '200500' and estab = 0 order by inactivo desc
20240915@163122.4106 63qclla65n14pggnh2705sjvh0 Query : use flama_phc
20240915@163122.4109 63qclla65n14pggnh2705sjvh0 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240915@163122.4139 63qclla65n14pggnh2705sjvh0 Query : use flama_phc
20240915@163122.4142 63qclla65n14pggnh2705sjvh0 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240915@163122.4183 63qclla65n14pggnh2705sjvh0 Query : use flama_phc
20240915@163122.4186 63qclla65n14pggnh2705sjvh0 Query : select szadrsstamp valor from szadrs where szadrsdesc='eldisser, s.a. - tarragona'
20240915@163122.4230 63qclla65n14pggnh2705sjvh0 Query : use flama_phc
20240915@163122.4233 63qclla65n14pggnh2705sjvh0 Query : select 1 valor from td where ndoc = 39
20240915@163122.4245 63qclla65n14pggnh2705sjvh0 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240915@163122.4258 63qclla65n14pggnh2705sjvh0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163122.4273 63qclla65n14pggnh2705sjvh0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240915@163122.4337 63qclla65n14pggnh2705sjvh0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163122.5133 63qclla65n14pggnh2705sjvh0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240915@163122.5161 63qclla65n14pggnh2705sjvh0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163122.5186 63qclla65n14pggnh2705sjvh0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240915@163122.5199 63qclla65n14pggnh2705sjvh0 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240915@163122.5266 63qclla65n14pggnh2705sjvh0 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240915@163122.5278 63qclla65n14pggnh2705sjvh0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163122.5293 63qclla65n14pggnh2705sjvh0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240915@163122.5307 63qclla65n14pggnh2705sjvh0 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66e6f9553966e6fdca7e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240915@163122.5474 63qclla65n14pggnh2705sjvh0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163122.5489 63qclla65n14pggnh2705sjvh0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240915@163122.5521 63qclla65n14pggnh2705sjvh0 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240915@163122.5532 63qclla65n14pggnh2705sjvh0 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240915@163122.5544 63qclla65n14pggnh2705sjvh0 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240915@163122.5555 63qclla65n14pggnh2705sjvh0 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240915@163122.5566 63qclla65n14pggnh2705sjvh0 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240915@163122.5581 63qclla65n14pggnh2705sjvh0 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240915@163122.5592 63qclla65n14pggnh2705sjvh0 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66e6f9553966e6fdca7e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240915@163122.5826 63qclla65n14pggnh2705sjvh0 Query : select top 1 fno valor from wsftdata order by fno desc
20240915@163122.5847 63qclla65n14pggnh2705sjvh0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163122.5863 63qclla65n14pggnh2705sjvh0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240915@163122.5886 63qclla65n14pggnh2705sjvh0 Query : select 'normal' from dummy
20240915@163122.5901 63qclla65n14pggnh2705sjvh0 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66e6f9553966e6fdca7e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',757,200500,0,'2024-09-15',39,'euro',0,0,2024 ,?,?)
20240915@163122.6178 63qclla65n14pggnh2705sjvh0 Query : use flama_phc
20240915@163122.6181 63qclla65n14pggnh2705sjvh0 Query : select st.usalote valor from st where st.ref = '324.2300.00.1'
20240915@163122.6201 63qclla65n14pggnh2705sjvh0 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2300.00.1'
20240915@163122.6214 63qclla65n14pggnh2705sjvh0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163122.6237 63qclla65n14pggnh2705sjvh0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163122.6267 63qclla65n14pggnh2705sjvh0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163122.6283 63qclla65n14pggnh2705sjvh0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163122.6293 63qclla65n14pggnh2705sjvh0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163122.6306 63qclla65n14pggnh2705sjvh0 Query : select sestamp valor from se where ref ='324.2300.00.1' and lote = 'r2400497200a'
20240915@163122.6317 63qclla65n14pggnh2705sjvh0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163122.6331 63qclla65n14pggnh2705sjvh0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163122.6342 63qclla65n14pggnh2705sjvh0 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f5789166e6fdca9a','aut66e6f9553966e6fdca7e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163122.6346 63qclla65n14pggnh2705sjvh0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163122.6361 63qclla65n14pggnh2705sjvh0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163122.6389 63qclla65n14pggnh2705sjvh0 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f5789166e6fdca9a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',36.000 ,'aut66e6f9553966e6fdca7e' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240915@163122.6637 63qclla65n14pggnh2705sjvh0 Query : use flama_phc
20240915@163122.6640 63qclla65n14pggnh2705sjvh0 Query : select st.usalote valor from st where st.ref = '324.2317.00.1'
20240915@163122.6659 63qclla65n14pggnh2705sjvh0 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2317.00.1'
20240915@163122.6673 63qclla65n14pggnh2705sjvh0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163122.6688 63qclla65n14pggnh2705sjvh0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163122.6715 63qclla65n14pggnh2705sjvh0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163122.6729 63qclla65n14pggnh2705sjvh0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163122.6737 63qclla65n14pggnh2705sjvh0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163122.6762 63qclla65n14pggnh2705sjvh0 Query : select sestamp valor from se where ref ='324.2317.00.1' and lote = 'r2100576500a'
20240915@163122.6775 63qclla65n14pggnh2705sjvh0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163122.6788 63qclla65n14pggnh2705sjvh0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163122.6799 63qclla65n14pggnh2705sjvh0 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f6966066e6fdcaa5','aut66e6f9553966e6fdca7e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163122.6802 63qclla65n14pggnh2705sjvh0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163122.6816 63qclla65n14pggnh2705sjvh0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163122.6852 63qclla65n14pggnh2705sjvh0 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f6966066e6fdcaa5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66e6f9553966e6fdca7e' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240915@163122.7096 63qclla65n14pggnh2705sjvh0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163122.7111 63qclla65n14pggnh2705sjvh0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163122.7134 63qclla65n14pggnh2705sjvh0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163122.7152 63qclla65n14pggnh2705sjvh0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163122.7161 63qclla65n14pggnh2705sjvh0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163122.7172 63qclla65n14pggnh2705sjvh0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163122.7186 63qclla65n14pggnh2705sjvh0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163122.7200 63qclla65n14pggnh2705sjvh0 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f7019866e6fdcaaf','aut66e6f9553966e6fdca7e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163122.7204 63qclla65n14pggnh2705sjvh0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163122.7218 63qclla65n14pggnh2705sjvh0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163122.7245 63qclla65n14pggnh2705sjvh0 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e6f7019866e6fdcaaf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e6f9553966e6fdca7e' ,0,0 ,2,23.00,30000,?,?,?)
20240915@163122.7647 63qclla65n14pggnh2705sjvh0 Query : use flama_phc
20240915@163122.7962 63qclla65n14pggnh2705sjvh0 Query : select st.usalote valor from st where st.ref = '324.1317.00.1'
20240915@163122.8148 63qclla65n14pggnh2705sjvh0 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1317.00.1'
20240915@163122.8161 63qclla65n14pggnh2705sjvh0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163122.8532 63qclla65n14pggnh2705sjvh0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163122.9410 63qclla65n14pggnh2705sjvh0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163122.9426 63qclla65n14pggnh2705sjvh0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163122.9434 63qclla65n14pggnh2705sjvh0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163122.9446 63qclla65n14pggnh2705sjvh0 Query : select sestamp valor from se where ref ='324.1317.00.1' and lote = 'r2400458200a'
20240915@163122.9458 63qclla65n14pggnh2705sjvh0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163122.9472 63qclla65n14pggnh2705sjvh0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163122.9483 63qclla65n14pggnh2705sjvh0 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f6222566e6fdcae6','aut66e6f9553966e6fdca7e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163122.9487 63qclla65n14pggnh2705sjvh0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163122.9501 63qclla65n14pggnh2705sjvh0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163122.9529 63qclla65n14pggnh2705sjvh0 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f6222566e6fdcae6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66e6f9553966e6fdca7e' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20240915@163122.9777 63qclla65n14pggnh2705sjvh0 Query : use flama_phc
20240915@163122.9779 63qclla65n14pggnh2705sjvh0 Query : select st.usalote valor from st where st.ref = '324.1321.00.1'
20240915@163122.9798 63qclla65n14pggnh2705sjvh0 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1321.00.1'
20240915@163122.9811 63qclla65n14pggnh2705sjvh0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163122.9826 63qclla65n14pggnh2705sjvh0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163122.9850 63qclla65n14pggnh2705sjvh0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163122.9864 63qclla65n14pggnh2705sjvh0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163122.9873 63qclla65n14pggnh2705sjvh0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163122.9884 63qclla65n14pggnh2705sjvh0 Query : select sestamp valor from se where ref ='324.1321.00.1' and lote = 'r2400495200a'
20240915@163122.9896 63qclla65n14pggnh2705sjvh0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163122.9910 63qclla65n14pggnh2705sjvh0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163122.9921 63qclla65n14pggnh2705sjvh0 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f2168266e6fdcaf1','aut66e6f9553966e6fdca7e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163122.9925 63qclla65n14pggnh2705sjvh0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163122.9939 63qclla65n14pggnh2705sjvh0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163122.9966 63qclla65n14pggnh2705sjvh0 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f2168266e6fdcaf1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66e6f9553966e6fdca7e' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20240915@163123.2070 63qclla65n14pggnh2705sjvh0 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66e6f9553966e6fdca7e','2405956','wait',39,'adm09112754980.682000002')
20240915@163123.3000 63qclla65n14pggnh2705sjvh0 Query : use flama_phc
20240915@163123.3030 63qclla65n14pggnh2705sjvh0 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@163123.3330 63qclla65n14pggnh2705sjvh0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2008';
20240915@163123.3630 63qclla65n14pggnh2705sjvh0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2008';
20240915@163123.4050 63qclla65n14pggnh2705sjvh0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2008';
20240915@163123.4300 63qclla65n14pggnh2705sjvh0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2008';
20240915@163611.2600 td3mkbmpr87d0fig37mo063hko Query : use flama_phc
20240915@163611.2650 td3mkbmpr87d0fig37mo063hko Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240915@163611.3530 td3mkbmpr87d0fig37mo063hko Query : use flama_phc
20240915@163611.3550 td3mkbmpr87d0fig37mo063hko Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@171913.2600 2gnv542itao1gmn6q4gntfmnto Query : use flama_phc
20240915@171913.3000 2gnv542itao1gmn6q4gntfmnto Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240915@171913.1200 2gnv542itao1gmn6q4gntfmnto Query : use flama_phc
20240915@171913.1220 2gnv542itao1gmn6q4gntfmnto Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@173613.6417 vbg93316rcebkbdr6e457t3883 Query : use flama_phc
20240915@173613.6422 vbg93316rcebkbdr6e457t3883 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240915@173613.6526 vbg93316rcebkbdr6e457t3883 Query : use flama_phc
20240915@173613.6529 vbg93316rcebkbdr6e457t3883 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@181911.1993 a4jv8i9v992gdoojff21no63oj Query : use flama_phc
20240915@181911.1998 a4jv8i9v992gdoojff21no63oj Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240915@181911.2103 a4jv8i9v992gdoojff21no63oj Query : use flama_phc
20240915@181911.2106 a4jv8i9v992gdoojff21no63oj Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@183611.2126 ninb7p9sv6m9psb0paf8p4cd70 Query : use flama_phc
20240915@183611.2130 ninb7p9sv6m9psb0paf8p4cd70 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240915@183611.2215 ninb7p9sv6m9psb0paf8p4cd70 Query : use flama_phc
20240915@183611.2217 ninb7p9sv6m9psb0paf8p4cd70 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@191910.2114 vt8uoid2rbt1dv24f4rdrfb7vn Query : use flama_phc
20240915@191910.2118 vt8uoid2rbt1dv24f4rdrfb7vn Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240915@191910.2211 vt8uoid2rbt1dv24f4rdrfb7vn Query : use flama_phc
20240915@191910.2214 vt8uoid2rbt1dv24f4rdrfb7vn Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@193610.3214 magdhbhcm38dpo7ug4fk5ifa4k Query : use flama_phc
20240915@193610.3218 magdhbhcm38dpo7ug4fk5ifa4k Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240915@193610.3306 magdhbhcm38dpo7ug4fk5ifa4k Query : use flama_phc
20240915@193610.3309 magdhbhcm38dpo7ug4fk5ifa4k Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@201909.9689 3r2n03jd8sbr60ppg3sp5l924j Query : use flama_phc
20240915@201909.9693 3r2n03jd8sbr60ppg3sp5l924j Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240915@201909.9790 3r2n03jd8sbr60ppg3sp5l924j Query : use flama_phc
20240915@201909.9793 3r2n03jd8sbr60ppg3sp5l924j Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@203610.5110 gombnq2sknfmg90n5lriepp007 Query : use flama_phc
20240915@203610.5160 gombnq2sknfmg90n5lriepp007 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240915@203610.6090 gombnq2sknfmg90n5lriepp007 Query : use flama_phc
20240915@203610.6130 gombnq2sknfmg90n5lriepp007 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@211910.7981 ai0istc3f1tl56g1v5bav0ompf Query : use flama_phc
20240915@211910.7984 ai0istc3f1tl56g1v5bav0ompf Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240915@211910.8080 ai0istc3f1tl56g1v5bav0ompf Query : use flama_phc
20240915@211910.8083 ai0istc3f1tl56g1v5bav0ompf Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@213610.6946 esr80gi4s72nq6vlro72ucm1s0 Query : use flama_phc
20240915@213610.6951 esr80gi4s72nq6vlro72ucm1s0 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240915@213610.7066 esr80gi4s72nq6vlro72ucm1s0 Query : use flama_phc
20240915@213610.7069 esr80gi4s72nq6vlro72ucm1s0 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@221911.5462 0jq8702flemgcto5vlr635mdk5 Query : use flama_phc
20240915@221911.5467 0jq8702flemgcto5vlr635mdk5 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240915@221911.5551 0jq8702flemgcto5vlr635mdk5 Query : use flama_phc
20240915@221911.5554 0jq8702flemgcto5vlr635mdk5 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@223611.6920 ke7fvp71c35t7llg3ecqv1a9cg Query : use flama_phc
20240915@223611.6925 ke7fvp71c35t7llg3ecqv1a9cg Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240915@223611.7026 ke7fvp71c35t7llg3ecqv1a9cg Query : use flama_phc
20240915@223611.7029 ke7fvp71c35t7llg3ecqv1a9cg Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@231910.6530 8m7kc3hqndonges3g07fsdu01d Query : use flama_phc
20240915@231910.6580 8m7kc3hqndonges3g07fsdu01d Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240915@231910.7490 8m7kc3hqndonges3g07fsdu01d Query : use flama_phc
20240915@231910.7530 8m7kc3hqndonges3g07fsdu01d Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@233610.1245 c26logrmba8jl42194ig3n75eb Query : use flama_phc
20240915@233610.1250 c26logrmba8jl42194ig3n75eb Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240915@233610.1340 c26logrmba8jl42194ig3n75eb Query : use flama_phc
20240915@233610.1345 c26logrmba8jl42194ig3n75eb Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240916@071914.1800 81f0fvb5nm9h621or94c7pnaqa Query : use flama_phc
20240916@071914.2200 81f0fvb5nm9h621or94c7pnaqa Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240916@071914.1368 81f0fvb5nm9h621or94c7pnaqa Query : use flama_phc
20240916@071914.1372 81f0fvb5nm9h621or94c7pnaqa Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240916@073604.6920 a9uv2bj8j2tj2ignst7b0dk364 Query : use flama_phc
20240916@073604.6970 a9uv2bj8j2tj2ignst7b0dk364 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240916@073604.7860 a9uv2bj8j2tj2ignst7b0dk364 Query : use flama_phc
20240916@073604.7900 a9uv2bj8j2tj2ignst7b0dk364 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240916@081917.2753 lv184dmgupvjki24or8nokmro9 Query : use flama_phc
20240916@081917.2758 lv184dmgupvjki24or8nokmro9 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240916@081917.2890 lv184dmgupvjki24or8nokmro9 Query : use flama_phc
20240916@081917.2894 lv184dmgupvjki24or8nokmro9 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240916@083617.1557 iso3icjnrpqjasogqing556jjt Query : use flama_phc
20240916@083617.1562 iso3icjnrpqjasogqing556jjt Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240916@083617.1669 iso3icjnrpqjasogqing556jjt Query : use flama_phc
20240916@083617.1672 iso3icjnrpqjasogqing556jjt Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240916@091915.9820 o8f2el59548hvfvvhc8aum0k0o Query : use flama_phc
20240916@091915.9880 o8f2el59548hvfvvhc8aum0k0o Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240916@091915.1085 o8f2el59548hvfvvhc8aum0k0o Query : use flama_phc
20240916@091915.1089 o8f2el59548hvfvvhc8aum0k0o Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240916@093614.9963 qf80bmmk4n07gtm4lnk1mbekeq Query : use flama_phc
20240916@093614.9967 qf80bmmk4n07gtm4lnk1mbekeq Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240916@093615.5200 qf80bmmk4n07gtm4lnk1mbekeq Query : use flama_phc
20240916@093615.5600 qf80bmmk4n07gtm4lnk1mbekeq Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240916@101922.6520 lm9j7catlaq6d58b4ire8q1675 Query : use flama_phc
20240916@101922.6524 lm9j7catlaq6d58b4ire8q1675 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240916@101922.6614 lm9j7catlaq6d58b4ire8q1675 Query : use flama_phc
20240916@101922.6618 lm9j7catlaq6d58b4ire8q1675 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240916@103622.8100 iu0bsu37kbe0cb6cq9m53noot1 Query : use flama_phc
20240916@103622.8105 iu0bsu37kbe0cb6cq9m53noot1 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240916@103622.8202 iu0bsu37kbe0cb6cq9m53noot1 Query : use flama_phc
20240916@103622.8205 iu0bsu37kbe0cb6cq9m53noot1 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240916@110648.6328 argocpvmsh6acfs2f87sfbpmq4 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240916@110648.6360 argocpvmsh6acfs2f87sfbpmq4 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240916@110648.6576 argocpvmsh6acfs2f87sfbpmq4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2009';
20240916@110648.6660 argocpvmsh6acfs2f87sfbpmq4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2009';
20240916@110648.6746 argocpvmsh6acfs2f87sfbpmq4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2009';
20240916@110648.6775 argocpvmsh6acfs2f87sfbpmq4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2009';
20240916@110648.7648 77fckdp2v8hi0htdc6qj2bscd6 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240916@110648.7661 77fckdp2v8hi0htdc6qj2bscd6 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240916@110648.7725 77fckdp2v8hi0htdc6qj2bscd6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2010';
20240916@110648.7784 77fckdp2v8hi0htdc6qj2bscd6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2010';
20240916@110648.7848 77fckdp2v8hi0htdc6qj2bscd6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2010';
20240916@110648.7877 77fckdp2v8hi0htdc6qj2bscd6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2010';
20240916@110648.7924 77fckdp2v8hi0htdc6qj2bscd6 Query : use flama_phc
20240916@110648.7928 77fckdp2v8hi0htdc6qj2bscd6 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240916@110648.8044 77fckdp2v8hi0htdc6qj2bscd6 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2
20240916@110648.8133 77fckdp2v8hi0htdc6qj2bscd6 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.2031.00.1'
20240916@110648.8250 77fckdp2v8hi0htdc6qj2bscd6 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002139 and bi.ref ='324.2031.00.1' and bi.lordem =10000
20240916@110648.8605 77fckdp2v8hi0htdc6qj2bscd6 Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'az24091362326,605000001 ' 
20240916@110648.8915 77fckdp2v8hi0htdc6qj2bscd6 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.988.00.01'
20240916@110648.9032 77fckdp2v8hi0htdc6qj2bscd6 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002139 and bi.ref ='324.988.00.01' and bi.lordem =20000
20240916@110649.4400 77fckdp2v8hi0htdc6qj2bscd6 Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'az24091362360,011000002 ' 
20240916@110649.7530 77fckdp2v8hi0htdc6qj2bscd6 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1642.00.2'
20240916@110649.8660 77fckdp2v8hi0htdc6qj2bscd6 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002139 and bi.ref ='324.1642.00.2' and bi.lordem =30000
20240916@110649.1193 77fckdp2v8hi0htdc6qj2bscd6 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1642.00.2'
20240916@110649.1216 77fckdp2v8hi0htdc6qj2bscd6 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002139 and bi.ref ='324.1642.00.2' and bi.lordem =30000
20240916@110649.1235 77fckdp2v8hi0htdc6qj2bscd6 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '327.8253.00.1'
20240916@110649.1357 77fckdp2v8hi0htdc6qj2bscd6 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002139 and bi.ref ='327.8253.00.1' and bi.lordem =40000
20240916@110649.1733 77fckdp2v8hi0htdc6qj2bscd6 Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'az24091362409,267000004 ' 
20240916@110649.2042 77fckdp2v8hi0htdc6qj2bscd6 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '327.8171.00.1'
20240916@110649.2163 77fckdp2v8hi0htdc6qj2bscd6 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002139 and bi.ref ='327.8171.00.1' and bi.lordem =50000
20240916@110649.2493 77fckdp2v8hi0htdc6qj2bscd6 Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'az24091362426,315000005 ' 
20240916@110649.2808 77fckdp2v8hi0htdc6qj2bscd6 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1831.00.2'
20240916@110649.3180 77fckdp2v8hi0htdc6qj2bscd6 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002139 and bi.ref ='324.1831.00.2' and bi.lordem =60000
20240916@110649.3566 77fckdp2v8hi0htdc6qj2bscd6 Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'az24091362442,738000006 ' 
20240916@110649.3902 77fckdp2v8hi0htdc6qj2bscd6 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1831.00.2'
20240916@110649.3935 77fckdp2v8hi0htdc6qj2bscd6 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002139 and bi.ref ='324.1831.00.2' and bi.lordem =60000
20240916@110649.3969 77fckdp2v8hi0htdc6qj2bscd6 Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'az24091362442,738000006 ' 
20240916@110649.4015 77fckdp2v8hi0htdc6qj2bscd6 Query : use flama_phc
20240916@110649.4019 77fckdp2v8hi0htdc6qj2bscd6 Query : select top 1 1 valor from ts where ts.ndos = 5
20240916@110649.4122 77fckdp2v8hi0htdc6qj2bscd6 Query : use flama_phc
20240916@110649.4126 77fckdp2v8hi0htdc6qj2bscd6 Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240916@110649.4218 77fckdp2v8hi0htdc6qj2bscd6 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 and trfa =1) then 1 else 0 end saida ,stneg validatestock ,tiposaft ,veserie useserialnumber ,foserie assetin ,ftserie assetout ,veserie assets ,trfarm assetstransfer ,grelha usegridfields from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos =5
20240916@110649.4367 77fckdp2v8hi0htdc6qj2bscd6 Query : use flama_phc
20240916@110649.4371 77fckdp2v8hi0htdc6qj2bscd6 Query : select top 1 ~inactivo valor from fl where no = '100500' and estab = 0 order by inactivo desc
20240916@110649.4480 77fckdp2v8hi0htdc6qj2bscd6 Query : use flama_phc
20240916@110649.4483 77fckdp2v8hi0htdc6qj2bscd6 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240916@110649.4568 77fckdp2v8hi0htdc6qj2bscd6 Query : use flama_phc
20240916@110649.4571 77fckdp2v8hi0htdc6qj2bscd6 Query : select szadrsstamp valor from szadrs where szadrsdesc='n/instalaÇÕes sede'
20240916@110649.4631 77fckdp2v8hi0htdc6qj2bscd6 Query : use flama_phc
20240916@110649.4634 77fckdp2v8hi0htdc6qj2bscd6 Query : select 1 valor from ts where ndos = 5
20240916@110649.4710 77fckdp2v8hi0htdc6qj2bscd6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@110649.5049 77fckdp2v8hi0htdc6qj2bscd6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo' and documentnumber = 5
20240916@110649.5158 77fckdp2v8hi0htdc6qj2bscd6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@110649.5173 77fckdp2v8hi0htdc6qj2bscd6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo2' and documentnumber = 5
20240916@110649.5182 77fckdp2v8hi0htdc6qj2bscd6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@110649.5201 77fckdp2v8hi0htdc6qj2bscd6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo3' and documentnumber = 5
20240916@110649.5217 77fckdp2v8hi0htdc6qj2bscd6 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
20240916@110649.5344 77fckdp2v8hi0htdc6qj2bscd6 Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 5 and boano=2024 order by obrano desc
20240916@110649.5532 77fckdp2v8hi0htdc6qj2bscd6 Query : select top 1 bo.obrano valor from wsbodata bo where bo.ndos = 5 and boano=2024 order by obrano desc
20240916@110649.5633 77fckdp2v8hi0htdc6qj2bscd6 Query : use flama_phc
20240916@110649.5641 77fckdp2v8hi0htdc6qj2bscd6 Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='100500' and estab=0
20240916@110649.5733 77fckdp2v8hi0htdc6qj2bscd6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@110649.5749 77fckdp2v8hi0htdc6qj2bscd6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo3' and documentnumber = 5
20240916@110649.5796 77fckdp2v8hi0htdc6qj2bscd6 Query : insert into wsbo3data (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e800137566e8033989',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20240916@110649.5878 77fckdp2v8hi0htdc6qj2bscd6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@110649.5894 77fckdp2v8hi0htdc6qj2bscd6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo2' and documentnumber = 5
20240916@110649.5907 77fckdp2v8hi0htdc6qj2bscd6 Query : insert into wsbo2data (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,xpddata,xpdhora,carga,descar) values ('aut66e800137566e8033989','ga','bo',0 ,0,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut','20240916','11:36',?,?)
20240916@110649.6218 77fckdp2v8hi0htdc6qj2bscd6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@110649.6238 77fckdp2v8hi0htdc6qj2bscd6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo' and documentnumber = 5
20240916@110649.6297 77fckdp2v8hi0htdc6qj2bscd6 Query : insert into wsbodata (bostamp, nmdos, dataobra, ndos, obrano, no, estab, nome, ncont, morada, local, codpost, moeda, boano, memissao,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,maquina ) values ('aut66e800137566e8033989','trf entre armazéns a','2024-09-16',5,460,?,?,?,?,?,?,?,?,2024, (select valor from para1 where descricao = 'ge_euro') ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',?)
20240916@110649.6907 77fckdp2v8hi0htdc6qj2bscd6 Query : use flama_phc
20240916@110649.6910 77fckdp2v8hi0htdc6qj2bscd6 Query : select st.usalote valor from st where st.ref = '324.2031.00.1'
20240916@110649.7026 77fckdp2v8hi0htdc6qj2bscd6 Query : use flama_phc
20240916@110649.7030 77fckdp2v8hi0htdc6qj2bscd6 Query : select st.stns valor from st where st.ref = '324.2031.00.1'
20240916@110649.7133 77fckdp2v8hi0htdc6qj2bscd6 Query : use flama_phc
20240916@110649.7136 77fckdp2v8hi0htdc6qj2bscd6 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.2031.00.1' and sa.armazem = 133 
20240916@110649.7207 77fckdp2v8hi0htdc6qj2bscd6 Query : use flama_phc
20240916@110649.7210 77fckdp2v8hi0htdc6qj2bscd6 Query : select st.stns valor from st where st.ref = '324.2031.00.1'
20240916@110649.7234 77fckdp2v8hi0htdc6qj2bscd6 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2031.00.1'
20240916@110649.7380 77fckdp2v8hi0htdc6qj2bscd6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@110649.7396 77fckdp2v8hi0htdc6qj2bscd6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240916@110649.7412 77fckdp2v8hi0htdc6qj2bscd6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@110649.7426 77fckdp2v8hi0htdc6qj2bscd6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240916@110649.7436 77fckdp2v8hi0htdc6qj2bscd6 Query : select sestamp valor from se where ref ='324.2031.00.1' and lote = 'r2100232100a'
20240916@110649.7501 77fckdp2v8hi0htdc6qj2bscd6 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@110649.7543 77fckdp2v8hi0htdc6qj2bscd6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@110649.7560 77fckdp2v8hi0htdc6qj2bscd6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240916@110649.7595 77fckdp2v8hi0htdc6qj2bscd6 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66e805845866e80339b8','aut66e800137566e8033989',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut66e800137566e8033989'
20240916@110649.8378 77fckdp2v8hi0htdc6qj2bscd6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@110649.8681 77fckdp2v8hi0htdc6qj2bscd6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240916@110649.9074 77fckdp2v8hi0htdc6qj2bscd6 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut66e805845866e80339b8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 30.000, 30.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,10000 ,23.7,23.7*200.48,23.7,23.7*200.48 ,0,0,'un ','' ,bo.marcada,1 ,23.7*30.000,23.7*30.000*200.48 ,8.924000,8.924000*200.48 ,8.924000,8.924000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,23.7,23.7*200.48,23.7*30.000,23.7*30.000*200.48,'az24091362326,605000001 ',23.7,23.7*30.000,23.7,23.7*30.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66e800137566e8033989'
20240916@110649.9574 77fckdp2v8hi0htdc6qj2bscd6 Query : use flama_phc
20240916@110649.9578 77fckdp2v8hi0htdc6qj2bscd6 Query : select st.usalote valor from st where st.ref = '324.988.00.01'
20240916@110649.9593 77fckdp2v8hi0htdc6qj2bscd6 Query : use flama_phc
20240916@110649.9596 77fckdp2v8hi0htdc6qj2bscd6 Query : select st.stns valor from st where st.ref = '324.988.00.01'
20240916@110649.9612 77fckdp2v8hi0htdc6qj2bscd6 Query : use flama_phc
20240916@110649.9615 77fckdp2v8hi0htdc6qj2bscd6 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.988.00.01' and sa.armazem = 133 
20240916@110649.9701 77fckdp2v8hi0htdc6qj2bscd6 Query : use flama_phc
20240916@110649.9704 77fckdp2v8hi0htdc6qj2bscd6 Query : select st.stns valor from st where st.ref = '324.988.00.01'
20240916@110649.9728 77fckdp2v8hi0htdc6qj2bscd6 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.988.00.01'
20240916@110649.9894 77fckdp2v8hi0htdc6qj2bscd6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@110649.9911 77fckdp2v8hi0htdc6qj2bscd6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240916@110649.9925 77fckdp2v8hi0htdc6qj2bscd6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@110649.9939 77fckdp2v8hi0htdc6qj2bscd6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240916@110649.9948 77fckdp2v8hi0htdc6qj2bscd6 Query : select sestamp valor from se where ref ='324.988.00.01' and lote = 'r2400410200a'
20240916@110649.9997 77fckdp2v8hi0htdc6qj2bscd6 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@110650.1000 77fckdp2v8hi0htdc6qj2bscd6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@110650.2500 77fckdp2v8hi0htdc6qj2bscd6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240916@110650.3800 77fckdp2v8hi0htdc6qj2bscd6 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66e808296466e8033a00','aut66e800137566e8033989',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut66e800137566e8033989'
20240916@110650.1870 77fckdp2v8hi0htdc6qj2bscd6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@110650.2100 77fckdp2v8hi0htdc6qj2bscd6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240916@110650.2270 77fckdp2v8hi0htdc6qj2bscd6 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut66e808296466e8033a00',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 20.000, 20.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,20000 ,32,32*200.48,32,32*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,32*20.000,32*20.000*200.48 ,12.395000,12.395000*200.48 ,12.395000,12.395000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,32,32*200.48,32*20.000,32*20.000*200.48,'az24091362360,011000002 ',32,32*20.000,32,32*20.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66e800137566e8033989'
20240916@110650.5390 77fckdp2v8hi0htdc6qj2bscd6 Query : use flama_phc
20240916@110650.5430 77fckdp2v8hi0htdc6qj2bscd6 Query : select st.usalote valor from st where st.ref = '324.1642.00.2'
20240916@110650.5610 77fckdp2v8hi0htdc6qj2bscd6 Query : use flama_phc
20240916@110650.5640 77fckdp2v8hi0htdc6qj2bscd6 Query : select st.stns valor from st where st.ref = '324.1642.00.2'
20240916@110650.5800 77fckdp2v8hi0htdc6qj2bscd6 Query : use flama_phc
20240916@110650.5820 77fckdp2v8hi0htdc6qj2bscd6 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.1642.00.2' and sa.armazem = 133 
20240916@110650.6530 77fckdp2v8hi0htdc6qj2bscd6 Query : use flama_phc
20240916@110650.6550 77fckdp2v8hi0htdc6qj2bscd6 Query : select st.stns valor from st where st.ref = '324.1642.00.2'
20240916@110650.6830 77fckdp2v8hi0htdc6qj2bscd6 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1642.00.2'
20240916@110650.8220 77fckdp2v8hi0htdc6qj2bscd6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@110650.8400 77fckdp2v8hi0htdc6qj2bscd6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240916@110650.8520 77fckdp2v8hi0htdc6qj2bscd6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@110650.8770 77fckdp2v8hi0htdc6qj2bscd6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240916@110650.8850 77fckdp2v8hi0htdc6qj2bscd6 Query : select sestamp valor from se where ref ='324.1642.00.2' and lote = 'r2400526200a'
20240916@110650.9070 77fckdp2v8hi0htdc6qj2bscd6 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@110650.9190 77fckdp2v8hi0htdc6qj2bscd6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@110650.9330 77fckdp2v8hi0htdc6qj2bscd6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240916@110650.9440 77fckdp2v8hi0htdc6qj2bscd6 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66e807088566e8033a16','aut66e800137566e8033989',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut66e800137566e8033989'
20240916@110650.1085 77fckdp2v8hi0htdc6qj2bscd6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@110650.1101 77fckdp2v8hi0htdc6qj2bscd6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240916@110650.1127 77fckdp2v8hi0htdc6qj2bscd6 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,eslvu,slvu,esltt,sltt,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut66e807088566e8033a16',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 3.000, 3.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,30000 ,0,0*200.48,0,0*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,0*3.000,0*3.000*200.48 ,31.276000,31.276000*200.48 ,31.276000,31.276000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0*200.48,0*3.000,0*3.000*200.48,0,0*3.000,0,0*3.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66e800137566e8033989'
20240916@110650.1515 77fckdp2v8hi0htdc6qj2bscd6 Query : use flama_phc
20240916@110650.1518 77fckdp2v8hi0htdc6qj2bscd6 Query : select st.usalote valor from st where st.ref = '324.1642.00.2'
20240916@110650.1541 77fckdp2v8hi0htdc6qj2bscd6 Query : use flama_phc
20240916@110650.1543 77fckdp2v8hi0htdc6qj2bscd6 Query : select st.usalote valor from st where st.ref = '327.8253.00.1'
20240916@110650.1556 77fckdp2v8hi0htdc6qj2bscd6 Query : use flama_phc
20240916@110650.1559 77fckdp2v8hi0htdc6qj2bscd6 Query : select st.usalote valor from st where st.ref = '327.8171.00.1'
20240916@110650.1579 77fckdp2v8hi0htdc6qj2bscd6 Query : use flama_phc
20240916@110650.1582 77fckdp2v8hi0htdc6qj2bscd6 Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240916@110650.1596 77fckdp2v8hi0htdc6qj2bscd6 Query : use flama_phc
20240916@110650.1598 77fckdp2v8hi0htdc6qj2bscd6 Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240916@110650.1679 77fckdp2v8hi0htdc6qj2bscd6 Query : use flama_phc
20240916@110650.1683 77fckdp2v8hi0htdc6qj2bscd6 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -110
20240916@110650.1799 77fckdp2v8hi0htdc6qj2bscd6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2010';
20240916@110650.1829 77fckdp2v8hi0htdc6qj2bscd6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2010';
20240916@111915.1484 00o95110nh3n7uj0bbaqcfd4du Query : use flama_phc
20240916@111915.1608 00o95110nh3n7uj0bbaqcfd4du Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240916@111915.1914 00o95110nh3n7uj0bbaqcfd4du Query : use flama_phc
20240916@111915.1918 00o95110nh3n7uj0bbaqcfd4du Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240916@113615.1304 ra3l96p7v8ntlie03tqpgf6392 Query : use flama_phc
20240916@113615.1308 ra3l96p7v8ntlie03tqpgf6392 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240916@113615.1391 ra3l96p7v8ntlie03tqpgf6392 Query : use flama_phc
20240916@113615.1395 ra3l96p7v8ntlie03tqpgf6392 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240916@120349.1093 7evr739fc5j088g8ced1ps1r18 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240916@120349.1111 7evr739fc5j088g8ced1ps1r18 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240916@120349.1229 7evr739fc5j088g8ced1ps1r18 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2011';
20240916@120349.1299 7evr739fc5j088g8ced1ps1r18 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2011';
20240916@120349.1369 7evr739fc5j088g8ced1ps1r18 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2011';
20240916@120349.2943 7evr739fc5j088g8ced1ps1r18 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2011';
20240916@120349.2998 7evr739fc5j088g8ced1ps1r18 Query : use flama_phc
20240916@120349.3002 7evr739fc5j088g8ced1ps1r18 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240916@120349.3069 7evr739fc5j088g8ced1ps1r18 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1608.00.1'
20240916@120349.3289 7evr739fc5j088g8ced1ps1r18 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =002 and bo.boano =2024 and bo.obrano = 2400237 and bi.ref ='324.1608.00.1' and bi.lordem =10000
20240916@120349.3787 7evr739fc5j088g8ced1ps1r18 Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'cps24022934717,021000004 ' 
20240916@120349.4147 7evr739fc5j088g8ced1ps1r18 Query : use flama_phc
20240916@120349.4150 7evr739fc5j088g8ced1ps1r18 Query : select top 1 1 valor from ts where ts.ndos = 61
20240916@120349.4266 7evr739fc5j088g8ced1ps1r18 Query : use flama_phc
20240916@120349.4270 7evr739fc5j088g8ced1ps1r18 Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240916@120349.4313 7evr739fc5j088g8ced1ps1r18 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 and trfa =1) then 1 else 0 end saida ,stneg validatestock ,tiposaft ,veserie useserialnumber ,foserie assetin ,ftserie assetout ,veserie assets ,trfarm assetstransfer ,grelha usegridfields from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos =61
20240916@120349.4485 7evr739fc5j088g8ced1ps1r18 Query : use flama_phc
20240916@120349.4488 7evr739fc5j088g8ced1ps1r18 Query : select top 1 ~inactivo valor from fl where no = '202090' and estab = 00 order by inactivo desc
20240916@120349.4617 7evr739fc5j088g8ced1ps1r18 Query : use flama_phc
20240916@120349.4620 7evr739fc5j088g8ced1ps1r18 Query : select 1 valor from ts where ndos = 61
20240916@120349.4652 7evr739fc5j088g8ced1ps1r18 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@120349.4681 7evr739fc5j088g8ced1ps1r18 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo' and documentnumber = 61
20240916@120349.4717 7evr739fc5j088g8ced1ps1r18 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@120349.4747 7evr739fc5j088g8ced1ps1r18 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo2' and documentnumber = 61
20240916@120349.4763 7evr739fc5j088g8ced1ps1r18 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@120349.4778 7evr739fc5j088g8ced1ps1r18 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo3' and documentnumber = 61
20240916@120349.4788 7evr739fc5j088g8ced1ps1r18 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 = 61
20240916@120349.4923 7evr739fc5j088g8ced1ps1r18 Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2024 order by obrano desc
20240916@120349.5045 7evr739fc5j088g8ced1ps1r18 Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2024 order by obrano desc
20240916@120349.5069 7evr739fc5j088g8ced1ps1r18 Query : use flama_phc
20240916@120349.5075 7evr739fc5j088g8ced1ps1r18 Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='202090' and estab=00
20240916@120349.5420 7evr739fc5j088g8ced1ps1r18 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@120349.5438 7evr739fc5j088g8ced1ps1r18 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo3' and documentnumber = 61
20240916@120349.5463 7evr739fc5j088g8ced1ps1r18 Query : insert into bo3 (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e812886766e810957b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20240916@120349.5556 7evr739fc5j088g8ced1ps1r18 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@120349.5576 7evr739fc5j088g8ced1ps1r18 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo2' and documentnumber = 61
20240916@120349.5589 7evr739fc5j088g8ced1ps1r18 Query : insert into bo2 (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e812886766e810957b','--','bo',7.8190661478599221789 ,1,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20240916@120349.5877 7evr739fc5j088g8ced1ps1r18 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@120349.5903 7evr739fc5j088g8ced1ps1r18 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo' and documentnumber = 61
20240916@120349.5918 7evr739fc5j088g8ced1ps1r18 Query : insert into bo (bostamp, nmdos, dataobra, ndos, obrano, no, estab, nome, ncont, morada, local, codpost, moeda, boano, memissao,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e812886766e810957b','guia r. fornecedor','2024-09-16',61,2402625,?,?,?,?,?,?,?,?,2024, (select valor from para1 where descricao = 'ge_euro') ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20240916@120352.2160 7evr739fc5j088g8ced1ps1r18 Query : use flama_phc
20240916@120352.2210 7evr739fc5j088g8ced1ps1r18 Query : select st.usalote valor from st where st.ref = '324.1608.00.1'
20240916@120352.2670 7evr739fc5j088g8ced1ps1r18 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1608.00.1'
20240916@120352.4360 7evr739fc5j088g8ced1ps1r18 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@120352.4630 7evr739fc5j088g8ced1ps1r18 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 61
20240916@120352.4860 7evr739fc5j088g8ced1ps1r18 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@120352.5120 7evr739fc5j088g8ced1ps1r18 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 61
20240916@120352.5280 7evr739fc5j088g8ced1ps1r18 Query : select sestamp valor from se where ref ='324.1608.00.1' and lote = 'r2400237100a'
20240916@120352.5610 7evr739fc5j088g8ced1ps1r18 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@120352.5770 7evr739fc5j088g8ced1ps1r18 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'se' and documentnumber = 0
20240916@120352.5870 7evr739fc5j088g8ced1ps1r18 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@120352.6000 7evr739fc5j088g8ced1ps1r18 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'se' and documentnumber = 0
20240916@120352.6120 7evr739fc5j088g8ced1ps1r18 Query : insert into se (sestamp,ref, lote, data,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e810869366e810980e',?,?,'20240916',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut;','aut;')
20240916@120352.1532 7evr739fc5j088g8ced1ps1r18 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@120352.1548 7evr739fc5j088g8ced1ps1r18 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@120352.1563 7evr739fc5j088g8ced1ps1r18 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 61
20240916@120352.1576 7evr739fc5j088g8ced1ps1r18 Query : insert into bi2 (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66e817285166e8109825','aut66e812886766e810957b',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from bo bo where bo.bostamp = 'aut66e812886766e810957b'
20240916@120352.1788 7evr739fc5j088g8ced1ps1r18 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@120352.1807 7evr739fc5j088g8ced1ps1r18 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 61
20240916@120352.1825 7evr739fc5j088g8ced1ps1r18 Query : insert into bi (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,obistamp ,stipo) select 'aut66e817285166e8109825',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 798, 798*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,10000 ,10.28,10.28*200.48,10.28,10.28*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,10.28*798,10.28*798*200.48 ,10.773000,10.773000*200.48 ,10.773000,10.773000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,10.28,10.28*200.48,10.28*798,10.28*798*200.48,'cps24022934717,021000004 ',80.38,80.38*798,80.38,80.38*798,?,?,?,4 from bo bo where bo.bostamp = 'aut66e812886766e810957b'
20240916@120400.5413 7evr739fc5j088g8ced1ps1r18 Query : use flama_phc
20240916@120400.5421 7evr739fc5j088g8ced1ps1r18 Query : declare @bostamp varchar(25) = 'aut66e812886766e810957b' ,@bistamp varchar(25) = '' update bi set tecoval = qtt * ecoval ,etecoval = qtt * eecoval ,tecoval2 = qtt * ecoval2 ,etecoval2 = qtt * eecoval2 where bi.bostamp = @bostamp and bi.bistamp = case when @bistamp <> '' then @bistamp else bi.bistamp end -- se tiver classificação e não for normal, não calcula nada update bi set ttdeb = 0 ,ettdeb = 0 ,ttmoeda = 0 where bi.bostamp = @bostamp and bi.bistamp = case when @bistamp <> '' then @bistamp else bi.bistamp end and bi.classifc <> '' and bi.classifc <> 'normal' -- no caso normal com moeda euro if exists ( select 1 from bo cross apply ( select valor moeda from para1 where descricao = 'ge_pteoueuro' ) par where bo.bostamp = @bostamp and bo.moeda = par.moeda ) begin -- sem ecovalores update bi set ettdeb = round(bi.qtt * ((bi.edebito * (1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100))), 6) ,ttdeb = round(bi.qtt * ((bi.debito * (1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100))), 6) ,ttmoeda = 0 from bi inner join bo on bi.bostamp = bo.bostamp where bi.bostamp = @bostamp and bi.bistamp = case when @bistamp <> '' then @bistamp else bi.bistamp end and ( bi.classifc = '' or bi.classifc = 'normal' ) and bi.econotcalc = 1 -- com ecovalores update bi set ettdeb = round(bi.qtt * ( ( bi.edebito + ( iif(p.st_econotdesc = 1, - bi.eecoval2, bi.eecoval) * ( 1 + iif(bi.ivaincl = 1 and tiva.taxa <> 0, tiva.taxa / 100, 0) ) ) ) * (1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100) ), 6) + ( bi.qtt * iif(p.st_econotdesc = 1, (bi.eecoval + bi.eecoval2) * ( 1 + iif(bi.ivaincl = 1 and tiva.taxa <> 0, tiva.taxa / 100, 0) ), 0) ) ,ttdeb = round(bi.qtt * ( ( bi.debito + ( iif(p.st_econotdesc = 1, - bi.ecoval2, bi.ecoval) * ( 1 + iif(bi.ivaincl = 1 and tiva.taxa <> 0, tiva.taxa / 100, 0) ) ) ) * (1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100) ), 6) + ( bi.qtt * iif(p.st_econotdesc = 1, (bi.ecoval + bi.ecoval2) * ( 1 + iif(bi.ivaincl = 1 and tiva.taxa <> 0, tiva.taxa / 100, 0) ), 0) ) ,ttmoeda = 0 from bi inner join bo on bi.bostamp = bo.bostamp left join st on bi.ref = st.ref left join taxasiva tiva on bi.tabiva = tiva.codigo cross apply ( select max(valor) st_econotdesc from ( select case when valor = 's' then 1 else 0 end valor from para1 where descricao = 'st_econotdesc' union all select 0 ) a ) p where bi.bostamp = @bostamp and bi.bistamp = case when @bistamp <> '' then @bistamp else bi.bistamp end and ( bi.classifc = '' or bi.classifc = 'normal' ) and bi.econotcalc = 0 --acrescenta os descontos em valor, caso existam: update bi set ettdeb = round(bi.ettdeb - (bi.qtt * bi.evaldesc), 2) ,ttdeb = round(bi.ttdeb - (bi.qtt * bi.valdesc), 2) ,ttmoeda = 0 from bi where bi.bostamp = @bostamp and bi.bistamp = case when @bistamp <> '' then @bistamp else bi.bistamp end and ( bi.classifc = '' or bi.classifc = 'normal' ) and bi.valdesc <> 0 end else begin update bi set ttmoeda = round((1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100) * bi.qtt * bi.vumoeda, 2) ,ettdeb = case when bo2.cambio <> 0 then round((round((1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100) * bi.qtt * bi.vumoeda, 2)) / bo2.cambio, 2) else 0 end ,edebito = case when bi.qtt = 0 then 0 else round(abs(( case when bo2.cambio <> 0 then round((round((1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100) * bi.qtt * bi.vumoeda, 2)) / bo2.cambio, 2) else 0 end ) / (1 - bi.desconto / 100) / (1 - bi.desc2 / 100) / (1 - bi.desc3 / 100) / (1 - bi.desc4 / 100) / (1 - bi.desc5 / 100) / (1 - bi.desc6 / 100) / bi.qtt), 2) end ,debito = case when bi.qtt = 0 then 0 else round(abs(( case when bo2.cambio <> 0 then round((round((1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100) * bi.qtt * bi.vumoeda, 2)) / bo2.cambio, 2) else 0 end ) / (1 - bi.desconto / 100) / (1 - bi.desc2 / 100) / (1 - bi.desc3 / 100) / (1 - bi.desc4 / 100) / (1 - bi.desc5 / 100) / (1 - bi.desc6 / 100) / bi.qtt), 2) end * 200.482 from bi inner join bo2 on bi.bostamp = bo2.bo2stamp where bi.bostamp = @bostamp and bi.bistamp = case when @bistamp <> '' then @bistamp else bi.bistamp end and ( bi.classifc = '' or bi.classifc = 'normal' ) update bi set ttdeb = round(bi.ttdeb - (bi.qtt * bi.valdesc), 2) ,ettdeb = round(bi.ettdeb - (bi.qtt * bi.evaldesc), 0) ,debito = round(bi.debito - (bi.qtt * bi.valdesc), 2) ,edebito = round(bi.edebito - (bi.qtt * bi.evaldesc), 2) where bi.bostamp = @bostamp and bi.bistamp = case when @bistamp <> '' then @bistamp else bi.bistamp end and ( bi.classifc = '' or bi.classifc = 'normal' ) and bi.valdesc <> 0 end 
20240916@120415.7007 7evr739fc5j088g8ced1ps1r18 Query : use flama_phc
20240916@120415.7013 7evr739fc5j088g8ced1ps1r18 Query : select 1 valor from bo where bo.bostamp = 'aut66e812886766e810957b'
20240916@120415.7139 7evr739fc5j088g8ced1ps1r18 Query : declare @errno int ,@errmsg varchar(255) ,@prod bit ,@nrdec numeric(10, 0) ,@totaldeb numeric(18, 5) ,@etotaldeb numeric(19, 6) ,@total numeric(18, 5) ,@etotal numeric(19, 6) ,@custo numeric(18, 5) ,@ecusto numeric(19, 6) ,@bo_1iliq numeric(19, 6) ,@bo_2iliq numeric(19, 6) ,@base1 numeric(19, 6) ,@base2 numeric(19, 6) ,@moetotal numeric(13, 3) ,@smoe1 numeric(13, 3) ,@smoe2 numeric(13, 3) ,@smoe3 numeric(13, 3) ,@smoe4 numeric(13, 3) ,@bo11_bins numeric(18, 5) ,@bo21_bins numeric(18, 5) ,@bo31_bins numeric(18, 5) ,@bo41_bins numeric(18, 5) ,@bo51_bins numeric(18, 5) ,@bo61_bins numeric(18, 5) ,@bo71_bins numeric(18, 5) ,@bo81_bins numeric(18, 5) ,@bo91_bins numeric(18, 5) ,@bo12_bins numeric(18, 5) ,@bo22_bins numeric(18, 5) ,@bo32_bins numeric(18, 5) ,@bo42_bins numeric(18, 5) ,@bo52_bins numeric(18, 5) ,@bo62_bins numeric(18, 5) ,@bo72_bins numeric(18, 5) ,@bo82_bins numeric(18, 5) ,@bo92_bins numeric(18, 5) ,@ebo11_bins numeric(19, 6) ,@ebo21_bins numeric(19, 6) ,@ebo31_bins numeric(19, 6) ,@ebo41_bins numeric(19, 6) ,@ebo51_bins numeric(19, 6) ,@ebo61_bins numeric(19, 6) ,@ebo71_bins numeric(18, 5) ,@ebo81_bins numeric(18, 5) ,@ebo91_bins numeric(18, 5) ,@ebo12_bins numeric(19, 6) ,@ebo22_bins numeric(19, 6) ,@ebo32_bins numeric(19, 6) ,@ebo42_bins numeric(19, 6) ,@ebo52_bins numeric(19, 6) ,@ebo62_bins numeric(19, 6) ,@ebo72_bins numeric(18, 5) ,@ebo82_bins numeric(18, 5) ,@ebo92_bins numeric(18, 5) ,@bo11_iva numeric(18, 5) ,@bo21_iva numeric(18, 5) ,@bo31_iva numeric(18, 5) ,@bo41_iva numeric(18, 5) ,@bo51_iva numeric(18, 5) ,@bo61_iva numeric(18, 5) ,@bo71_iva numeric(18, 5) ,@bo81_iva numeric(18, 5) ,@bo91_iva numeric(18, 5) ,@bo12_iva numeric(18, 5) ,@bo22_iva numeric(18, 5) ,@bo32_iva numeric(18, 5) ,@bo42_iva numeric(18, 5) ,@bo52_iva numeric(18, 5) ,@bo62_iva numeric(18, 5) ,@bo72_iva numeric(18, 5) ,@bo82_iva numeric(18, 5) ,@bo92_iva numeric(18, 5) ,@ebo11_iva numeric(19, 6) ,@ebo21_iva numeric(19, 6) ,@ebo31_iva numeric(19, 6) ,@ebo41_iva numeric(19, 6) ,@ebo51_iva numeric(19, 6) ,@ebo61_iva numeric(19, 6) ,@ebo71_iva numeric(18, 5) ,@ebo81_iva numeric(18, 5) ,@ebo91_iva numeric(18, 5) ,@ebo12_iva numeric(19, 6) ,@ebo22_iva numeric(19, 6) ,@ebo32_iva numeric(19, 6) ,@ebo42_iva numeric(19, 6) ,@ebo52_iva numeric(19, 6) ,@ebo62_iva numeric(19, 6) ,@ebo72_iva numeric(18, 5) ,@ebo82_iva numeric(18, 5) ,@ebo92_iva numeric(18, 5) ,@esdeb1 numeric(19, 6) ,@esdeb2 numeric(19, 6) ,@esdeb3 numeric(19, 6) ,@esdeb4 numeric(19, 6) ,@sdeb1 numeric(18, 5) ,@sdeb2 numeric(18, 5) ,@sdeb3 numeric(18, 5) ,@sdeb4 numeric(18, 5) ,@estot1 numeric(19, 6) ,@estot2 numeric(19, 6) ,@estot3 numeric(19, 6) ,@estot4 numeric(19, 6) ,@stot1 numeric(18, 5) ,@stot2 numeric(18, 5) ,@stot3 numeric(18, 5) ,@stot4 numeric(18, 5) ,@ebo_1tvall numeric(19, 6) ,@ebo_2tvall numeric(19, 6) ,@bo_1tvall numeric(18, 5) ,@bo_2tvall numeric(18, 5) ,@ebo_totp1 numeric(19, 6) ,@ebo_totp2 numeric(19, 6) ,@bo_totp1 numeric(18, 5) ,@bo_totp2 numeric(18, 5) ,@sqtt11 numeric(13, 3) ,@sqtt21 numeric(13, 3) ,@sqtt12 numeric(13, 3) ,@sqtt22 numeric(13, 3) ,@sqtt13 numeric(13, 3) ,@sqtt23 numeric(13, 3) ,@sqtt14 numeric(13, 3) ,@sqtt24 numeric(13, 3) ,@userinis varchar (30) ,@mybostamp char(25) = 'aut66e812886766e810957b' declare @totaisiva table ( bostamp varchar (25), codigo numeric(1), taxa numeric (5,2), ebaseinc numeric (19,6), baseinc numeric (18,5), evalor numeric (19,6), valor numeric (18,5) ) set @prod = ( select ts.producao from bo(nolock) inner join ts(nolock) on bo.ndos = ts.ndos and bo.bostamp = @mybostamp ) set @nrdec = ( select convert(numeric(10, 0), valor) from para1(nolock) where descricao = 'de_euro' ) --set @prod = 0 --set @nrdec = 2 select @ecusto = sum(bi.epcusto * bi.qtt) ,@custo = sum(bi.pcusto * bi.qtt) ,@bo11_bins = sum(case when bi.tabiva = 1 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo21_bins = sum(case when bi.tabiva = 2 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo31_bins = sum(case when bi.tabiva = 3 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo41_bins = sum(case when bi.tabiva = 4 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo51_bins = sum(case when bi.tabiva = 5 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo61_bins = sum(case when bi.tabiva = 6 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo71_bins = sum(case when bi.tabiva = 7 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo81_bins = sum(case when bi.tabiva = 8 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo91_bins = sum(case when bi.tabiva = 9 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo12_bins = sum(case when bi.tabiva = 1 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo22_bins = sum(case when bi.tabiva = 2 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo32_bins = sum(case when bi.tabiva = 3 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo42_bins = sum(case when bi.tabiva = 4 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo52_bins = sum(case when bi.tabiva = 5 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo62_bins = sum(case when bi.tabiva = 6 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo72_bins = sum(case when bi.tabiva = 7 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo82_bins = sum(case when bi.tabiva = 8 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo92_bins = sum(case when bi.tabiva = 9 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo11_bins = sum(case when bi.tabiva = 1 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo21_bins = sum(case when bi.tabiva = 2 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo31_bins = sum(case when bi.tabiva = 3 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo41_bins = sum(case when bi.tabiva = 4 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo51_bins = sum(case when bi.tabiva = 5 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo61_bins = sum(case when bi.tabiva = 6 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo71_bins = sum(case when bi.tabiva = 7 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo81_bins = sum(case when bi.tabiva = 8 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo91_bins = sum(case when bi.tabiva = 9 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo12_bins = sum(case when bi.tabiva = 1 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo22_bins = sum(case when bi.tabiva = 2 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo32_bins = sum(case when bi.tabiva = 3 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo42_bins = sum(case when bi.tabiva = 4 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo52_bins = sum(case when bi.tabiva = 5 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo62_bins = sum(case when bi.tabiva = 6 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo72_bins = sum(case when bi.tabiva = 7 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo82_bins = sum(case when bi.tabiva = 8 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo92_bins = sum(case when bi.tabiva = 9 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo_1iliq = round(sum(bi.qtt * bi.epu), @nrdec) ,@bo_2iliq = round(sum(bi.ettdeb), @nrdec) ,@bo11_iva = sum(case when bi.tabiva = 1 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo12_iva = sum(case when bi.tabiva = 1 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo21_iva = sum(case when bi.tabiva = 2 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo22_iva = sum(case when bi.tabiva = 2 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo31_iva = sum(case when bi.tabiva = 3 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo32_iva = sum(case when bi.tabiva = 3 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo41_iva = sum(case when bi.tabiva = 4 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo42_iva = sum(case when bi.tabiva = 4 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo51_iva = sum(case when bi.tabiva = 5 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo52_iva = sum(case when bi.tabiva = 5 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo61_iva = sum(case when bi.tabiva = 6 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo62_iva = sum(case when bi.tabiva = 6 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo71_iva = sum(case when bi.tabiva = 7 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo72_iva = sum(case when bi.tabiva = 7 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo81_iva = sum(case when bi.tabiva = 8 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo82_iva = sum(case when bi.tabiva = 8 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo91_iva = sum(case when bi.tabiva = 9 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo92_iva = sum(case when bi.tabiva = 9 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo11_iva = sum(case when bi.tabiva = 1 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo12_iva = sum(case when bi.tabiva = 1 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo21_iva = sum(case when bi.tabiva = 2 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo22_iva = sum(case when bi.tabiva = 2 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo31_iva = sum(case when bi.tabiva = 3 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo32_iva = sum(case when bi.tabiva = 3 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo41_iva = sum(case when bi.tabiva = 4 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo42_iva = sum(case when bi.tabiva = 4 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo51_iva = sum(case when bi.tabiva = 5 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo52_iva = sum(case when bi.tabiva = 5 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo61_iva = sum(case when bi.tabiva = 6 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo62_iva = sum(case when bi.tabiva = 6 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo71_iva = sum(case when bi.tabiva = 7 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo72_iva = sum(case when bi.tabiva = 7 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo81_iva = sum(case when bi.tabiva = 8 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo82_iva = sum(case when bi.tabiva = 8 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo91_iva = sum(case when bi.tabiva = 9 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else bi.ettdeb - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo92_iva = sum(case when bi.tabiva = 9 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@esdeb1 = sum(case when bi.stipo <= 1 then case when bi.ivaincl = 0 then bi.ettdeb else bi.ettdeb - round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@esdeb2 = sum(case when bi.stipo = 2 then case when bi.ivaincl = 0 then bi.ettdeb else bi.ettdeb - round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@esdeb3 = sum(case when bi.stipo = 3 then case when bi.ivaincl = 0 then bi.ettdeb else bi.ettdeb - round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@esdeb4 = sum(case when bi.stipo = 4 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) * bi.iva / 100, @nrdec) end else 0 end) ,@sdeb1 = sum(case when bi.stipo <= 1 then case when bi.ivaincl = 0 then bi.ttdeb else bi.ttdeb - round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@sdeb2 = sum(case when bi.stipo = 2 then case when bi.ivaincl = 0 then bi.ttdeb else bi.ttdeb - round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@sdeb3 = sum(case when bi.stipo = 3 then case when bi.ivaincl = 0 then bi.ttdeb else bi.ttdeb - round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@sdeb4 = sum(case when bi.stipo = 4 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) * bi.iva / 100, @nrdec) end else 0 end) ,@smoe1 = sum(case when bi.stipo <= 1 then case when bi.ivaincl = 0 then bi.ttmoeda else round(bi.ttmoeda / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@smoe2 = sum(case when bi.stipo = 2 then case when bi.ivaincl = 0 then bi.ttmoeda else round(bi.ttmoeda / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@smoe3 = sum(case when bi.stipo = 3 then case when bi.ivaincl = 0 then bi.ttmoeda else round(bi.ttmoeda / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@smoe4 = sum(case when bi.stipo = 4 then case when bi.ivaincl = 0 then bi.ttmoeda else round(bi.ttmoeda / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@estot1 = sum(case when bi.stipo <= 1 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@estot2 = sum(case when bi.stipo = 2 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@estot3 = sum(case when bi.stipo = 3 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@estot4 = sum(case when bi.stipo = 4 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@stot1 = sum(case when bi.stipo <= 1 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.pu * bi.qtt) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@stot2 = sum(case when bi.stipo = 2 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.pu * bi.qtt) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@stot3 = sum(case when bi.stipo = 3 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.pu * bi.qtt) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@stot4 = sum(case when bi.stipo = 4 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.pu * bi.qtt) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@total = @stot1 + @stot2 + @stot3 + @stot4 ,@etotal = @estot1 + @estot2 + @estot3 + @estot4 ,@totaldeb = @sdeb1 + @sdeb2 + @sdeb3 + @sdeb4 ,@etotaldeb = @esdeb1 + @esdeb2 + @esdeb3 + @esdeb4 ,@moetotal = @smoe1 + @smoe2 + @smoe3 + @smoe4 ,@ebo_1tvall = @ebo11_bins + @ebo21_bins + @ebo31_bins + @ebo41_bins + @ebo51_bins + @ebo61_bins + @ebo71_bins + @ebo81_bins + @ebo91_bins ,@ebo_2tvall = @ebo12_bins + @ebo22_bins + @ebo32_bins + @ebo42_bins + @ebo52_bins + @ebo62_bins + @ebo72_bins + @ebo82_bins + @ebo92_bins ,@bo_1tvall = @bo11_bins + @bo21_bins + @bo31_bins + @bo41_bins + @bo51_bins + @bo61_bins + @bo71_bins + @bo81_bins + @bo91_bins ,@bo_2tvall = @bo12_bins + @bo22_bins + @bo32_bins + @bo42_bins + @bo52_bins + @bo62_bins + @bo72_bins + @bo82_bins + @bo92_bins ,@ebo_totp1 = sum(case when bi.ivaincl = 0 then (bi.epu * bi.qtt) else round((bi.epu * bi.qtt) / (1 + bi.iva / 100), @nrdec) end) ,@ebo_totp2 = sum(case when bi.ivaincl = 0 then (bi.edebito * bi.qtt) else round((bi.edebito * bi.qtt) / (1 + bi.iva / 100), @nrdec) end) ,@bo_totp1 = sum(case when bi.ivaincl = 0 then (bi.pu * bi.qtt) else round((bi.pu * bi.qtt) / (1 + bi.iva / 100), @nrdec) end) ,@bo_totp2 = sum(case when bi.ivaincl = 0 then (bi.debito * bi.qtt) else round((bi.debito * bi.qtt) / (1 + bi.iva / 100), @nrdec) end) ,@sqtt11 = sum(case when bi.stipo = 1 then bi.qtt else 0 end) ,@sqtt21 = sum(case when bi.stipo = 1 then bi.qtt else 0 end) ,@sqtt12 = sum(case when bi.stipo = 2 then bi.qtt else 0 end) ,@sqtt22 = sum(case when bi.stipo = 2 then bi.qtt else 0 end) ,@sqtt13 = sum(case when bi.stipo = 3 then bi.qtt else 0 end) ,@sqtt23 = sum(case when bi.stipo = 3 then bi.qtt else 0 end) ,@sqtt14 = sum(case when bi.stipo = 4 then bi.qtt else 0 end) ,@sqtt24 = sum(case when bi.stipo = 5 then bi.qtt else 0 end) from bi(nolock) where bi.bostamp = @mybostamp and bi.producao = case when @prod = 1 then 1 else bi.producao end and bi.composto = 0 and bi.qtt <> 0 update bo set bo.totaldeb = isnull(@totaldeb, 0) ,bo.total = isnull(@total, 0) ,bo.etotaldeb = isnull(@etotaldeb, 0) ,bo.moetotal = isnull(@moetotal, 0) ,bo.etotal = isnull(@etotal, 0) ,bo.ecusto = isnull(@ecusto, 0) ,bo.custo = isnull(@custo, 0) ,bo.bo11_bins = isnull(@bo11_bins, 0) ,bo.bo12_bins = isnull(@bo12_bins, 0) ,bo.bo21_bins = isnull(@bo21_bins, 0) ,bo.bo22_bins = isnull(@bo22_bins, 0) ,bo.bo31_bins = isnull(@bo31_bins, 0) ,bo.bo32_bins = isnull(@bo32_bins, 0) ,bo.bo41_bins = isnull(@bo41_bins, 0) ,bo.bo42_bins = isnull(@bo42_bins, 0) ,bo.bo51_bins = isnull(@bo51_bins, 0) ,bo.bo52_bins = isnull(@bo52_bins, 0) ,bo.bo61_bins = isnull(@bo61_bins, 0) ,bo.bo62_bins = isnull(@bo62_bins, 0) ,bo.ebo11_bins = isnull(@ebo11_bins, 0) ,bo.ebo12_bins = isnull(@ebo12_bins, 0) ,bo.ebo21_bins = isnull(@ebo21_bins, 0) ,bo.ebo22_bins = isnull(@ebo22_bins, 0) ,bo.ebo31_bins = isnull(@ebo31_bins, 0) ,bo.ebo32_bins = isnull(@ebo32_bins, 0) ,bo.ebo41_bins = isnull(@ebo41_bins, 0) ,bo.ebo42_bins = isnull(@ebo42_bins, 0) ,bo.ebo51_bins = isnull(@ebo51_bins, 0) ,bo.ebo52_bins = isnull(@ebo52_bins, 0) ,bo.ebo61_bins = isnull(@ebo61_bins, 0) ,bo.ebo62_bins = isnull(@ebo62_bins, 0) ,bo.bo11_iva = isnull(@bo11_iva, 0) ,bo.bo12_iva = isnull(@bo12_iva, 0) ,bo.bo21_iva = isnull(@bo21_iva, 0) ,bo.bo22_iva = isnull(@bo22_iva, 0) ,bo.bo31_iva = isnull(@bo31_iva, 0) ,bo.bo32_iva = isnull(@bo32_iva, 0) ,bo.bo41_iva = isnull(@bo41_iva, 0) ,bo.bo42_iva = isnull(@bo42_iva, 0) ,bo.bo51_iva = isnull(@bo51_iva, 0) ,bo.bo52_iva = isnull(@bo52_iva, 0) ,bo.bo61_iva = isnull(@bo61_iva, 0) ,bo.bo62_iva = isnull(@bo62_iva, 0) ,bo.ebo11_iva = isnull(@ebo11_iva, 0) ,bo.ebo12_iva = isnull(@ebo12_iva, 0) ,bo.ebo21_iva = isnull(@ebo21_iva, 0) ,bo.ebo22_iva = isnull(@ebo22_iva, 0) ,bo.ebo31_iva = isnull(@ebo31_iva, 0) ,bo.ebo32_iva = isnull(@ebo32_iva, 0) ,bo.ebo41_iva = isnull(@ebo41_iva, 0) ,bo.ebo42_iva = isnull(@ebo42_iva, 0) ,bo.ebo51_iva = isnull(@ebo51_iva, 0) ,bo.ebo52_iva = isnull(@ebo52_iva, 0) ,bo.ebo61_iva = isnull(@ebo61_iva, 0) ,bo.ebo62_iva = isnull(@ebo62_iva, 0) ,bo.esdeb1 = isnull(@esdeb1, 0) ,bo.esdeb2 = isnull(@esdeb2, 0) ,bo.esdeb3 = isnull(@esdeb3, 0) ,bo.esdeb4 = isnull(@esdeb4, 0) ,bo.sdeb1 = isnull(@sdeb1, 0) ,bo.sdeb2 = isnull(@sdeb2, 0) ,bo.sdeb3 = isnull(@sdeb3, 0) ,bo.sdeb4 = isnull(@sdeb4, 0) ,bo.smoe1 = isnull(@smoe1, 0) ,bo.smoe2 = isnull(@smoe2, 0) ,bo.smoe3 = isnull(@smoe3, 0) ,bo.smoe4 = isnull(@smoe4, 0) ,bo.estot1 = isnull(@estot1, 0) ,bo.estot2 = isnull(@estot2, 0) ,bo.estot3 = isnull(@estot3, 0) ,bo.estot4 = isnull(@estot4, 0) ,bo.stot1 = isnull(@stot1, 0) ,bo.stot2 = isnull(@stot2, 0) ,bo.stot3 = isnull(@stot3, 0) ,bo.stot4 = isnull(@stot4, 0) ,bo.ebo_1tvall = isnull(@ebo_1tvall, 0) ,bo.ebo_2tvall = isnull(@ebo_2tvall, 0) ,bo.bo_1tvall = isnull(@bo_1tvall, 0) ,bo.bo_2tvall = isnull(@bo_2tvall, 0) ,bo.ebo_totp1 = isnull(@ebo_totp1, 0) ,bo.ebo_totp2 = isnull(@ebo_totp2, 0) ,bo.bo_totp1 = isnull(@bo_totp1, 0) ,bo.bo_totp2 = isnull(@bo_totp2, 0) ,bo.sqtt11 = isnull(@sqtt11, 0) ,bo.sqtt21 = isnull(@sqtt21, 0) ,bo.sqtt12 = isnull(@sqtt12, 0) ,bo.sqtt22 = isnull(@sqtt22, 0) ,bo.sqtt13 = isnull(@sqtt13, 0) ,bo.sqtt23 = isnull(@sqtt23, 0) ,bo.sqtt14 = isnull(@sqtt14, 0) ,bo.sqtt24 = isnull(@sqtt24, 0) where bostamp = @mybostamp update bo2 set bo2.bo71_bins = isnull(@bo71_bins, 0) ,bo2.bo72_bins = isnull(@bo72_bins, 0) ,bo2.bo81_bins = isnull(@bo81_bins, 0) ,bo2.bo82_bins = isnull(@bo82_bins, 0) ,bo2.bo91_bins = isnull(@bo91_bins, 0) ,bo2.bo92_bins = isnull(@bo92_bins, 0) ,bo2.ebo71_bins = isnull(@ebo71_bins, 0) ,bo2.ebo72_bins = isnull(@ebo72_bins, 0) ,bo2.ebo81_bins = isnull(@ebo81_bins, 0) ,bo2.ebo82_bins = isnull(@ebo82_bins, 0) ,bo2.ebo91_bins = isnull(@ebo91_bins, 0) ,bo2.ebo92_bins = isnull(@ebo92_bins, 0) ,bo2.bo71_iva = isnull(@bo71_iva, 0) ,bo2.bo72_iva = isnull(@bo72_iva, 0) ,bo2.bo81_iva = isnull(@bo81_iva, 0) ,bo2.bo82_iva = isnull(@bo82_iva, 0) ,bo2.bo91_iva = isnull(@bo91_iva, 0) ,bo2.bo92_iva = isnull(@bo92_iva, 0) ,bo2.ebo71_iva = isnull(@ebo71_iva, 0) ,bo2.ebo72_iva = isnull(@ebo72_iva, 0) ,bo2.ebo81_iva = isnull(@ebo81_iva, 0) ,bo2.ebo82_iva = isnull(@ebo82_iva, 0) ,bo2.ebo91_iva = isnull(@ebo91_iva, 0) ,bo2.ebo92_iva = isnull(@ebo92_iva, 0) ,bo2.etotalciva = isnull(@etotaldeb, 0) + isnull(@ebo12_iva, 0) +isnull(@ebo22_iva, 0) +isnull(@ebo32_iva, 0) +isnull(@ebo42_iva, 0) +isnull(@ebo52_iva, 0) +isnull(@ebo62_iva, 0) +isnull(@ebo72_iva, 0) +isnull(@ebo82_iva, 0) +isnull(@ebo92_iva, 0) --,bo2.mtotalciva =isnull(@moetotal, 0) where bo2stamp = @mybostamp -- trata os bot select @userinis = usrinis from bo where bo.bostamp=@mybostamp insert into @totaisiva ( bostamp, codigo, taxa, ebaseinc, baseinc, evalor, valor ) select @mybostamp,codigo,taxa ,case when (@ebo11_bins <>0) then @ebo11_bins else @ebo12_bins end ,case when (@ebo11_bins <>0) then @bo11_bins else @bo12_bins end ,case when (@ebo11_bins <>0) then @ebo11_iva else @ebo12_iva end ,case when (@ebo11_bins <>0) then @bo11_iva else @bo12_iva end from taxasiva where codigo = 1 union all select @mybostamp,codigo,taxa ,case when (@ebo21_bins <>0) then @ebo21_bins else @ebo22_bins end ,case when (@ebo21_bins <>0) then @bo21_bins else @bo22_bins end ,case when (@ebo21_bins <>0) then @ebo21_iva else @ebo22_iva end ,case when (@ebo21_bins <>0) then @bo21_iva else @bo22_iva end from taxasiva where codigo = 2 union all select @mybostamp,codigo,taxa ,case when (@ebo31_bins <>0) then @ebo31_bins else @ebo32_bins end ,case when (@ebo31_bins <>0) then @bo31_bins else @bo32_bins end ,case when (@ebo31_bins <>0) then @ebo31_iva else @ebo32_iva end ,case when (@ebo31_bins <>0) then @bo31_iva else @bo32_iva end from taxasiva where codigo = 3 union all select @mybostamp,codigo,taxa ,case when (@ebo41_bins <>0) then @ebo41_bins else @ebo42_bins end ,case when (@ebo41_bins <>0) then @bo41_bins else @bo42_bins end ,case when (@ebo41_bins <>0) then @ebo41_iva else @ebo42_iva end ,case when (@ebo41_bins <>0) then @bo41_iva else @bo42_iva end from taxasiva where codigo = 4 union all select @mybostamp,codigo,taxa ,case when (@ebo51_bins <>0) then @ebo51_bins else @ebo52_bins end ,case when (@ebo51_bins <>0) then @bo51_bins else @bo52_bins end ,case when (@ebo51_bins <>0) then @ebo51_iva else @ebo52_iva end ,case when (@ebo51_bins <>0) then @bo51_iva else @bo52_iva end from taxasiva where codigo = 5 union all select @mybostamp,codigo,taxa ,case when (@ebo61_bins <>0) then @ebo61_bins else @ebo62_bins end ,case when (@ebo61_bins <>0) then @bo61_bins else @bo62_bins end ,case when (@ebo61_bins <>0) then @ebo61_iva else @ebo62_iva end ,case when (@ebo61_bins <>0) then @bo61_iva else @bo62_iva end from taxasiva where codigo = 6 union all select @mybostamp,codigo,taxa ,case when (@ebo71_bins <>0) then @ebo71_bins else @ebo72_bins end ,case when (@ebo71_bins <>0) then @bo71_bins else @bo72_bins end ,case when (@ebo71_bins <>0) then @ebo71_iva else @ebo72_iva end ,case when (@ebo71_bins <>0) then @bo71_iva else @bo72_iva end from taxasiva where codigo = 7 union all select @mybostamp,codigo,taxa ,case when (@ebo81_bins <>0) then @ebo81_bins else @ebo82_bins end ,case when (@ebo81_bins <>0) then @bo81_bins else @bo82_bins end ,case when (@ebo81_bins <>0) then @ebo81_iva else @ebo82_iva end ,case when (@ebo81_bins <>0) then @bo81_iva else @bo82_iva end from taxasiva where codigo = 8 union all select @mybostamp,codigo,taxa ,case when (@ebo91_bins <>0) then @ebo91_bins else @ebo92_bins end ,case when (@ebo91_bins <>0) then @bo91_bins else @bo92_bins end ,case when (@ebo91_bins <>0) then @ebo91_iva else @ebo92_iva end ,case when (@ebo91_bins <>0) then @bo91_iva else @bo92_iva end from taxasiva where codigo = 9 update bot set ebaseinc = totiva.ebaseinc, baseinc = totiva.baseinc, evalor = totiva.evalor, valor = totiva.valor, usrinis = @userinis, usrdata = convert (date,getdate()), usrhora = convert (time,getdate()) from @totaisiva totiva inner join bot on totiva.bostamp = bot.bostamp and totiva.codigo = bot.codigo insert into bot ( botstamp ,bostamp ,codigo ,taxa ,ebaseinc ,baseinc ,evalor ,valor ,ousrinis ,ousrdata ,ousrhora ,usrinis ,usrdata ,usrhora ) select ( left(@userinis,3) + 'tt' + left(newid(),5) + right(newid(),5) + left(newid(),5) + right(newid(),5)) stamp ,@mybostamp stampbo ,totiva.codigo ,totiva.taxa ,totiva.ebaseinc ,totiva.baseinc ,totiva.evalor ,totiva.valor ,@userinis ,convert (date,getdate()) ,convert (time,getdate()) ,@userinis ,convert (date,getdate()) ,convert (time,getdate()) from @totaisiva totiva left join bot on totiva.bostamp = bot.bostamp and totiva.codigo = bot.codigo where bot.botstamp is null -- atualiza os campo bi.series e bi.series2, caso tenha equipamentos update bi set series = s1, series2=s2 from bi inner join ( select distinct bistamp,ser.s1, ser.s2 from boma cross apply (select stuff ( ( select ',' + rtrim(serie) from boma myboma where myboma.bistamp = boma.bistamp order by serie for xml path('') ), 1, 1, '' ) s1 , stuff ( ( select ',' + rtrim(serie2) from boma myboma where myboma.bistamp = boma.bistamp order by serie for xml path('') ), 1, 1, '' ) s2 ) ser where boma.bostamp = @mybostamp ) myboma on bi.bistamp = myboma.bistamp where bi.bostamp = @mybostamp 
20240916@120418.2677 7evr739fc5j088g8ced1ps1r18 Query : use flama_phc
20240916@120418.2681 7evr739fc5j088g8ced1ps1r18 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240916@120418.2887 7evr739fc5j088g8ced1ps1r18 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2011';
20240916@120418.2918 7evr739fc5j088g8ced1ps1r18 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2011';
20240916@121921.2347 r4h8m8ide2jc8leljconfi57tn Query : use flama_phc
20240916@121921.2354 r4h8m8ide2jc8leljconfi57tn Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240916@121921.2501 r4h8m8ide2jc8leljconfi57tn Query : use flama_phc
20240916@121921.2504 r4h8m8ide2jc8leljconfi57tn Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240916@123621.3149 jqbl7fp9sj3bfvuehuha74jpnf Query : use flama_phc
20240916@123621.3153 jqbl7fp9sj3bfvuehuha74jpnf Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240916@123621.3249 jqbl7fp9sj3bfvuehuha74jpnf Query : use flama_phc
20240916@123621.3253 jqbl7fp9sj3bfvuehuha74jpnf Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240916@131914.5962 22jseipjs9g91hks8punnujj04 Query : use flama_phc
20240916@131914.5966 22jseipjs9g91hks8punnujj04 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240916@131914.6270 22jseipjs9g91hks8punnujj04 Query : use flama_phc
20240916@131914.6274 22jseipjs9g91hks8punnujj04 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240916@133614.6862 md82ag6aiad9ohpv92absa8k90 Query : use flama_phc
20240916@133614.6905 md82ag6aiad9ohpv92absa8k90 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240916@133614.7794 md82ag6aiad9ohpv92absa8k90 Query : use flama_phc
20240916@133614.7836 md82ag6aiad9ohpv92absa8k90 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240916@141912.9384 t4jphtest1ml80mlafq0ecbn1i Query : use flama_phc
20240916@141912.9388 t4jphtest1ml80mlafq0ecbn1i Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240916@141912.9480 t4jphtest1ml80mlafq0ecbn1i Query : use flama_phc
20240916@141912.9484 t4jphtest1ml80mlafq0ecbn1i Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240916@142250.2377 jb486a4ape75582v6enm4vgj05 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240916@142250.2408 jb486a4ape75582v6enm4vgj05 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240916@142250.2574 jb486a4ape75582v6enm4vgj05 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2012';
20240916@142250.2840 jb486a4ape75582v6enm4vgj05 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2012';
20240916@142250.2900 jb486a4ape75582v6enm4vgj05 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2012';
20240916@142250.2929 jb486a4ape75582v6enm4vgj05 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2012';
20240916@142250.2977 jb486a4ape75582v6enm4vgj05 Query : use flama_phc
20240916@142250.2981 jb486a4ape75582v6enm4vgj05 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240916@142250.3089 jb486a4ape75582v6enm4vgj05 Query : use flama_phc
20240916@142250.3093 jb486a4ape75582v6enm4vgj05 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240916@142250.3181 jb486a4ape75582v6enm4vgj05 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4860.00.1'
20240916@142250.3343 jb486a4ape75582v6enm4vgj05 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405920 and bi.ref ='304.4860.00.1' and bi.lordem =1
20240916@142250.3724 jb486a4ape75582v6enm4vgj05 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4860.00.1'
20240916@142250.3749 jb486a4ape75582v6enm4vgj05 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405920 and bi.ref ='304.4860.00.1' and bi.lordem =1
20240916@142250.3766 jb486a4ape75582v6enm4vgj05 Query : use flama_phc
20240916@142250.3770 jb486a4ape75582v6enm4vgj05 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240916@142250.3958 jb486a4ape75582v6enm4vgj05 Query : use flama_phc
20240916@142250.3961 jb486a4ape75582v6enm4vgj05 Query : select top 1 1 valor from td where td.ndoc = 39
20240916@142250.4049 jb486a4ape75582v6enm4vgj05 Query : use flama_phc
20240916@142250.4052 jb486a4ape75582v6enm4vgj05 Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240916@142250.4120 jb486a4ape75582v6enm4vgj05 Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20240916@142250.4245 jb486a4ape75582v6enm4vgj05 Query : use flama_phc
20240916@142250.4249 jb486a4ape75582v6enm4vgj05 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240916@142250.4361 jb486a4ape75582v6enm4vgj05 Query : use flama_phc
20240916@142250.4364 jb486a4ape75582v6enm4vgj05 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240916@142250.4444 jb486a4ape75582v6enm4vgj05 Query : use flama_phc
20240916@142250.4447 jb486a4ape75582v6enm4vgj05 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240916@142250.4519 jb486a4ape75582v6enm4vgj05 Query : use flama_phc
20240916@142250.4521 jb486a4ape75582v6enm4vgj05 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240916@142250.4567 jb486a4ape75582v6enm4vgj05 Query : use flama_phc
20240916@142250.4570 jb486a4ape75582v6enm4vgj05 Query : select 1 valor from td where ndoc = 39
20240916@142250.4633 jb486a4ape75582v6enm4vgj05 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240916@142250.4689 jb486a4ape75582v6enm4vgj05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142250.6024 jb486a4ape75582v6enm4vgj05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240916@142250.6074 jb486a4ape75582v6enm4vgj05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142250.6089 jb486a4ape75582v6enm4vgj05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240916@142250.6120 jb486a4ape75582v6enm4vgj05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142250.6134 jb486a4ape75582v6enm4vgj05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240916@142250.6148 jb486a4ape75582v6enm4vgj05 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240916@142250.6342 jb486a4ape75582v6enm4vgj05 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240916@142250.6436 jb486a4ape75582v6enm4vgj05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142250.6451 jb486a4ape75582v6enm4vgj05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240916@142250.6470 jb486a4ape75582v6enm4vgj05 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66e837556566e8312a96' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240916@142250.6762 jb486a4ape75582v6enm4vgj05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142250.6780 jb486a4ape75582v6enm4vgj05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240916@142250.6816 jb486a4ape75582v6enm4vgj05 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240916@142250.6904 jb486a4ape75582v6enm4vgj05 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240916@142250.6971 jb486a4ape75582v6enm4vgj05 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240916@142250.7039 jb486a4ape75582v6enm4vgj05 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240916@142250.7110 jb486a4ape75582v6enm4vgj05 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240916@142250.7198 jb486a4ape75582v6enm4vgj05 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240916@142250.7278 jb486a4ape75582v6enm4vgj05 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66e837556566e8312a96',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240916@142250.7700 jb486a4ape75582v6enm4vgj05 Query : select top 1 fno valor from wsftdata order by fno desc
20240916@142250.7785 jb486a4ape75582v6enm4vgj05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142250.7801 jb486a4ape75582v6enm4vgj05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240916@142250.7825 jb486a4ape75582v6enm4vgj05 Query : select 'normal' from dummy
20240916@142250.7869 jb486a4ape75582v6enm4vgj05 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66e837556566e8312a96',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',758,100810,0,'2024-09-16',39,'euro',0,0,2024 ,?,?)
20240916@142250.8386 jb486a4ape75582v6enm4vgj05 Query : use flama_phc
20240916@142250.8389 jb486a4ape75582v6enm4vgj05 Query : select st.usalote valor from st where st.ref = '304.4860.00.1'
20240916@142250.8414 jb486a4ape75582v6enm4vgj05 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4860.00.1'
20240916@142250.8755 jb486a4ape75582v6enm4vgj05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142250.8774 jb486a4ape75582v6enm4vgj05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142250.8807 jb486a4ape75582v6enm4vgj05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142250.8822 jb486a4ape75582v6enm4vgj05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142250.8832 jb486a4ape75582v6enm4vgj05 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142250.8876 jb486a4ape75582v6enm4vgj05 Query : select sestamp valor from se where ref ='304.4860.00.1' and lote = '241006'
20240916@142250.8899 jb486a4ape75582v6enm4vgj05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142250.8914 jb486a4ape75582v6enm4vgj05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142250.8965 jb486a4ape75582v6enm4vgj05 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e834047866e8312ad9','aut66e837556566e8312a96' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142250.9056 jb486a4ape75582v6enm4vgj05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142250.9073 jb486a4ape75582v6enm4vgj05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142250.9104 jb486a4ape75582v6enm4vgj05 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e834047866e8312ad9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66e837556566e8312a96' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240916@142250.9472 jb486a4ape75582v6enm4vgj05 Query : use flama_phc
20240916@142250.9475 jb486a4ape75582v6enm4vgj05 Query : select st.usalote valor from st where st.ref = '304.4860.00.1'
20240916@142250.9498 jb486a4ape75582v6enm4vgj05 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4860.00.1'
20240916@142250.9513 jb486a4ape75582v6enm4vgj05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142250.9530 jb486a4ape75582v6enm4vgj05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142250.9555 jb486a4ape75582v6enm4vgj05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142250.9572 jb486a4ape75582v6enm4vgj05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142250.9582 jb486a4ape75582v6enm4vgj05 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142250.9595 jb486a4ape75582v6enm4vgj05 Query : select sestamp valor from se where ref ='304.4860.00.1' and lote = '241006'
20240916@142250.9607 jb486a4ape75582v6enm4vgj05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142250.9625 jb486a4ape75582v6enm4vgj05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142250.9638 jb486a4ape75582v6enm4vgj05 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e830906066e8312aea','aut66e837556566e8312a96' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142250.9643 jb486a4ape75582v6enm4vgj05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142250.9659 jb486a4ape75582v6enm4vgj05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142250.9688 jb486a4ape75582v6enm4vgj05 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e830906066e8312aea',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48.000 ,'aut66e837556566e8312a96' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240916@142250.9992 jb486a4ape75582v6enm4vgj05 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66e837556566e8312a96','2405920','wait',39,'adm09112754980.682000002')
20240916@142251.1190 jb486a4ape75582v6enm4vgj05 Query : use flama_phc
20240916@142251.1220 jb486a4ape75582v6enm4vgj05 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240916@142251.1530 jb486a4ape75582v6enm4vgj05 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2012';
20240916@142251.1840 jb486a4ape75582v6enm4vgj05 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2012';
20240916@142251.2260 jb486a4ape75582v6enm4vgj05 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2012';
20240916@142251.2510 jb486a4ape75582v6enm4vgj05 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2012';
20240916@142251.7910 1t9v84sdsmmf6q8nncd8e1ndau Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240916@142251.8030 1t9v84sdsmmf6q8nncd8e1ndau Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240916@142251.8590 1t9v84sdsmmf6q8nncd8e1ndau Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2013';
20240916@142251.9140 1t9v84sdsmmf6q8nncd8e1ndau Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2013';
20240916@142251.1075 1t9v84sdsmmf6q8nncd8e1ndau Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2013';
20240916@142251.1200 1t9v84sdsmmf6q8nncd8e1ndau Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2013';
20240916@142251.1263 1t9v84sdsmmf6q8nncd8e1ndau Query : use flama_phc
20240916@142251.1266 1t9v84sdsmmf6q8nncd8e1ndau Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240916@142251.1340 1t9v84sdsmmf6q8nncd8e1ndau Query : use flama_phc
20240916@142251.1343 1t9v84sdsmmf6q8nncd8e1ndau Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240916@142251.1385 1t9v84sdsmmf6q8nncd8e1ndau Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.422.00.07'
20240916@142251.1545 1t9v84sdsmmf6q8nncd8e1ndau Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405921 and bi.ref ='304.422.00.07' and bi.lordem =1
20240916@142251.1866 1t9v84sdsmmf6q8nncd8e1ndau Query : use flama_phc
20240916@142251.1869 1t9v84sdsmmf6q8nncd8e1ndau Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240916@142251.1901 1t9v84sdsmmf6q8nncd8e1ndau Query : use flama_phc
20240916@142251.1904 1t9v84sdsmmf6q8nncd8e1ndau Query : select top 1 1 valor from td where td.ndoc = 39
20240916@142251.1933 1t9v84sdsmmf6q8nncd8e1ndau Query : use flama_phc
20240916@142251.1936 1t9v84sdsmmf6q8nncd8e1ndau Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240916@142251.1963 1t9v84sdsmmf6q8nncd8e1ndau Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20240916@142251.1999 1t9v84sdsmmf6q8nncd8e1ndau Query : use flama_phc
20240916@142251.2002 1t9v84sdsmmf6q8nncd8e1ndau Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240916@142251.2041 1t9v84sdsmmf6q8nncd8e1ndau Query : use flama_phc
20240916@142251.2044 1t9v84sdsmmf6q8nncd8e1ndau Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240916@142251.2075 1t9v84sdsmmf6q8nncd8e1ndau Query : use flama_phc
20240916@142251.2078 1t9v84sdsmmf6q8nncd8e1ndau Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240916@142251.2124 1t9v84sdsmmf6q8nncd8e1ndau Query : use flama_phc
20240916@142251.2128 1t9v84sdsmmf6q8nncd8e1ndau Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240916@142251.2176 1t9v84sdsmmf6q8nncd8e1ndau Query : use flama_phc
20240916@142251.2179 1t9v84sdsmmf6q8nncd8e1ndau Query : select 1 valor from td where ndoc = 39
20240916@142251.2191 1t9v84sdsmmf6q8nncd8e1ndau Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240916@142251.2204 1t9v84sdsmmf6q8nncd8e1ndau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142251.2300 1t9v84sdsmmf6q8nncd8e1ndau Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240916@142251.2448 1t9v84sdsmmf6q8nncd8e1ndau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142251.2466 1t9v84sdsmmf6q8nncd8e1ndau Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240916@142251.2494 1t9v84sdsmmf6q8nncd8e1ndau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142251.2508 1t9v84sdsmmf6q8nncd8e1ndau Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240916@142251.2520 1t9v84sdsmmf6q8nncd8e1ndau Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240916@142251.2587 1t9v84sdsmmf6q8nncd8e1ndau Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240916@142251.2599 1t9v84sdsmmf6q8nncd8e1ndau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142251.2613 1t9v84sdsmmf6q8nncd8e1ndau Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240916@142251.2653 1t9v84sdsmmf6q8nncd8e1ndau Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66e838699766e8312b3d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240916@142251.2842 1t9v84sdsmmf6q8nncd8e1ndau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142251.2860 1t9v84sdsmmf6q8nncd8e1ndau Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240916@142251.2895 1t9v84sdsmmf6q8nncd8e1ndau Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240916@142251.2909 1t9v84sdsmmf6q8nncd8e1ndau Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240916@142251.2922 1t9v84sdsmmf6q8nncd8e1ndau Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240916@142251.2934 1t9v84sdsmmf6q8nncd8e1ndau Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240916@142251.2946 1t9v84sdsmmf6q8nncd8e1ndau Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240916@142251.2958 1t9v84sdsmmf6q8nncd8e1ndau Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240916@142251.2970 1t9v84sdsmmf6q8nncd8e1ndau Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66e838699766e8312b3d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240916@142251.3219 1t9v84sdsmmf6q8nncd8e1ndau Query : select top 1 fno valor from wsftdata order by fno desc
20240916@142251.3241 1t9v84sdsmmf6q8nncd8e1ndau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142251.3259 1t9v84sdsmmf6q8nncd8e1ndau Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240916@142251.3282 1t9v84sdsmmf6q8nncd8e1ndau Query : select 'normal' from dummy
20240916@142251.3299 1t9v84sdsmmf6q8nncd8e1ndau Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66e838699766e8312b3d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',759,100810,0,'2024-09-16',39,'euro',0,0,2024 ,?,?)
20240916@142251.3612 1t9v84sdsmmf6q8nncd8e1ndau Query : use flama_phc
20240916@142251.3615 1t9v84sdsmmf6q8nncd8e1ndau Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20240916@142251.3639 1t9v84sdsmmf6q8nncd8e1ndau Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.422.00.07'
20240916@142251.3785 1t9v84sdsmmf6q8nncd8e1ndau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142251.3803 1t9v84sdsmmf6q8nncd8e1ndau Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142251.3828 1t9v84sdsmmf6q8nncd8e1ndau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142251.3843 1t9v84sdsmmf6q8nncd8e1ndau Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142251.3851 1t9v84sdsmmf6q8nncd8e1ndau Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142251.3864 1t9v84sdsmmf6q8nncd8e1ndau Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '240647'
20240916@142251.3877 1t9v84sdsmmf6q8nncd8e1ndau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142251.3891 1t9v84sdsmmf6q8nncd8e1ndau Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142251.3903 1t9v84sdsmmf6q8nncd8e1ndau Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e836408166e8312b5e','aut66e838699766e8312b3d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142251.3907 1t9v84sdsmmf6q8nncd8e1ndau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142251.3923 1t9v84sdsmmf6q8nncd8e1ndau Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142251.3951 1t9v84sdsmmf6q8nncd8e1ndau Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e836408166e8312b5e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',72.000 ,'aut66e838699766e8312b3d' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240916@142251.4921 1t9v84sdsmmf6q8nncd8e1ndau Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66e838699766e8312b3d','2405921','wait',39,'adm09112754980.682000002')
20240916@142251.5393 1t9v84sdsmmf6q8nncd8e1ndau Query : use flama_phc
20240916@142251.5396 1t9v84sdsmmf6q8nncd8e1ndau Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240916@142251.5425 1t9v84sdsmmf6q8nncd8e1ndau Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2013';
20240916@142251.5454 1t9v84sdsmmf6q8nncd8e1ndau Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2013';
20240916@142251.5492 1t9v84sdsmmf6q8nncd8e1ndau Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2013';
20240916@142251.5516 1t9v84sdsmmf6q8nncd8e1ndau Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2013';
20240916@142251.6061 790c6dnbaf7c8k4l03os2ao2nv Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240916@142251.6072 790c6dnbaf7c8k4l03os2ao2nv Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240916@142251.6125 790c6dnbaf7c8k4l03os2ao2nv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2014';
20240916@142251.6180 790c6dnbaf7c8k4l03os2ao2nv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2014';
20240916@142251.6228 790c6dnbaf7c8k4l03os2ao2nv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2014';
20240916@142251.6251 790c6dnbaf7c8k4l03os2ao2nv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2014';
20240916@142251.6297 790c6dnbaf7c8k4l03os2ao2nv Query : use flama_phc
20240916@142251.6300 790c6dnbaf7c8k4l03os2ao2nv Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240916@142251.6360 790c6dnbaf7c8k4l03os2ao2nv Query : use flama_phc
20240916@142251.6363 790c6dnbaf7c8k4l03os2ao2nv Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240916@142251.6403 790c6dnbaf7c8k4l03os2ao2nv 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'
20240916@142251.6562 790c6dnbaf7c8k4l03os2ao2nv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405922 and bi.ref ='304.4320.00.1' and bi.lordem =1
20240916@142251.6878 790c6dnbaf7c8k4l03os2ao2nv 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'
20240916@142251.6898 790c6dnbaf7c8k4l03os2ao2nv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405922 and bi.ref ='304.4320.00.1' and bi.lordem =1
20240916@142251.7106 790c6dnbaf7c8k4l03os2ao2nv 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'
20240916@142251.7145 790c6dnbaf7c8k4l03os2ao2nv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405922 and bi.ref ='304.4320.00.1' and bi.lordem =1
20240916@142251.7168 790c6dnbaf7c8k4l03os2ao2nv Query : use flama_phc
20240916@142251.7171 790c6dnbaf7c8k4l03os2ao2nv Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240916@142251.7205 790c6dnbaf7c8k4l03os2ao2nv Query : use flama_phc
20240916@142251.7208 790c6dnbaf7c8k4l03os2ao2nv Query : select top 1 1 valor from td where td.ndoc = 39
20240916@142251.7239 790c6dnbaf7c8k4l03os2ao2nv Query : use flama_phc
20240916@142251.7241 790c6dnbaf7c8k4l03os2ao2nv Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240916@142251.7277 790c6dnbaf7c8k4l03os2ao2nv Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20240916@142251.7320 790c6dnbaf7c8k4l03os2ao2nv Query : use flama_phc
20240916@142251.7323 790c6dnbaf7c8k4l03os2ao2nv Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240916@142251.7359 790c6dnbaf7c8k4l03os2ao2nv Query : use flama_phc
20240916@142251.7363 790c6dnbaf7c8k4l03os2ao2nv Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240916@142251.7394 790c6dnbaf7c8k4l03os2ao2nv Query : use flama_phc
20240916@142251.7397 790c6dnbaf7c8k4l03os2ao2nv Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240916@142251.7443 790c6dnbaf7c8k4l03os2ao2nv Query : use flama_phc
20240916@142251.7446 790c6dnbaf7c8k4l03os2ao2nv Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240916@142251.7491 790c6dnbaf7c8k4l03os2ao2nv Query : use flama_phc
20240916@142251.7493 790c6dnbaf7c8k4l03os2ao2nv Query : select 1 valor from td where ndoc = 39
20240916@142251.7506 790c6dnbaf7c8k4l03os2ao2nv Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240916@142251.7521 790c6dnbaf7c8k4l03os2ao2nv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142251.7538 790c6dnbaf7c8k4l03os2ao2nv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240916@142251.7557 790c6dnbaf7c8k4l03os2ao2nv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142251.7573 790c6dnbaf7c8k4l03os2ao2nv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240916@142251.7603 790c6dnbaf7c8k4l03os2ao2nv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142251.7618 790c6dnbaf7c8k4l03os2ao2nv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240916@142251.7631 790c6dnbaf7c8k4l03os2ao2nv Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240916@142251.7698 790c6dnbaf7c8k4l03os2ao2nv Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240916@142251.7711 790c6dnbaf7c8k4l03os2ao2nv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142251.7729 790c6dnbaf7c8k4l03os2ao2nv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240916@142251.7747 790c6dnbaf7c8k4l03os2ao2nv Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66e831941566e8312bba' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240916@142251.7994 790c6dnbaf7c8k4l03os2ao2nv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142251.8016 790c6dnbaf7c8k4l03os2ao2nv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240916@142251.8055 790c6dnbaf7c8k4l03os2ao2nv Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240916@142251.8068 790c6dnbaf7c8k4l03os2ao2nv Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240916@142251.8080 790c6dnbaf7c8k4l03os2ao2nv Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240916@142251.8091 790c6dnbaf7c8k4l03os2ao2nv Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240916@142251.8104 790c6dnbaf7c8k4l03os2ao2nv Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240916@142251.8124 790c6dnbaf7c8k4l03os2ao2nv Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240916@142251.8136 790c6dnbaf7c8k4l03os2ao2nv Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66e831941566e8312bba',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240916@142251.8390 790c6dnbaf7c8k4l03os2ao2nv Query : select top 1 fno valor from wsftdata order by fno desc
20240916@142251.8415 790c6dnbaf7c8k4l03os2ao2nv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142251.8431 790c6dnbaf7c8k4l03os2ao2nv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240916@142251.8456 790c6dnbaf7c8k4l03os2ao2nv Query : select 'normal' from dummy
20240916@142251.8471 790c6dnbaf7c8k4l03os2ao2nv Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66e831941566e8312bba',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',760,100810,0,'2024-09-16',39,'euro',0,0,2024 ,?,?)
20240916@142251.8764 790c6dnbaf7c8k4l03os2ao2nv Query : use flama_phc
20240916@142251.8767 790c6dnbaf7c8k4l03os2ao2nv Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20240916@142251.8790 790c6dnbaf7c8k4l03os2ao2nv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4320.00.1'
20240916@142251.8936 790c6dnbaf7c8k4l03os2ao2nv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142251.8953 790c6dnbaf7c8k4l03os2ao2nv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142251.8979 790c6dnbaf7c8k4l03os2ao2nv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142251.8994 790c6dnbaf7c8k4l03os2ao2nv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142251.9003 790c6dnbaf7c8k4l03os2ao2nv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142251.9016 790c6dnbaf7c8k4l03os2ao2nv Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '240180'
20240916@142251.9046 790c6dnbaf7c8k4l03os2ao2nv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142251.9061 790c6dnbaf7c8k4l03os2ao2nv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142251.9079 790c6dnbaf7c8k4l03os2ao2nv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e838321266e8312bdc','aut66e831941566e8312bba' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142251.9083 790c6dnbaf7c8k4l03os2ao2nv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142251.9098 790c6dnbaf7c8k4l03os2ao2nv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142251.9127 790c6dnbaf7c8k4l03os2ao2nv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e838321266e8312bdc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32.000 ,'aut66e831941566e8312bba' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240916@142251.9382 790c6dnbaf7c8k4l03os2ao2nv Query : use flama_phc
20240916@142251.9385 790c6dnbaf7c8k4l03os2ao2nv Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20240916@142251.9405 790c6dnbaf7c8k4l03os2ao2nv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4320.00.1'
20240916@142251.9420 790c6dnbaf7c8k4l03os2ao2nv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142251.9436 790c6dnbaf7c8k4l03os2ao2nv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142251.9467 790c6dnbaf7c8k4l03os2ao2nv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142251.9482 790c6dnbaf7c8k4l03os2ao2nv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142251.9491 790c6dnbaf7c8k4l03os2ao2nv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142251.9505 790c6dnbaf7c8k4l03os2ao2nv Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '240180'
20240916@142251.9519 790c6dnbaf7c8k4l03os2ao2nv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142251.9534 790c6dnbaf7c8k4l03os2ao2nv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142251.9545 790c6dnbaf7c8k4l03os2ao2nv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e832897466e8312be8','aut66e831941566e8312bba' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142251.9549 790c6dnbaf7c8k4l03os2ao2nv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142251.9564 790c6dnbaf7c8k4l03os2ao2nv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142251.9599 790c6dnbaf7c8k4l03os2ao2nv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e832897466e8312be8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',40.000 ,'aut66e831941566e8312bba' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240916@142251.9865 790c6dnbaf7c8k4l03os2ao2nv Query : use flama_phc
20240916@142251.9868 790c6dnbaf7c8k4l03os2ao2nv Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20240916@142251.9888 790c6dnbaf7c8k4l03os2ao2nv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4320.00.1'
20240916@142251.9903 790c6dnbaf7c8k4l03os2ao2nv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142251.9926 790c6dnbaf7c8k4l03os2ao2nv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142251.9952 790c6dnbaf7c8k4l03os2ao2nv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142251.9966 790c6dnbaf7c8k4l03os2ao2nv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142251.9975 790c6dnbaf7c8k4l03os2ao2nv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142251.9988 790c6dnbaf7c8k4l03os2ao2nv Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '240180'
20240916@142252.0000 790c6dnbaf7c8k4l03os2ao2nv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142252.1600 790c6dnbaf7c8k4l03os2ao2nv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142252.2700 790c6dnbaf7c8k4l03os2ao2nv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e834135366e8312c00','aut66e831941566e8312bba' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142252.3200 790c6dnbaf7c8k4l03os2ao2nv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142252.5000 790c6dnbaf7c8k4l03os2ao2nv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142252.7900 790c6dnbaf7c8k4l03os2ao2nv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e834135366e8312c00',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut66e831941566e8312bba' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240916@142252.3250 790c6dnbaf7c8k4l03os2ao2nv Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66e831941566e8312bba','2405922','wait',39,'adm09112754980.682000002')
20240916@142252.6620 790c6dnbaf7c8k4l03os2ao2nv Query : use flama_phc
20240916@142252.7200 790c6dnbaf7c8k4l03os2ao2nv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240916@142252.7720 790c6dnbaf7c8k4l03os2ao2nv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2014';
20240916@142252.8030 790c6dnbaf7c8k4l03os2ao2nv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2014';
20240916@142252.8450 790c6dnbaf7c8k4l03os2ao2nv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2014';
20240916@142252.8700 790c6dnbaf7c8k4l03os2ao2nv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2014';
20240916@142252.1388 qeuueu281ai575isbq4st8c4ig Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240916@142252.1401 qeuueu281ai575isbq4st8c4ig Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240916@142252.1455 qeuueu281ai575isbq4st8c4ig Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2015';
20240916@142252.1509 qeuueu281ai575isbq4st8c4ig Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2015';
20240916@142252.1562 qeuueu281ai575isbq4st8c4ig Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2015';
20240916@142252.1588 qeuueu281ai575isbq4st8c4ig Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2015';
20240916@142252.1643 qeuueu281ai575isbq4st8c4ig Query : use flama_phc
20240916@142252.1646 qeuueu281ai575isbq4st8c4ig Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240916@142252.1712 qeuueu281ai575isbq4st8c4ig Query : use flama_phc
20240916@142252.1715 qeuueu281ai575isbq4st8c4ig Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240916@142252.1756 qeuueu281ai575isbq4st8c4ig 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'
20240916@142252.1920 qeuueu281ai575isbq4st8c4ig Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405923 and bi.ref ='324.1705.00.1' and bi.lordem =1
20240916@142252.2260 qeuueu281ai575isbq4st8c4ig 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'
20240916@142252.2280 qeuueu281ai575isbq4st8c4ig Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405923 and bi.ref ='324.1705.00.1' and bi.lordem =1
20240916@142252.2299 qeuueu281ai575isbq4st8c4ig Query : use flama_phc
20240916@142252.2303 qeuueu281ai575isbq4st8c4ig Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240916@142252.2338 qeuueu281ai575isbq4st8c4ig Query : use flama_phc
20240916@142252.2341 qeuueu281ai575isbq4st8c4ig Query : select top 1 1 valor from td where td.ndoc = 39
20240916@142252.2373 qeuueu281ai575isbq4st8c4ig Query : use flama_phc
20240916@142252.2376 qeuueu281ai575isbq4st8c4ig Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240916@142252.2407 qeuueu281ai575isbq4st8c4ig Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20240916@142252.2445 qeuueu281ai575isbq4st8c4ig Query : use flama_phc
20240916@142252.2448 qeuueu281ai575isbq4st8c4ig Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240916@142252.2479 qeuueu281ai575isbq4st8c4ig Query : use flama_phc
20240916@142252.2482 qeuueu281ai575isbq4st8c4ig Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240916@142252.2512 qeuueu281ai575isbq4st8c4ig Query : use flama_phc
20240916@142252.2515 qeuueu281ai575isbq4st8c4ig Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240916@142252.2556 qeuueu281ai575isbq4st8c4ig Query : use flama_phc
20240916@142252.2559 qeuueu281ai575isbq4st8c4ig Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240916@142252.2609 qeuueu281ai575isbq4st8c4ig Query : use flama_phc
20240916@142252.2613 qeuueu281ai575isbq4st8c4ig Query : select 1 valor from td where ndoc = 39
20240916@142252.2625 qeuueu281ai575isbq4st8c4ig Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240916@142252.2640 qeuueu281ai575isbq4st8c4ig Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142252.2657 qeuueu281ai575isbq4st8c4ig Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240916@142252.2679 qeuueu281ai575isbq4st8c4ig Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142252.2694 qeuueu281ai575isbq4st8c4ig Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240916@142252.2725 qeuueu281ai575isbq4st8c4ig Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142252.2740 qeuueu281ai575isbq4st8c4ig Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240916@142252.2753 qeuueu281ai575isbq4st8c4ig Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240916@142252.2822 qeuueu281ai575isbq4st8c4ig Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240916@142252.2835 qeuueu281ai575isbq4st8c4ig Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142252.2851 qeuueu281ai575isbq4st8c4ig Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240916@142252.2868 qeuueu281ai575isbq4st8c4ig Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66e832213666e8312c43' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240916@142252.3048 qeuueu281ai575isbq4st8c4ig Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142252.3066 qeuueu281ai575isbq4st8c4ig Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240916@142252.3101 qeuueu281ai575isbq4st8c4ig Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240916@142252.3114 qeuueu281ai575isbq4st8c4ig Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240916@142252.3127 qeuueu281ai575isbq4st8c4ig Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240916@142252.3142 qeuueu281ai575isbq4st8c4ig Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240916@142252.4325 qeuueu281ai575isbq4st8c4ig Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240916@142252.4340 qeuueu281ai575isbq4st8c4ig Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240916@142252.4353 qeuueu281ai575isbq4st8c4ig Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66e832213666e8312c43',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240916@142252.4612 qeuueu281ai575isbq4st8c4ig Query : select top 1 fno valor from wsftdata order by fno desc
20240916@142252.4632 qeuueu281ai575isbq4st8c4ig Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142252.4648 qeuueu281ai575isbq4st8c4ig Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240916@142252.4670 qeuueu281ai575isbq4st8c4ig Query : select 'normal' from dummy
20240916@142252.4684 qeuueu281ai575isbq4st8c4ig Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66e832213666e8312c43',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',761,100810,0,'2024-09-16',39,'euro',0,0,2024 ,?,?)
20240916@142252.4984 qeuueu281ai575isbq4st8c4ig Query : use flama_phc
20240916@142252.4987 qeuueu281ai575isbq4st8c4ig Query : select st.usalote valor from st where st.ref = '324.1705.00.1'
20240916@142252.5011 qeuueu281ai575isbq4st8c4ig Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1705.00.1'
20240916@142252.5156 qeuueu281ai575isbq4st8c4ig Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142252.5174 qeuueu281ai575isbq4st8c4ig Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142252.5199 qeuueu281ai575isbq4st8c4ig Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142252.5213 qeuueu281ai575isbq4st8c4ig Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142252.5221 qeuueu281ai575isbq4st8c4ig Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142252.5233 qeuueu281ai575isbq4st8c4ig Query : select sestamp valor from se where ref ='324.1705.00.1' and lote = 'r2400050500a'
20240916@142252.5253 qeuueu281ai575isbq4st8c4ig Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142252.5268 qeuueu281ai575isbq4st8c4ig Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142252.5279 qeuueu281ai575isbq4st8c4ig Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e836153666e8312c80','aut66e832213666e8312c43' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142252.5283 qeuueu281ai575isbq4st8c4ig Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142252.5297 qeuueu281ai575isbq4st8c4ig Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142252.5327 qeuueu281ai575isbq4st8c4ig Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e836153666e8312c80',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66e832213666e8312c43' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240916@142252.5840 qeuueu281ai575isbq4st8c4ig Query : use flama_phc
20240916@142252.5843 qeuueu281ai575isbq4st8c4ig Query : select st.usalote valor from st where st.ref = '324.1705.00.1'
20240916@142252.5862 qeuueu281ai575isbq4st8c4ig Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1705.00.1'
20240916@142252.5880 qeuueu281ai575isbq4st8c4ig Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142252.5896 qeuueu281ai575isbq4st8c4ig Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142252.5919 qeuueu281ai575isbq4st8c4ig Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142252.5933 qeuueu281ai575isbq4st8c4ig Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142252.5941 qeuueu281ai575isbq4st8c4ig Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142252.5952 qeuueu281ai575isbq4st8c4ig Query : select sestamp valor from se where ref ='324.1705.00.1' and lote = 'r2400050500a'
20240916@142252.5964 qeuueu281ai575isbq4st8c4ig Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142252.5982 qeuueu281ai575isbq4st8c4ig Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142252.5993 qeuueu281ai575isbq4st8c4ig Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e838868866e8312c91','aut66e832213666e8312c43' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142252.5997 qeuueu281ai575isbq4st8c4ig Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142252.6011 qeuueu281ai575isbq4st8c4ig Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142252.6037 qeuueu281ai575isbq4st8c4ig Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e838868866e8312c91',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32.000 ,'aut66e832213666e8312c43' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240916@142252.6350 qeuueu281ai575isbq4st8c4ig Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66e832213666e8312c43','2405923','wait',39,'adm09112754980.682000002')
20240916@142252.6415 qeuueu281ai575isbq4st8c4ig Query : use flama_phc
20240916@142252.6418 qeuueu281ai575isbq4st8c4ig Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240916@142252.6446 qeuueu281ai575isbq4st8c4ig Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2015';
20240916@142252.6473 qeuueu281ai575isbq4st8c4ig Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2015';
20240916@142252.6511 qeuueu281ai575isbq4st8c4ig Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2015';
20240916@142252.6533 qeuueu281ai575isbq4st8c4ig Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2015';
20240916@142252.7138 q1s6n0jreukmoqhi9l42ni1l8h Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240916@142252.7149 q1s6n0jreukmoqhi9l42ni1l8h Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240916@142252.7198 q1s6n0jreukmoqhi9l42ni1l8h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2016';
20240916@142252.7256 q1s6n0jreukmoqhi9l42ni1l8h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2016';
20240916@142252.7306 q1s6n0jreukmoqhi9l42ni1l8h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2016';
20240916@142252.7337 q1s6n0jreukmoqhi9l42ni1l8h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2016';
20240916@142252.7385 q1s6n0jreukmoqhi9l42ni1l8h Query : use flama_phc
20240916@142252.7389 q1s6n0jreukmoqhi9l42ni1l8h Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240916@142252.7448 q1s6n0jreukmoqhi9l42ni1l8h Query : use flama_phc
20240916@142252.7451 q1s6n0jreukmoqhi9l42ni1l8h Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240916@142252.7493 q1s6n0jreukmoqhi9l42ni1l8h Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4910.00.1'
20240916@142252.7837 q1s6n0jreukmoqhi9l42ni1l8h Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405924 and bi.ref ='324.4910.00.1' and bi.lordem =1
20240916@142252.8594 q1s6n0jreukmoqhi9l42ni1l8h Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4910.00.1'
20240916@142252.8886 q1s6n0jreukmoqhi9l42ni1l8h Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405924 and bi.ref ='324.4910.00.1' and bi.lordem =1
20240916@142252.9093 q1s6n0jreukmoqhi9l42ni1l8h Query : use flama_phc
20240916@142252.9135 q1s6n0jreukmoqhi9l42ni1l8h Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240916@142252.9513 q1s6n0jreukmoqhi9l42ni1l8h Query : use flama_phc
20240916@142252.9554 q1s6n0jreukmoqhi9l42ni1l8h Query : select top 1 1 valor from td where td.ndoc = 39
20240916@142252.9925 q1s6n0jreukmoqhi9l42ni1l8h Query : use flama_phc
20240916@142252.9967 q1s6n0jreukmoqhi9l42ni1l8h Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240916@142253.4230 q1s6n0jreukmoqhi9l42ni1l8h Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20240916@142253.9210 q1s6n0jreukmoqhi9l42ni1l8h Query : use flama_phc
20240916@142253.1003 q1s6n0jreukmoqhi9l42ni1l8h Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240916@142253.1376 q1s6n0jreukmoqhi9l42ni1l8h Query : use flama_phc
20240916@142253.1418 q1s6n0jreukmoqhi9l42ni1l8h Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240916@142253.1791 q1s6n0jreukmoqhi9l42ni1l8h Query : use flama_phc
20240916@142253.1833 q1s6n0jreukmoqhi9l42ni1l8h Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240916@142253.2265 q1s6n0jreukmoqhi9l42ni1l8h Query : use flama_phc
20240916@142253.2295 q1s6n0jreukmoqhi9l42ni1l8h Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240916@142253.2577 q1s6n0jreukmoqhi9l42ni1l8h Query : use flama_phc
20240916@142253.2580 q1s6n0jreukmoqhi9l42ni1l8h Query : select 1 valor from td where ndoc = 39
20240916@142253.2636 q1s6n0jreukmoqhi9l42ni1l8h Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240916@142253.2864 q1s6n0jreukmoqhi9l42ni1l8h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142253.2884 q1s6n0jreukmoqhi9l42ni1l8h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240916@142253.2907 q1s6n0jreukmoqhi9l42ni1l8h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142253.2964 q1s6n0jreukmoqhi9l42ni1l8h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240916@142253.3350 q1s6n0jreukmoqhi9l42ni1l8h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142253.3702 q1s6n0jreukmoqhi9l42ni1l8h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240916@142253.4032 q1s6n0jreukmoqhi9l42ni1l8h Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240916@142253.4465 q1s6n0jreukmoqhi9l42ni1l8h Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240916@142253.4760 q1s6n0jreukmoqhi9l42ni1l8h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142253.6223 q1s6n0jreukmoqhi9l42ni1l8h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240916@142253.6242 q1s6n0jreukmoqhi9l42ni1l8h Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66e839273066e8312d62' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240916@142253.6511 q1s6n0jreukmoqhi9l42ni1l8h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142253.6530 q1s6n0jreukmoqhi9l42ni1l8h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240916@142253.6565 q1s6n0jreukmoqhi9l42ni1l8h Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240916@142253.6578 q1s6n0jreukmoqhi9l42ni1l8h Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240916@142253.6590 q1s6n0jreukmoqhi9l42ni1l8h Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240916@142253.6606 q1s6n0jreukmoqhi9l42ni1l8h Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240916@142253.6619 q1s6n0jreukmoqhi9l42ni1l8h Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240916@142253.6633 q1s6n0jreukmoqhi9l42ni1l8h Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240916@142253.6646 q1s6n0jreukmoqhi9l42ni1l8h Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66e839273066e8312d62',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240916@142253.6933 q1s6n0jreukmoqhi9l42ni1l8h Query : select top 1 fno valor from wsftdata order by fno desc
20240916@142253.6955 q1s6n0jreukmoqhi9l42ni1l8h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142253.6992 q1s6n0jreukmoqhi9l42ni1l8h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240916@142253.7061 q1s6n0jreukmoqhi9l42ni1l8h Query : select 'normal' from dummy
20240916@142253.7082 q1s6n0jreukmoqhi9l42ni1l8h Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66e839273066e8312d62',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',762,100810,0,'2024-09-16',39,'euro',0,0,2024 ,?,?)
20240916@142253.7401 q1s6n0jreukmoqhi9l42ni1l8h Query : use flama_phc
20240916@142253.7404 q1s6n0jreukmoqhi9l42ni1l8h Query : select st.usalote valor from st where st.ref = '324.4910.00.1'
20240916@142253.7427 q1s6n0jreukmoqhi9l42ni1l8h Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4910.00.1'
20240916@142253.7578 q1s6n0jreukmoqhi9l42ni1l8h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142253.7594 q1s6n0jreukmoqhi9l42ni1l8h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142253.7620 q1s6n0jreukmoqhi9l42ni1l8h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142253.7634 q1s6n0jreukmoqhi9l42ni1l8h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142253.7643 q1s6n0jreukmoqhi9l42ni1l8h Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142253.7655 q1s6n0jreukmoqhi9l42ni1l8h Query : select sestamp valor from se where ref ='324.4910.00.1' and lote = 'r2100754100a'
20240916@142253.7670 q1s6n0jreukmoqhi9l42ni1l8h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142253.7684 q1s6n0jreukmoqhi9l42ni1l8h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142253.7696 q1s6n0jreukmoqhi9l42ni1l8h Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e835161466e8312dbb','aut66e839273066e8312d62' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142253.7700 q1s6n0jreukmoqhi9l42ni1l8h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142253.7715 q1s6n0jreukmoqhi9l42ni1l8h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142253.7753 q1s6n0jreukmoqhi9l42ni1l8h Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e835161466e8312dbb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66e839273066e8312d62' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240916@142253.8140 q1s6n0jreukmoqhi9l42ni1l8h Query : use flama_phc
20240916@142253.8143 q1s6n0jreukmoqhi9l42ni1l8h Query : select st.usalote valor from st where st.ref = '324.4910.00.1'
20240916@142253.8163 q1s6n0jreukmoqhi9l42ni1l8h Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4910.00.1'
20240916@142253.8177 q1s6n0jreukmoqhi9l42ni1l8h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142253.8466 q1s6n0jreukmoqhi9l42ni1l8h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142253.9171 q1s6n0jreukmoqhi9l42ni1l8h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142253.9568 q1s6n0jreukmoqhi9l42ni1l8h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142253.9733 q1s6n0jreukmoqhi9l42ni1l8h Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142254.3300 q1s6n0jreukmoqhi9l42ni1l8h Query : select sestamp valor from se where ref ='324.4910.00.1' and lote = 'r2100754100a'
20240916@142254.3990 q1s6n0jreukmoqhi9l42ni1l8h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142254.6880 q1s6n0jreukmoqhi9l42ni1l8h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142254.9130 q1s6n0jreukmoqhi9l42ni1l8h Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e835669666e8312e09','aut66e839273066e8312d62' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142254.9570 q1s6n0jreukmoqhi9l42ni1l8h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142254.1223 q1s6n0jreukmoqhi9l42ni1l8h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142254.1757 q1s6n0jreukmoqhi9l42ni1l8h Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e835669666e8312e09',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',144.000 ,'aut66e839273066e8312d62' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240916@142254.2432 q1s6n0jreukmoqhi9l42ni1l8h Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66e839273066e8312d62','2405924','wait',39,'adm09112754980.682000002')
20240916@142254.4410 q1s6n0jreukmoqhi9l42ni1l8h Query : use flama_phc
20240916@142254.4516 q1s6n0jreukmoqhi9l42ni1l8h Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240916@142254.4768 q1s6n0jreukmoqhi9l42ni1l8h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2016';
20240916@142254.5171 q1s6n0jreukmoqhi9l42ni1l8h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2016';
20240916@142254.5722 q1s6n0jreukmoqhi9l42ni1l8h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2016';
20240916@142254.6417 q1s6n0jreukmoqhi9l42ni1l8h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2016';
20240916@142254.7796 vh4a8410q5i7ifp1fhmhnfjj5t Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240916@142254.7807 vh4a8410q5i7ifp1fhmhnfjj5t Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240916@142254.7869 vh4a8410q5i7ifp1fhmhnfjj5t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2017';
20240916@142254.7937 vh4a8410q5i7ifp1fhmhnfjj5t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2017';
20240916@142254.8080 vh4a8410q5i7ifp1fhmhnfjj5t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2017';
20240916@142254.8114 vh4a8410q5i7ifp1fhmhnfjj5t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2017';
20240916@142254.8164 vh4a8410q5i7ifp1fhmhnfjj5t Query : use flama_phc
20240916@142254.8167 vh4a8410q5i7ifp1fhmhnfjj5t Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240916@142254.8229 vh4a8410q5i7ifp1fhmhnfjj5t Query : use flama_phc
20240916@142254.8233 vh4a8410q5i7ifp1fhmhnfjj5t Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240916@142254.8276 vh4a8410q5i7ifp1fhmhnfjj5t Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4965.00.1'
20240916@142254.8448 vh4a8410q5i7ifp1fhmhnfjj5t Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405925 and bi.ref ='324.4965.00.1' and bi.lordem =1
20240916@142254.8782 vh4a8410q5i7ifp1fhmhnfjj5t Query : use flama_phc
20240916@142254.8786 vh4a8410q5i7ifp1fhmhnfjj5t Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240916@142254.8819 vh4a8410q5i7ifp1fhmhnfjj5t Query : use flama_phc
20240916@142254.8822 vh4a8410q5i7ifp1fhmhnfjj5t Query : select top 1 1 valor from td where td.ndoc = 39
20240916@142254.8852 vh4a8410q5i7ifp1fhmhnfjj5t Query : use flama_phc
20240916@142254.8855 vh4a8410q5i7ifp1fhmhnfjj5t Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240916@142254.8885 vh4a8410q5i7ifp1fhmhnfjj5t Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20240916@142254.8922 vh4a8410q5i7ifp1fhmhnfjj5t Query : use flama_phc
20240916@142254.8925 vh4a8410q5i7ifp1fhmhnfjj5t Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240916@142254.8957 vh4a8410q5i7ifp1fhmhnfjj5t Query : use flama_phc
20240916@142254.8960 vh4a8410q5i7ifp1fhmhnfjj5t Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240916@142254.8989 vh4a8410q5i7ifp1fhmhnfjj5t Query : use flama_phc
20240916@142254.8992 vh4a8410q5i7ifp1fhmhnfjj5t Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240916@142254.9032 vh4a8410q5i7ifp1fhmhnfjj5t Query : use flama_phc
20240916@142254.9035 vh4a8410q5i7ifp1fhmhnfjj5t Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240916@142254.9079 vh4a8410q5i7ifp1fhmhnfjj5t Query : use flama_phc
20240916@142254.9082 vh4a8410q5i7ifp1fhmhnfjj5t Query : select 1 valor from td where ndoc = 39
20240916@142254.9095 vh4a8410q5i7ifp1fhmhnfjj5t Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240916@142254.9110 vh4a8410q5i7ifp1fhmhnfjj5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142254.9128 vh4a8410q5i7ifp1fhmhnfjj5t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240916@142254.9167 vh4a8410q5i7ifp1fhmhnfjj5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142254.9189 vh4a8410q5i7ifp1fhmhnfjj5t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240916@142254.9222 vh4a8410q5i7ifp1fhmhnfjj5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142254.9239 vh4a8410q5i7ifp1fhmhnfjj5t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240916@142254.9257 vh4a8410q5i7ifp1fhmhnfjj5t Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240916@142254.9330 vh4a8410q5i7ifp1fhmhnfjj5t Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240916@142254.9343 vh4a8410q5i7ifp1fhmhnfjj5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142254.9361 vh4a8410q5i7ifp1fhmhnfjj5t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240916@142254.9377 vh4a8410q5i7ifp1fhmhnfjj5t Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66e831610566e8312ee2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240916@142254.9571 vh4a8410q5i7ifp1fhmhnfjj5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142254.9590 vh4a8410q5i7ifp1fhmhnfjj5t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240916@142254.9625 vh4a8410q5i7ifp1fhmhnfjj5t Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240916@142254.9637 vh4a8410q5i7ifp1fhmhnfjj5t Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240916@142254.9649 vh4a8410q5i7ifp1fhmhnfjj5t Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240916@142254.9674 vh4a8410q5i7ifp1fhmhnfjj5t Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240916@142254.9688 vh4a8410q5i7ifp1fhmhnfjj5t Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240916@142254.9700 vh4a8410q5i7ifp1fhmhnfjj5t Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240916@142254.9712 vh4a8410q5i7ifp1fhmhnfjj5t Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66e831610566e8312ee2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240916@142254.9996 vh4a8410q5i7ifp1fhmhnfjj5t Query : select top 1 fno valor from wsftdata order by fno desc
20240916@142255.1800 vh4a8410q5i7ifp1fhmhnfjj5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.3500 vh4a8410q5i7ifp1fhmhnfjj5t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240916@142255.6100 vh4a8410q5i7ifp1fhmhnfjj5t Query : select 'normal' from dummy
20240916@142255.7700 vh4a8410q5i7ifp1fhmhnfjj5t Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66e831610566e8312ee2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',763,100810,0,'2024-09-16',39,'euro',0,0,2024 ,?,?)
20240916@142255.4720 vh4a8410q5i7ifp1fhmhnfjj5t Query : use flama_phc
20240916@142255.4760 vh4a8410q5i7ifp1fhmhnfjj5t Query : select st.usalote valor from st where st.ref = '324.4965.00.1'
20240916@142255.5170 vh4a8410q5i7ifp1fhmhnfjj5t Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4965.00.1'
20240916@142255.6890 vh4a8410q5i7ifp1fhmhnfjj5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.7070 vh4a8410q5i7ifp1fhmhnfjj5t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142255.7510 vh4a8410q5i7ifp1fhmhnfjj5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.7680 vh4a8410q5i7ifp1fhmhnfjj5t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142255.7780 vh4a8410q5i7ifp1fhmhnfjj5t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142255.9220 vh4a8410q5i7ifp1fhmhnfjj5t Query : select sestamp valor from se where ref ='324.4965.00.1' and lote = 'r2301277100a'
20240916@142255.9430 vh4a8410q5i7ifp1fhmhnfjj5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.9660 vh4a8410q5i7ifp1fhmhnfjj5t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142255.9770 vh4a8410q5i7ifp1fhmhnfjj5t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e835560666e8312f17','aut66e831610566e8312ee2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142255.9820 vh4a8410q5i7ifp1fhmhnfjj5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.9960 vh4a8410q5i7ifp1fhmhnfjj5t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142255.1043 vh4a8410q5i7ifp1fhmhnfjj5t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e835560666e8312f17',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',60.000 ,'aut66e831610566e8312ee2' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240916@142255.1580 vh4a8410q5i7ifp1fhmhnfjj5t Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66e831610566e8312ee2','2405925','wait',39,'adm09112754980.682000002')
20240916@142255.1655 vh4a8410q5i7ifp1fhmhnfjj5t Query : use flama_phc
20240916@142255.1660 vh4a8410q5i7ifp1fhmhnfjj5t Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240916@142255.1690 vh4a8410q5i7ifp1fhmhnfjj5t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2017';
20240916@142255.1721 vh4a8410q5i7ifp1fhmhnfjj5t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2017';
20240916@142255.1761 vh4a8410q5i7ifp1fhmhnfjj5t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2017';
20240916@142255.1786 vh4a8410q5i7ifp1fhmhnfjj5t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2017';
20240916@142255.2350 740if8jarl4k9s34ltg1inbilr Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240916@142255.2361 740if8jarl4k9s34ltg1inbilr Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240916@142255.2414 740if8jarl4k9s34ltg1inbilr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2018';
20240916@142255.2554 740if8jarl4k9s34ltg1inbilr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2018';
20240916@142255.2693 740if8jarl4k9s34ltg1inbilr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2018';
20240916@142255.2722 740if8jarl4k9s34ltg1inbilr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2018';
20240916@142255.2774 740if8jarl4k9s34ltg1inbilr Query : use flama_phc
20240916@142255.2778 740if8jarl4k9s34ltg1inbilr Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240916@142255.2864 740if8jarl4k9s34ltg1inbilr Query : use flama_phc
20240916@142255.2871 740if8jarl4k9s34ltg1inbilr Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240916@142255.2921 740if8jarl4k9s34ltg1inbilr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20240916@142255.3083 740if8jarl4k9s34ltg1inbilr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405926 and bi.ref ='324.692.00.01' and bi.lordem =1
20240916@142255.3416 740if8jarl4k9s34ltg1inbilr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20240916@142255.3436 740if8jarl4k9s34ltg1inbilr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405926 and bi.ref ='324.692.00.01' and bi.lordem =1
20240916@142255.3453 740if8jarl4k9s34ltg1inbilr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20240916@142255.3471 740if8jarl4k9s34ltg1inbilr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405926 and bi.ref ='324.692.00.01' and bi.lordem =1
20240916@142255.3486 740if8jarl4k9s34ltg1inbilr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20240916@142255.3504 740if8jarl4k9s34ltg1inbilr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405926 and bi.ref ='324.692.00.01' and bi.lordem =1
20240916@142255.3525 740if8jarl4k9s34ltg1inbilr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20240916@142255.3546 740if8jarl4k9s34ltg1inbilr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405926 and bi.ref ='324.692.00.01' and bi.lordem =1
20240916@142255.3561 740if8jarl4k9s34ltg1inbilr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20240916@142255.3579 740if8jarl4k9s34ltg1inbilr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405926 and bi.ref ='324.692.00.01' and bi.lordem =1
20240916@142255.3599 740if8jarl4k9s34ltg1inbilr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20240916@142255.3618 740if8jarl4k9s34ltg1inbilr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405926 and bi.ref ='324.692.00.01' and bi.lordem =1
20240916@142255.3634 740if8jarl4k9s34ltg1inbilr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20240916@142255.3651 740if8jarl4k9s34ltg1inbilr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405926 and bi.ref ='324.692.00.01' and bi.lordem =1
20240916@142255.3668 740if8jarl4k9s34ltg1inbilr Query : use flama_phc
20240916@142255.3671 740if8jarl4k9s34ltg1inbilr Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240916@142255.3700 740if8jarl4k9s34ltg1inbilr Query : use flama_phc
20240916@142255.3708 740if8jarl4k9s34ltg1inbilr Query : select top 1 1 valor from td where td.ndoc = 39
20240916@142255.3735 740if8jarl4k9s34ltg1inbilr Query : use flama_phc
20240916@142255.3738 740if8jarl4k9s34ltg1inbilr Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240916@142255.3767 740if8jarl4k9s34ltg1inbilr Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20240916@142255.3804 740if8jarl4k9s34ltg1inbilr Query : use flama_phc
20240916@142255.3807 740if8jarl4k9s34ltg1inbilr Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240916@142255.3834 740if8jarl4k9s34ltg1inbilr Query : use flama_phc
20240916@142255.3837 740if8jarl4k9s34ltg1inbilr Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240916@142255.3864 740if8jarl4k9s34ltg1inbilr Query : use flama_phc
20240916@142255.3867 740if8jarl4k9s34ltg1inbilr Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240916@142255.3909 740if8jarl4k9s34ltg1inbilr Query : use flama_phc
20240916@142255.3912 740if8jarl4k9s34ltg1inbilr Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240916@142255.3957 740if8jarl4k9s34ltg1inbilr Query : use flama_phc
20240916@142255.3960 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from td where ndoc = 39
20240916@142255.3972 740if8jarl4k9s34ltg1inbilr Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240916@142255.3989 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.4004 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240916@142255.4021 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.4034 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240916@142255.4060 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.4074 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240916@142255.4085 740if8jarl4k9s34ltg1inbilr Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240916@142255.4151 740if8jarl4k9s34ltg1inbilr Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240916@142255.4164 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.4180 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240916@142255.4195 740if8jarl4k9s34ltg1inbilr Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66e835713166e8312f63' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240916@142255.4392 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.4411 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240916@142255.4442 740if8jarl4k9s34ltg1inbilr Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240916@142255.4453 740if8jarl4k9s34ltg1inbilr Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240916@142255.4464 740if8jarl4k9s34ltg1inbilr Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240916@142255.4477 740if8jarl4k9s34ltg1inbilr Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240916@142255.4488 740if8jarl4k9s34ltg1inbilr Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240916@142255.4501 740if8jarl4k9s34ltg1inbilr Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240916@142255.4512 740if8jarl4k9s34ltg1inbilr Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66e835713166e8312f63',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240916@142255.4775 740if8jarl4k9s34ltg1inbilr Query : select top 1 fno valor from wsftdata order by fno desc
20240916@142255.4796 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.4814 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240916@142255.4835 740if8jarl4k9s34ltg1inbilr Query : select 'normal' from dummy
20240916@142255.4851 740if8jarl4k9s34ltg1inbilr Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66e835713166e8312f63',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',764,100810,0,'2024-09-16',39,'euro',0,0,2024 ,?,?)
20240916@142255.5160 740if8jarl4k9s34ltg1inbilr Query : use flama_phc
20240916@142255.5163 740if8jarl4k9s34ltg1inbilr Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20240916@142255.5185 740if8jarl4k9s34ltg1inbilr Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.692.00.01'
20240916@142255.5586 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.5605 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142255.5638 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.5656 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142255.5668 740if8jarl4k9s34ltg1inbilr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142255.5683 740if8jarl4k9s34ltg1inbilr Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2400209100a'
20240916@142255.5698 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.5719 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142255.5733 740if8jarl4k9s34ltg1inbilr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e831878466e8312f8b','aut66e835713166e8312f63' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142255.5738 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.5767 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142255.5818 740if8jarl4k9s34ltg1inbilr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e831878466e8312f8b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66e835713166e8312f63' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240916@142255.6084 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.6102 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142255.6130 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.6146 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142255.6155 740if8jarl4k9s34ltg1inbilr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142255.6171 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.6187 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142255.6202 740if8jarl4k9s34ltg1inbilr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e832374466e8312f96','aut66e835713166e8312f63' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142255.6206 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.6227 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142255.6265 740if8jarl4k9s34ltg1inbilr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e832374466e8312f96',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e835713166e8312f63' ,0,0 ,2,23.00,20000,?,?,?)
20240916@142255.6538 740if8jarl4k9s34ltg1inbilr Query : use flama_phc
20240916@142255.6542 740if8jarl4k9s34ltg1inbilr Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20240916@142255.6565 740if8jarl4k9s34ltg1inbilr Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.692.00.01'
20240916@142255.6586 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.6604 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142255.6637 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.6654 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142255.6663 740if8jarl4k9s34ltg1inbilr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142255.6676 740if8jarl4k9s34ltg1inbilr Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2400209100a'
20240916@142255.6690 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.6705 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142255.6721 740if8jarl4k9s34ltg1inbilr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e833807866e8312fa3','aut66e835713166e8312f63' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142255.6726 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.6741 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142255.6777 740if8jarl4k9s34ltg1inbilr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e833807866e8312fa3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66e835713166e8312f63' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240916@142255.7057 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.7077 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142255.7111 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.7126 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142255.7135 740if8jarl4k9s34ltg1inbilr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142255.7148 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.7163 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142255.7175 740if8jarl4k9s34ltg1inbilr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e833051866e8312fae','aut66e835713166e8312f63' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142255.7180 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.7200 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142255.7229 740if8jarl4k9s34ltg1inbilr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e833051866e8312fae',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e835713166e8312f63' ,0,0 ,2,23.00,50000,?,?,?)
20240916@142255.7497 740if8jarl4k9s34ltg1inbilr Query : use flama_phc
20240916@142255.7500 740if8jarl4k9s34ltg1inbilr Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20240916@142255.7523 740if8jarl4k9s34ltg1inbilr Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.692.00.01'
20240916@142255.7536 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.7551 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142255.7578 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.7592 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142255.7600 740if8jarl4k9s34ltg1inbilr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142255.7612 740if8jarl4k9s34ltg1inbilr Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2400209100a'
20240916@142255.7624 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.7638 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142255.7653 740if8jarl4k9s34ltg1inbilr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e835451966e8312fba','aut66e835713166e8312f63' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142255.7664 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.7678 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142255.7709 740if8jarl4k9s34ltg1inbilr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e835451966e8312fba',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66e835713166e8312f63' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240916@142255.7966 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.7982 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142255.8006 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.8020 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142255.8028 740if8jarl4k9s34ltg1inbilr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142255.8039 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.8052 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142255.8063 740if8jarl4k9s34ltg1inbilr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e839780666e8312fc4','aut66e835713166e8312f63' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142255.8067 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.8081 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142255.8106 740if8jarl4k9s34ltg1inbilr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e839780666e8312fc4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e835713166e8312f63' ,0,0 ,2,23.00,80000,?,?,?)
20240916@142255.8362 740if8jarl4k9s34ltg1inbilr Query : use flama_phc
20240916@142255.8365 740if8jarl4k9s34ltg1inbilr Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20240916@142255.8383 740if8jarl4k9s34ltg1inbilr Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.692.00.01'
20240916@142255.8396 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.8412 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142255.8436 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.8449 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142255.8457 740if8jarl4k9s34ltg1inbilr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142255.8468 740if8jarl4k9s34ltg1inbilr Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2400209100a'
20240916@142255.8480 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.8493 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142255.8504 740if8jarl4k9s34ltg1inbilr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e834986466e8312fcf','aut66e835713166e8312f63' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142255.8508 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.8522 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142255.8547 740if8jarl4k9s34ltg1inbilr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e834986466e8312fcf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66e835713166e8312f63' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20240916@142255.8807 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.8822 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142255.8845 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.8858 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142255.8866 740if8jarl4k9s34ltg1inbilr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142255.8878 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.8892 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142255.8903 740if8jarl4k9s34ltg1inbilr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e837348166e8312fd8','aut66e835713166e8312f63' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142255.8908 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.8921 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142255.8949 740if8jarl4k9s34ltg1inbilr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e837348166e8312fd8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e835713166e8312f63' ,0,0 ,2,23.00,110000,?,?,?)
20240916@142255.9199 740if8jarl4k9s34ltg1inbilr Query : use flama_phc
20240916@142255.9202 740if8jarl4k9s34ltg1inbilr Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20240916@142255.9221 740if8jarl4k9s34ltg1inbilr Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.692.00.01'
20240916@142255.9233 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.9249 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142255.9273 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.9288 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142255.9297 740if8jarl4k9s34ltg1inbilr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142255.9308 740if8jarl4k9s34ltg1inbilr Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2400209100a'
20240916@142255.9320 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.9334 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142255.9345 740if8jarl4k9s34ltg1inbilr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e838075166e8312fe3','aut66e835713166e8312f63' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142255.9349 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.9363 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142255.9389 740if8jarl4k9s34ltg1inbilr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e838075166e8312fe3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66e835713166e8312f63' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20240916@142255.9647 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.9663 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142255.9687 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.9701 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142255.9709 740if8jarl4k9s34ltg1inbilr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142255.9721 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.9735 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142255.9746 740if8jarl4k9s34ltg1inbilr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e837679066e8312fed','aut66e835713166e8312f63' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142255.9750 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142255.9764 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142255.9790 740if8jarl4k9s34ltg1inbilr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e837679066e8312fed',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e835713166e8312f63' ,0,0 ,2,23.00,140000,?,?,?)
20240916@142256.3200 740if8jarl4k9s34ltg1inbilr Query : use flama_phc
20240916@142256.3600 740if8jarl4k9s34ltg1inbilr Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20240916@142256.5400 740if8jarl4k9s34ltg1inbilr Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.692.00.01'
20240916@142256.7100 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.8600 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142256.1180 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.1330 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142256.1410 740if8jarl4k9s34ltg1inbilr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142256.1530 740if8jarl4k9s34ltg1inbilr Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2400209100a'
20240916@142256.1670 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.1810 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142256.1920 740if8jarl4k9s34ltg1inbilr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e834685466e8313004','aut66e835713166e8312f63' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142256.1970 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.2130 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142256.2390 740if8jarl4k9s34ltg1inbilr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e834685466e8313004',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66e835713166e8312f63' ,0,0 ,2,23.00,160000,?,?,?,?,?)
20240916@142256.5110 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.5290 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142256.5540 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.5680 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142256.5760 740if8jarl4k9s34ltg1inbilr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142256.5870 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.6010 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142256.6120 740if8jarl4k9s34ltg1inbilr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e836904266e831300e','aut66e835713166e8312f63' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142256.6160 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.6300 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142256.6560 740if8jarl4k9s34ltg1inbilr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e836904266e831300e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e835713166e8312f63' ,0,0 ,2,23.00,170000,?,?,?)
20240916@142256.9230 740if8jarl4k9s34ltg1inbilr Query : use flama_phc
20240916@142256.9260 740if8jarl4k9s34ltg1inbilr Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20240916@142256.9440 740if8jarl4k9s34ltg1inbilr Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.692.00.01'
20240916@142256.9570 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.9710 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142256.9950 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.1009 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142256.1019 740if8jarl4k9s34ltg1inbilr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142256.1030 740if8jarl4k9s34ltg1inbilr Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2400209100a'
20240916@142256.1041 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.1056 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142256.1068 740if8jarl4k9s34ltg1inbilr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e830191766e8313019','aut66e835713166e8312f63' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142256.1072 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.1091 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142256.1128 740if8jarl4k9s34ltg1inbilr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e830191766e8313019',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66e835713166e8312f63' ,0,0 ,2,23.00,190000,?,?,?,?,?)
20240916@142256.1384 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.1401 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142256.1432 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.1447 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142256.1456 740if8jarl4k9s34ltg1inbilr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142256.1468 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.1482 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142256.1493 740if8jarl4k9s34ltg1inbilr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e831823466e8313023','aut66e835713166e8312f63' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142256.1497 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.1511 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142256.1536 740if8jarl4k9s34ltg1inbilr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e831823466e8313023',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e835713166e8312f63' ,0,0 ,2,23.00,200000,?,?,?)
20240916@142256.1801 740if8jarl4k9s34ltg1inbilr Query : use flama_phc
20240916@142256.1804 740if8jarl4k9s34ltg1inbilr Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20240916@142256.2003 740if8jarl4k9s34ltg1inbilr Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.692.00.01'
20240916@142256.2017 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.2033 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142256.2057 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.2071 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142256.2079 740if8jarl4k9s34ltg1inbilr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142256.2091 740if8jarl4k9s34ltg1inbilr Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2400209100a'
20240916@142256.2107 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.2123 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142256.2134 740if8jarl4k9s34ltg1inbilr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e833804366e8313033','aut66e835713166e8312f63' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142256.2138 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.2152 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142256.2178 740if8jarl4k9s34ltg1inbilr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e833804366e8313033',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66e835713166e8312f63' ,0,0 ,2,23.00,220000,?,?,?,?,?)
20240916@142256.2445 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.2461 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142256.2484 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.2511 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142256.2523 740if8jarl4k9s34ltg1inbilr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142256.2539 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.2554 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142256.2593 740if8jarl4k9s34ltg1inbilr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e834219666e831303d','aut66e835713166e8312f63' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142256.2598 740if8jarl4k9s34ltg1inbilr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.2614 740if8jarl4k9s34ltg1inbilr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142256.2662 740if8jarl4k9s34ltg1inbilr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e834219666e831303d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e835713166e8312f63' ,0,0 ,2,23.00,230000,?,?,?)
20240916@142256.2934 740if8jarl4k9s34ltg1inbilr Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66e835713166e8312f63','2405926','wait',39,'adm09112754980.682000002')
20240916@142256.3006 740if8jarl4k9s34ltg1inbilr Query : use flama_phc
20240916@142256.3010 740if8jarl4k9s34ltg1inbilr Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240916@142256.3040 740if8jarl4k9s34ltg1inbilr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2018';
20240916@142256.3068 740if8jarl4k9s34ltg1inbilr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2018';
20240916@142256.3107 740if8jarl4k9s34ltg1inbilr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2018';
20240916@142256.3131 740if8jarl4k9s34ltg1inbilr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2018';
20240916@142256.3836 95d8ihekm64l67qelv9fplikqt Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240916@142256.3846 95d8ihekm64l67qelv9fplikqt Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240916@142256.3899 95d8ihekm64l67qelv9fplikqt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2019';
20240916@142256.3952 95d8ihekm64l67qelv9fplikqt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2019';
20240916@142256.4002 95d8ihekm64l67qelv9fplikqt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2019';
20240916@142256.4027 95d8ihekm64l67qelv9fplikqt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2019';
20240916@142256.4076 95d8ihekm64l67qelv9fplikqt Query : use flama_phc
20240916@142256.4079 95d8ihekm64l67qelv9fplikqt Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240916@142256.4144 95d8ihekm64l67qelv9fplikqt Query : use flama_phc
20240916@142256.4147 95d8ihekm64l67qelv9fplikqt Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240916@142256.4188 95d8ihekm64l67qelv9fplikqt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.657.00.01'
20240916@142256.4337 95d8ihekm64l67qelv9fplikqt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405927 and bi.ref ='324.657.00.01' and bi.lordem =1
20240916@142256.4656 95d8ihekm64l67qelv9fplikqt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.657.00.01'
20240916@142256.4676 95d8ihekm64l67qelv9fplikqt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405927 and bi.ref ='324.657.00.01' and bi.lordem =1
20240916@142256.4693 95d8ihekm64l67qelv9fplikqt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.657.00.01'
20240916@142256.4713 95d8ihekm64l67qelv9fplikqt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405927 and bi.ref ='324.657.00.01' and bi.lordem =1
20240916@142256.4730 95d8ihekm64l67qelv9fplikqt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.657.00.01'
20240916@142256.4748 95d8ihekm64l67qelv9fplikqt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405927 and bi.ref ='324.657.00.01' and bi.lordem =1
20240916@142256.4765 95d8ihekm64l67qelv9fplikqt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.657.00.01'
20240916@142256.4784 95d8ihekm64l67qelv9fplikqt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405927 and bi.ref ='324.657.00.01' and bi.lordem =1
20240916@142256.4799 95d8ihekm64l67qelv9fplikqt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.657.00.01'
20240916@142256.4818 95d8ihekm64l67qelv9fplikqt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405927 and bi.ref ='324.657.00.01' and bi.lordem =1
20240916@142256.4834 95d8ihekm64l67qelv9fplikqt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.657.00.01'
20240916@142256.4853 95d8ihekm64l67qelv9fplikqt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405927 and bi.ref ='324.657.00.01' and bi.lordem =1
20240916@142256.4904 95d8ihekm64l67qelv9fplikqt Query : use flama_phc
20240916@142256.4931 95d8ihekm64l67qelv9fplikqt Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240916@142256.4964 95d8ihekm64l67qelv9fplikqt Query : use flama_phc
20240916@142256.4967 95d8ihekm64l67qelv9fplikqt Query : select top 1 1 valor from td where td.ndoc = 39
20240916@142256.4994 95d8ihekm64l67qelv9fplikqt Query : use flama_phc
20240916@142256.4998 95d8ihekm64l67qelv9fplikqt Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240916@142256.5025 95d8ihekm64l67qelv9fplikqt Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20240916@142256.5061 95d8ihekm64l67qelv9fplikqt Query : use flama_phc
20240916@142256.5064 95d8ihekm64l67qelv9fplikqt Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240916@142256.5092 95d8ihekm64l67qelv9fplikqt Query : use flama_phc
20240916@142256.5095 95d8ihekm64l67qelv9fplikqt Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240916@142256.5123 95d8ihekm64l67qelv9fplikqt Query : use flama_phc
20240916@142256.5126 95d8ihekm64l67qelv9fplikqt Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240916@142256.5164 95d8ihekm64l67qelv9fplikqt Query : use flama_phc
20240916@142256.5166 95d8ihekm64l67qelv9fplikqt Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240916@142256.5209 95d8ihekm64l67qelv9fplikqt Query : use flama_phc
20240916@142256.5213 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from td where ndoc = 39
20240916@142256.5224 95d8ihekm64l67qelv9fplikqt Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240916@142256.5238 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.5255 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240916@142256.5274 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.5288 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240916@142256.5317 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.5332 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240916@142256.5345 95d8ihekm64l67qelv9fplikqt Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240916@142256.5547 95d8ihekm64l67qelv9fplikqt Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240916@142256.5599 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.6581 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240916@142256.6598 95d8ihekm64l67qelv9fplikqt Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66e833651966e8313082' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240916@142256.6774 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.6791 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240916@142256.6824 95d8ihekm64l67qelv9fplikqt Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240916@142256.6835 95d8ihekm64l67qelv9fplikqt Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240916@142256.6847 95d8ihekm64l67qelv9fplikqt Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240916@142256.6859 95d8ihekm64l67qelv9fplikqt Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240916@142256.6870 95d8ihekm64l67qelv9fplikqt Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240916@142256.6882 95d8ihekm64l67qelv9fplikqt Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240916@142256.6894 95d8ihekm64l67qelv9fplikqt Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66e833651966e8313082',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240916@142256.7217 95d8ihekm64l67qelv9fplikqt Query : select top 1 fno valor from wsftdata order by fno desc
20240916@142256.7347 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.7365 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240916@142256.7440 95d8ihekm64l67qelv9fplikqt Query : select 'normal' from dummy
20240916@142256.7458 95d8ihekm64l67qelv9fplikqt Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66e833651966e8313082',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',765,100810,0,'2024-09-16',39,'euro',0,0,2024 ,?,?)
20240916@142256.7759 95d8ihekm64l67qelv9fplikqt Query : use flama_phc
20240916@142256.7762 95d8ihekm64l67qelv9fplikqt Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20240916@142256.7784 95d8ihekm64l67qelv9fplikqt Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.657.00.01'
20240916@142256.7930 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.7945 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142256.7971 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.7986 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142256.7995 95d8ihekm64l67qelv9fplikqt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142256.8007 95d8ihekm64l67qelv9fplikqt Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400220100a'
20240916@142256.8021 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.8036 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142256.8047 95d8ihekm64l67qelv9fplikqt Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e834355166e83130c3','aut66e833651966e8313082' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142256.8051 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.8066 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142256.8095 95d8ihekm64l67qelv9fplikqt Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e834355166e83130c3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66e833651966e8313082' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240916@142256.8356 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.8373 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142256.8397 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.8413 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142256.8421 95d8ihekm64l67qelv9fplikqt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142256.8433 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.8447 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142256.8459 95d8ihekm64l67qelv9fplikqt Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e837038766e83130cd','aut66e833651966e8313082' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142256.8463 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.8478 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142256.8506 95d8ihekm64l67qelv9fplikqt Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e837038766e83130cd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e833651966e8313082' ,0,0 ,2,23.00,20000,?,?,?)
20240916@142256.8751 95d8ihekm64l67qelv9fplikqt Query : use flama_phc
20240916@142256.8754 95d8ihekm64l67qelv9fplikqt Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20240916@142256.8773 95d8ihekm64l67qelv9fplikqt Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.657.00.01'
20240916@142256.8787 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.8802 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142256.8827 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.8841 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142256.8875 95d8ihekm64l67qelv9fplikqt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142256.8888 95d8ihekm64l67qelv9fplikqt Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400220100a'
20240916@142256.8900 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.8915 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142256.8926 95d8ihekm64l67qelv9fplikqt Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e834736266e83130d9','aut66e833651966e8313082' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142256.8930 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.8944 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142256.8973 95d8ihekm64l67qelv9fplikqt Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e834736266e83130d9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66e833651966e8313082' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240916@142256.9239 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.9255 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142256.9281 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.9295 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142256.9304 95d8ihekm64l67qelv9fplikqt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142256.9316 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.9330 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142256.9341 95d8ihekm64l67qelv9fplikqt Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e839815566e83130e3','aut66e833651966e8313082' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142256.9345 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.9360 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142256.9387 95d8ihekm64l67qelv9fplikqt Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e839815566e83130e3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e833651966e8313082' ,0,0 ,2,23.00,50000,?,?,?)
20240916@142256.9641 95d8ihekm64l67qelv9fplikqt Query : use flama_phc
20240916@142256.9644 95d8ihekm64l67qelv9fplikqt Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20240916@142256.9664 95d8ihekm64l67qelv9fplikqt Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.657.00.01'
20240916@142256.9677 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.9693 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142256.9720 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.9734 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142256.9742 95d8ihekm64l67qelv9fplikqt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142256.9754 95d8ihekm64l67qelv9fplikqt Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400220100a'
20240916@142256.9766 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.9780 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142256.9790 95d8ihekm64l67qelv9fplikqt Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e833868466e83130ee','aut66e833651966e8313082' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142256.9795 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142256.9809 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142256.9837 95d8ihekm64l67qelv9fplikqt Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e833868466e83130ee',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66e833651966e8313082' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240916@142257.9400 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142257.1110 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142257.1370 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142257.1510 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142257.1600 95d8ihekm64l67qelv9fplikqt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142257.1720 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142257.1870 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142257.1980 95d8ihekm64l67qelv9fplikqt Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e839137166e8313104','aut66e833651966e8313082' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142257.2030 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142257.2180 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142257.2450 95d8ihekm64l67qelv9fplikqt Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e839137166e8313104',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e833651966e8313082' ,0,0 ,2,23.00,80000,?,?,?)
20240916@142257.5220 95d8ihekm64l67qelv9fplikqt Query : use flama_phc
20240916@142257.5260 95d8ihekm64l67qelv9fplikqt Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20240916@142257.5460 95d8ihekm64l67qelv9fplikqt Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.657.00.01'
20240916@142257.5630 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142257.5790 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142257.6030 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142257.6180 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142257.6260 95d8ihekm64l67qelv9fplikqt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142257.6370 95d8ihekm64l67qelv9fplikqt Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400220100a'
20240916@142257.6490 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142257.6640 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142257.6870 95d8ihekm64l67qelv9fplikqt Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e837244566e831310f','aut66e833651966e8313082' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142257.6920 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142257.7060 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142257.7370 95d8ihekm64l67qelv9fplikqt Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e837244566e831310f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66e833651966e8313082' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20240916@142257.9990 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142257.1016 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142257.1041 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142257.1055 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142257.1064 95d8ihekm64l67qelv9fplikqt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142257.1076 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142257.1090 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142257.1102 95d8ihekm64l67qelv9fplikqt Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e836393866e831311a','aut66e833651966e8313082' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142257.1106 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142257.1120 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142257.1147 95d8ihekm64l67qelv9fplikqt Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e836393866e831311a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e833651966e8313082' ,0,0 ,2,23.00,110000,?,?,?)
20240916@142257.1402 95d8ihekm64l67qelv9fplikqt Query : use flama_phc
20240916@142257.1405 95d8ihekm64l67qelv9fplikqt Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20240916@142257.1425 95d8ihekm64l67qelv9fplikqt Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.657.00.01'
20240916@142257.1438 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142257.1454 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142257.1478 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142257.1495 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142257.1503 95d8ihekm64l67qelv9fplikqt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142257.1517 95d8ihekm64l67qelv9fplikqt Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400220100a'
20240916@142257.1531 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142257.1546 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142257.1559 95d8ihekm64l67qelv9fplikqt Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e834654866e8313125','aut66e833651966e8313082' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142257.1570 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142257.1586 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142257.1615 95d8ihekm64l67qelv9fplikqt Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e834654866e8313125',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66e833651966e8313082' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20240916@142257.1876 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142257.1893 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142257.1918 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142257.1934 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142257.1944 95d8ihekm64l67qelv9fplikqt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142257.1956 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142257.1972 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142257.1985 95d8ihekm64l67qelv9fplikqt Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e830834166e831312f','aut66e833651966e8313082' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142257.1989 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142257.2006 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142257.2037 95d8ihekm64l67qelv9fplikqt Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e830834166e831312f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e833651966e8313082' ,0,0 ,2,23.00,140000,?,?,?)
20240916@142257.2446 95d8ihekm64l67qelv9fplikqt Query : use flama_phc
20240916@142257.2450 95d8ihekm64l67qelv9fplikqt Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20240916@142257.2471 95d8ihekm64l67qelv9fplikqt Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.657.00.01'
20240916@142257.2486 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142257.2504 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142257.2530 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142257.2546 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142257.2555 95d8ihekm64l67qelv9fplikqt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142257.2569 95d8ihekm64l67qelv9fplikqt Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400220100a'
20240916@142257.2583 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142257.2598 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142257.2611 95d8ihekm64l67qelv9fplikqt Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e838843066e831313f','aut66e833651966e8313082' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142257.2615 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142257.2631 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142257.2660 95d8ihekm64l67qelv9fplikqt Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e838843066e831313f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66e833651966e8313082' ,0,0 ,2,23.00,160000,?,?,?,?,?)
20240916@142257.2921 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142257.2939 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142257.2965 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142257.2979 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142257.2987 95d8ihekm64l67qelv9fplikqt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142257.3000 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142257.3014 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142257.3026 95d8ihekm64l67qelv9fplikqt Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e832841966e8313149','aut66e833651966e8313082' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142257.3030 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142257.3044 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142257.3069 95d8ihekm64l67qelv9fplikqt Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e832841966e8313149',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e833651966e8313082' ,0,0 ,2,23.00,170000,?,?,?)
20240916@142257.3318 95d8ihekm64l67qelv9fplikqt Query : use flama_phc
20240916@142257.3322 95d8ihekm64l67qelv9fplikqt Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20240916@142257.3342 95d8ihekm64l67qelv9fplikqt Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.657.00.01'
20240916@142257.3355 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142257.3370 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142257.3394 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142257.3407 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142257.3416 95d8ihekm64l67qelv9fplikqt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142257.3427 95d8ihekm64l67qelv9fplikqt Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400220100a'
20240916@142257.3439 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142257.3453 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142257.3464 95d8ihekm64l67qelv9fplikqt Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e832114566e8313153','aut66e833651966e8313082' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142257.3469 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142257.3483 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142257.3510 95d8ihekm64l67qelv9fplikqt Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e832114566e8313153',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66e833651966e8313082' ,0,0 ,2,23.00,190000,?,?,?,?,?)
20240916@142257.3769 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142257.3785 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142257.3810 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142257.3824 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142257.3832 95d8ihekm64l67qelv9fplikqt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142257.3843 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142257.3857 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142257.3868 95d8ihekm64l67qelv9fplikqt Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e830910666e831315d','aut66e833651966e8313082' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142257.3872 95d8ihekm64l67qelv9fplikqt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142257.3886 95d8ihekm64l67qelv9fplikqt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142257.3919 95d8ihekm64l67qelv9fplikqt Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e830910666e831315d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e833651966e8313082' ,0,0 ,2,23.00,200000,?,?,?)
20240916@142257.4171 95d8ihekm64l67qelv9fplikqt Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66e833651966e8313082','2405927','wait',39,'adm09112754980.682000002')
20240916@142257.4244 95d8ihekm64l67qelv9fplikqt Query : use flama_phc
20240916@142257.4246 95d8ihekm64l67qelv9fplikqt Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240916@142257.4276 95d8ihekm64l67qelv9fplikqt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2019';
20240916@142257.4305 95d8ihekm64l67qelv9fplikqt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2019';
20240916@142257.4344 95d8ihekm64l67qelv9fplikqt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2019';
20240916@142257.4377 95d8ihekm64l67qelv9fplikqt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2019';
20240916@142257.4955 nn9q1sl7imrksjjepenskiluq3 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240916@142257.4966 nn9q1sl7imrksjjepenskiluq3 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240916@142257.5023 nn9q1sl7imrksjjepenskiluq3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2020';
20240916@142257.5081 nn9q1sl7imrksjjepenskiluq3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2020';
20240916@142257.5130 nn9q1sl7imrksjjepenskiluq3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2020';
20240916@142257.5154 nn9q1sl7imrksjjepenskiluq3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2020';
20240916@142257.5203 nn9q1sl7imrksjjepenskiluq3 Query : use flama_phc
20240916@142257.5208 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240916@142257.5270 nn9q1sl7imrksjjepenskiluq3 Query : use flama_phc
20240916@142257.5273 nn9q1sl7imrksjjepenskiluq3 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240916@142257.5349 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20240916@142257.5532 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405928 and bi.ref ='324.682.00.01' and bi.lordem =1
20240916@142257.5880 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20240916@142257.5902 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405928 and bi.ref ='324.682.00.01' and bi.lordem =1
20240916@142257.5919 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20240916@142257.5938 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405928 and bi.ref ='324.682.00.01' and bi.lordem =1
20240916@142257.5954 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20240916@142257.5997 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405928 and bi.ref ='324.682.00.01' and bi.lordem =1
20240916@142257.6015 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20240916@142257.6034 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405928 and bi.ref ='324.682.00.01' and bi.lordem =1
20240916@142257.6051 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20240916@142257.6071 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405928 and bi.ref ='324.682.00.01' and bi.lordem =1
20240916@142257.6087 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20240916@142257.6108 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405928 and bi.ref ='324.682.00.01' and bi.lordem =1
20240916@142257.6125 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20240916@142257.6145 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405928 and bi.ref ='324.682.00.01' and bi.lordem =1
20240916@142257.6161 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.682.00.01'
20240916@142257.6181 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405928 and bi.ref ='324.682.00.01' and bi.lordem =1
20240916@142257.6198 nn9q1sl7imrksjjepenskiluq3 Query : use flama_phc
20240916@142257.6201 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240916@142257.6362 nn9q1sl7imrksjjepenskiluq3 Query : use flama_phc
20240916@142257.6365 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 1 valor from td where td.ndoc = 39
20240916@142257.6530 nn9q1sl7imrksjjepenskiluq3 Query : use flama_phc
20240916@142257.6571 nn9q1sl7imrksjjepenskiluq3 Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20240916@142257.8729 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20240916@142257.9717 nn9q1sl7imrksjjepenskiluq3 Query : use flama_phc
20240916@142258.6220 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240916@142258.1052 nn9q1sl7imrksjjepenskiluq3 Query : use flama_phc
20240916@142258.1093 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240916@142258.1466 nn9q1sl7imrksjjepenskiluq3 Query : use flama_phc
20240916@142258.1508 nn9q1sl7imrksjjepenskiluq3 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240916@142258.1964 nn9q1sl7imrksjjepenskiluq3 Query : use flama_phc
20240916@142258.2006 nn9q1sl7imrksjjepenskiluq3 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240916@142258.2624 nn9q1sl7imrksjjepenskiluq3 Query : use flama_phc
20240916@142258.2707 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from td where ndoc = 39
20240916@142258.2959 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240916@142258.3251 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142258.3505 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240916@142258.3918 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142258.4171 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240916@142258.5044 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142258.6757 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240916@142258.8154 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240916@142258.8531 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240916@142258.8865 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142258.9189 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240916@142258.9254 nn9q1sl7imrksjjepenskiluq3 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66e837777666e83132c7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240916@142258.9798 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142259.2000 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240916@142259.5470 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240916@142259.5600 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240916@142259.5740 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240916@142259.5860 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240916@142259.5980 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240916@142259.6100 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240916@142259.6220 nn9q1sl7imrksjjepenskiluq3 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66e837777666e83132c7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240916@142259.8770 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 fno valor from wsftdata order by fno desc
20240916@142259.9020 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142259.9190 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240916@142259.9450 nn9q1sl7imrksjjepenskiluq3 Query : select 'normal' from dummy
20240916@142259.9600 nn9q1sl7imrksjjepenskiluq3 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66e837777666e83132c7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',766,100810,0,'2024-09-16',39,'euro',0,0,2024 ,?,?)
20240916@142259.1549 nn9q1sl7imrksjjepenskiluq3 Query : use flama_phc
20240916@142259.1578 nn9q1sl7imrksjjepenskiluq3 Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20240916@142259.1603 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20240916@142259.1957 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142259.1974 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142259.2004 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142259.2020 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142259.2029 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142259.2042 nn9q1sl7imrksjjepenskiluq3 Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400223100a'
20240916@142259.2056 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142259.2074 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142259.2087 nn9q1sl7imrksjjepenskiluq3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e830263366e8313332','aut66e837777666e83132c7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142259.2094 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142259.2115 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142259.2148 nn9q1sl7imrksjjepenskiluq3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e830263366e8313332',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66e837777666e83132c7' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240916@142259.2883 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142259.2976 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142259.3029 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142259.3045 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142259.3053 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142259.3065 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142259.3079 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142259.3129 nn9q1sl7imrksjjepenskiluq3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e834368366e831334a','aut66e837777666e83132c7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142259.3173 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142259.3422 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142259.3887 nn9q1sl7imrksjjepenskiluq3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e834368366e831334a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e837777666e83132c7' ,0,0 ,2,23.00,20000,?,?,?)
20240916@142259.4421 nn9q1sl7imrksjjepenskiluq3 Query : use flama_phc
20240916@142259.4462 nn9q1sl7imrksjjepenskiluq3 Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20240916@142259.4759 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20240916@142259.5775 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142259.6800 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142259.6990 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142259.7013 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142259.7023 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142259.7231 nn9q1sl7imrksjjepenskiluq3 Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400223100a'
20240916@142259.7480 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142259.7704 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142259.7911 nn9q1sl7imrksjjepenskiluq3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e833604166e83133b6','aut66e837777666e83132c7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142259.7955 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142259.8208 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142259.8803 nn9q1sl7imrksjjepenskiluq3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e833604166e83133b6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66e837777666e83132c7' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240916@142259.9452 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142259.9691 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142300.5440 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142300.5650 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142300.6580 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142300.1007 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142300.1499 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142300.1734 nn9q1sl7imrksjjepenskiluq3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e831141766e8313418','aut66e837777666e83132c7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142300.1782 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142300.2051 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142300.2678 nn9q1sl7imrksjjepenskiluq3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e831141766e8313418',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e837777666e83132c7' ,0,0 ,2,23.00,50000,?,?,?)
20240916@142300.3388 nn9q1sl7imrksjjepenskiluq3 Query : use flama_phc
20240916@142300.3431 nn9q1sl7imrksjjepenskiluq3 Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20240916@142300.3766 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20240916@142300.4015 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142300.4268 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142300.4833 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142300.5087 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142300.5218 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142300.5467 nn9q1sl7imrksjjepenskiluq3 Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400223100a'
20240916@142300.5687 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142300.5939 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142300.6108 nn9q1sl7imrksjjepenskiluq3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e838506766e831348a','aut66e837777666e83132c7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142300.6152 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142300.6813 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142300.7420 nn9q1sl7imrksjjepenskiluq3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e838506766e831348a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66e837777666e83132c7' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240916@142300.7790 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142300.7833 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142300.7947 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142300.7983 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142300.8046 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142300.8161 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142300.8205 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142300.8238 nn9q1sl7imrksjjepenskiluq3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e830947766e83134c7','aut66e837777666e83132c7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142300.8249 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142300.8295 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142300.8364 nn9q1sl7imrksjjepenskiluq3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e830947766e83134c7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e837777666e83132c7' ,0,0 ,2,23.00,80000,?,?,?)
20240916@142300.8674 nn9q1sl7imrksjjepenskiluq3 Query : use flama_phc
20240916@142300.8709 nn9q1sl7imrksjjepenskiluq3 Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20240916@142300.8949 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20240916@142300.9181 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142300.9371 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142300.9790 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142301.5300 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142301.1750 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142301.3030 nn9q1sl7imrksjjepenskiluq3 Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400223100a'
20240916@142301.3190 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142301.3350 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142301.3460 nn9q1sl7imrksjjepenskiluq3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e835164566e8313507','aut66e837777666e83132c7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142301.3510 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142301.4460 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142301.4750 nn9q1sl7imrksjjepenskiluq3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e835164566e8313507',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66e837777666e83132c7' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20240916@142301.7450 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142301.8030 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142301.8620 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142301.8780 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142301.8860 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142301.8980 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142301.9120 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142301.9240 nn9q1sl7imrksjjepenskiluq3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e830875466e8313515','aut66e837777666e83132c7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142301.9290 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142301.9430 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142301.9700 nn9q1sl7imrksjjepenskiluq3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e830875466e8313515',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e837777666e83132c7' ,0,0 ,2,23.00,110000,?,?,?)
20240916@142301.1230 nn9q1sl7imrksjjepenskiluq3 Query : use flama_phc
20240916@142301.1233 nn9q1sl7imrksjjepenskiluq3 Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20240916@142301.1255 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20240916@142301.1271 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142301.1288 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142301.1315 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142301.1333 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142301.1342 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142301.1355 nn9q1sl7imrksjjepenskiluq3 Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400223100a'
20240916@142301.1368 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142301.1383 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142301.1394 nn9q1sl7imrksjjepenskiluq3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e833897266e8313521','aut66e837777666e83132c7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142301.1399 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142301.1414 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142301.1441 nn9q1sl7imrksjjepenskiluq3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e833897266e8313521',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66e837777666e83132c7' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20240916@142301.1720 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142301.1736 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142301.1765 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142301.1779 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142301.1788 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142301.1800 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142301.1814 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142301.1826 nn9q1sl7imrksjjepenskiluq3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e834150366e831352b','aut66e837777666e83132c7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142301.1830 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142301.1844 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142301.1873 nn9q1sl7imrksjjepenskiluq3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e834150366e831352b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e837777666e83132c7' ,0,0 ,2,23.00,140000,?,?,?)
20240916@142301.2138 nn9q1sl7imrksjjepenskiluq3 Query : use flama_phc
20240916@142301.2141 nn9q1sl7imrksjjepenskiluq3 Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20240916@142301.2162 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20240916@142301.2176 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142301.2193 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142301.2220 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142301.2235 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142301.2245 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142301.2258 nn9q1sl7imrksjjepenskiluq3 Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400223100a'
20240916@142301.2272 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142301.2286 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142301.2298 nn9q1sl7imrksjjepenskiluq3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e832897066e8313537','aut66e837777666e83132c7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142301.2302 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142301.2318 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142301.2347 nn9q1sl7imrksjjepenskiluq3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e832897066e8313537',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66e837777666e83132c7' ,0,0 ,2,23.00,160000,?,?,?,?,?)
20240916@142301.2622 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142301.2640 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142301.2673 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142301.2688 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142301.2697 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142301.2711 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142301.2725 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142301.2737 nn9q1sl7imrksjjepenskiluq3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e836220566e8313542','aut66e837777666e83132c7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142301.2741 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142301.2756 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142301.2786 nn9q1sl7imrksjjepenskiluq3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e836220566e8313542',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e837777666e83132c7' ,0,0 ,2,23.00,170000,?,?,?)
20240916@142301.3073 nn9q1sl7imrksjjepenskiluq3 Query : use flama_phc
20240916@142301.3077 nn9q1sl7imrksjjepenskiluq3 Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20240916@142301.3097 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20240916@142301.3111 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142301.3129 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142301.3436 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142301.3607 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142301.3623 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142301.3634 nn9q1sl7imrksjjepenskiluq3 Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400223100a'
20240916@142301.3647 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142301.3666 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142301.3677 nn9q1sl7imrksjjepenskiluq3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e833021366e8313559','aut66e837777666e83132c7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142301.3682 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142301.3695 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142301.3722 nn9q1sl7imrksjjepenskiluq3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e833021366e8313559',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66e837777666e83132c7' ,0,0 ,2,23.00,190000,?,?,?,?,?)
20240916@142301.4003 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142301.4019 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142301.4044 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142301.4058 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142301.4066 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142301.4078 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142301.4092 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142301.4103 nn9q1sl7imrksjjepenskiluq3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e831226366e8313563','aut66e837777666e83132c7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142301.4107 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142301.4121 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142301.4148 nn9q1sl7imrksjjepenskiluq3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e831226366e8313563',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e837777666e83132c7' ,0,0 ,2,23.00,200000,?,?,?)
20240916@142301.4405 nn9q1sl7imrksjjepenskiluq3 Query : use flama_phc
20240916@142301.4408 nn9q1sl7imrksjjepenskiluq3 Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20240916@142301.4426 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20240916@142301.4439 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142301.4454 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142301.4478 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142301.4493 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142301.4508 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142301.4521 nn9q1sl7imrksjjepenskiluq3 Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400223100a'
20240916@142301.4533 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142301.4548 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142301.4559 nn9q1sl7imrksjjepenskiluq3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e831803966e831356e','aut66e837777666e83132c7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142301.4562 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142301.4577 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142301.4603 nn9q1sl7imrksjjepenskiluq3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e831803966e831356e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66e837777666e83132c7' ,0,0 ,2,23.00,220000,?,?,?,?,?)
20240916@142301.4854 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142301.4869 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142301.4894 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142301.4908 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142301.4916 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142301.4928 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142301.4942 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142301.4953 nn9q1sl7imrksjjepenskiluq3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e831840566e8313578','aut66e837777666e83132c7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142301.4956 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142301.4970 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142301.4996 nn9q1sl7imrksjjepenskiluq3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e831840566e8313578',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e837777666e83132c7' ,0,0 ,2,23.00,230000,?,?,?)
20240916@142301.5244 nn9q1sl7imrksjjepenskiluq3 Query : use flama_phc
20240916@142301.5247 nn9q1sl7imrksjjepenskiluq3 Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20240916@142301.5266 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20240916@142301.5280 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142301.5295 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142301.5320 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142301.5334 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142301.5342 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142301.5354 nn9q1sl7imrksjjepenskiluq3 Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400223100a'
20240916@142301.5366 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142301.5380 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142301.5392 nn9q1sl7imrksjjepenskiluq3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e837778266e8313583','aut66e837777666e83132c7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240916@142301.5395 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142301.5409 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142301.5435 nn9q1sl7imrksjjepenskiluq3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e837778266e8313583',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66e837777666e83132c7' ,0,0 ,2,23.00,250000,?,?,?,?,?)
20240916@142301.5689 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142301.5779 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240916@142301.6124 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142301.6140 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240916@142301.6149 nn9q1sl7imrksjjepenskiluq3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240916@142301.6160 nn9q1sl7imrksjjepenskiluq3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240916@142301.6175 nn9q1sl7imrksjjepenskiluq3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
