20241212@154234.3120 et22ulf5bta5no513g90ikb9ic INICIO DE FICHEIRO DE LOG :: /var/www/webservices/logs/website.sql.log
20241212@154234.3116 et22ulf5bta5no513g90ikb9ic Query : use flama_phc
20241212@154234.3124 et22ulf5bta5no513g90ikb9ic Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20241212@154234.3141 et22ulf5bta5no513g90ikb9ic Query : use flama_phc
20241212@154234.3145 et22ulf5bta5no513g90ikb9ic Query : select st.stns valor from st where st.ref = '324.4970.00.1'
20241212@154234.3265 et22ulf5bta5no513g90ikb9ic Query : use flama_phc
20241212@154234.3269 et22ulf5bta5no513g90ikb9ic 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.4970.00.1' and sa.armazem = 133 
20241212@154234.3343 et22ulf5bta5no513g90ikb9ic Query : use flama_phc
20241212@154234.3346 et22ulf5bta5no513g90ikb9ic Query : select st.stns valor from st where st.ref = '324.4970.00.1'
20241212@154234.3370 et22ulf5bta5no513g90ikb9ic 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.4970.00.1'
20241212@154234.3386 et22ulf5bta5no513g90ikb9ic Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@154234.3404 et22ulf5bta5no513g90ikb9ic Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241212@154234.3419 et22ulf5bta5no513g90ikb9ic Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@154234.3434 et22ulf5bta5no513g90ikb9ic Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241212@154234.3444 et22ulf5bta5no513g90ikb9ic Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2400492200a'
20241212@154234.3458 et22ulf5bta5no513g90ikb9ic Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@154234.3473 et22ulf5bta5no513g90ikb9ic Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@154234.3488 et22ulf5bta5no513g90ikb9ic Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241212@154234.3501 et22ulf5bta5no513g90ikb9ic Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut675b090609675b046a54','aut675b070446675b046a27',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 = 'aut675b070446675b046a27'
20241212@154234.4147 et22ulf5bta5no513g90ikb9ic Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@154234.4190 et22ulf5bta5no513g90ikb9ic Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241212@154234.4208 et22ulf5bta5no513g90ikb9ic 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 'aut675b090609675b046a54',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 16.000, 16.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 ,39.99,39.99*200.48,39.99,39.99*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,39.99*16.000,39.99*16.000*200.48 ,9.098000,9.098000*200.48 ,9.098000,9.098000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,39.99,39.99*200.48,39.99*16.000,39.99*16.000*200.48,'pll24121149845,788000001 ',39.99,39.99*16.000,39.99,39.99*16.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut675b070446675b046a27'
20241212@154234.4785 et22ulf5bta5no513g90ikb9ic Query : use flama_phc
20241212@154234.4790 et22ulf5bta5no513g90ikb9ic Query : select st.usalote valor from st where st.ref = '324.1293.00.1'
20241212@154234.4805 et22ulf5bta5no513g90ikb9ic Query : use flama_phc
20241212@154234.4808 et22ulf5bta5no513g90ikb9ic Query : select st.stns valor from st where st.ref = '324.1293.00.1'
20241212@154234.4824 et22ulf5bta5no513g90ikb9ic Query : use flama_phc
20241212@154234.4827 et22ulf5bta5no513g90ikb9ic 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.1293.00.1' and sa.armazem = 133 
20241212@154234.4899 et22ulf5bta5no513g90ikb9ic Query : use flama_phc
20241212@154234.4902 et22ulf5bta5no513g90ikb9ic Query : select st.stns valor from st where st.ref = '324.1293.00.1'
20241212@154234.4921 et22ulf5bta5no513g90ikb9ic 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.1293.00.1'
20241212@154234.5069 et22ulf5bta5no513g90ikb9ic Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@154234.5088 et22ulf5bta5no513g90ikb9ic Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241212@154234.5102 et22ulf5bta5no513g90ikb9ic Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@154234.5117 et22ulf5bta5no513g90ikb9ic Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241212@154234.5125 et22ulf5bta5no513g90ikb9ic Query : select sestamp valor from se where ref ='324.1293.00.1' and lote = 'r2101042200a'
20241212@154234.5139 et22ulf5bta5no513g90ikb9ic Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@154234.5152 et22ulf5bta5no513g90ikb9ic Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@154234.5167 et22ulf5bta5no513g90ikb9ic Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241212@154234.5178 et22ulf5bta5no513g90ikb9ic Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut675b093587675b046a7d','aut675b070446675b046a27',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 = 'aut675b070446675b046a27'
20241212@154234.5347 et22ulf5bta5no513g90ikb9ic Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@154234.5387 et22ulf5bta5no513g90ikb9ic Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241212@154234.5413 et22ulf5bta5no513g90ikb9ic 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 'aut675b093587675b046a7d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 2.000, 2.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 ,399.99,399.99*200.48,399.99,399.99*200.48 ,0,0,'un ','' ,bo.marcada,1 ,399.99*2.000,399.99*2.000*200.48 ,154.657000,154.657000*200.48 ,154.657000,154.657000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,399.99,399.99*200.48,399.99*2.000,399.99*2.000*200.48,'pll24121149868,949000002 ',399.99,399.99*2.000,399.99,399.99*2.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut675b070446675b046a27'
20241212@154234.5899 et22ulf5bta5no513g90ikb9ic Query : insert into wsbocreationlog (initialstamp,externalid,creationstatus,documenttypeid,idustamp,transactionid) values ('aut675b070446675b046a27','','wait',5,'adm12071144683,938000003','')
20241212@154234.6488 et22ulf5bta5no513g90ikb9ic Query : use flama_phc
20241212@154234.6494 et22ulf5bta5no513g90ikb9ic Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241212@154234.6610 et22ulf5bta5no513g90ikb9ic Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3949';
20241212@154234.6679 et22ulf5bta5no513g90ikb9ic Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3949';
20241212@161908.3503 0vqbccbh0d55b5mjbcf6f5avi2 Query : use flama_phc
20241212@161908.3508 0vqbccbh0d55b5mjbcf6f5avi2 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241212@161908.3767 0vqbccbh0d55b5mjbcf6f5avi2 Query : use flama_phc
20241212@161908.3772 0vqbccbh0d55b5mjbcf6f5avi2 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241212@163608.4043 3h3mqbanrts8kfms47ropr2lh2 Query : use flama_phc
20241212@163608.4047 3h3mqbanrts8kfms47ropr2lh2 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241212@163608.4139 3h3mqbanrts8kfms47ropr2lh2 Query : use flama_phc
20241212@163608.4142 3h3mqbanrts8kfms47ropr2lh2 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241212@171909.7070 f8tb3v74t7g5s78cvgl8j6colh Query : use flama_phc
20241212@171909.7075 f8tb3v74t7g5s78cvgl8j6colh Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241212@171909.7167 f8tb3v74t7g5s78cvgl8j6colh Query : use flama_phc
20241212@171909.7171 f8tb3v74t7g5s78cvgl8j6colh Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241212@173609.5426 r0u68mdf1lqrp27qap9l81f22l Query : use flama_phc
20241212@173609.5431 r0u68mdf1lqrp27qap9l81f22l Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241212@173609.5516 r0u68mdf1lqrp27qap9l81f22l Query : use flama_phc
20241212@173609.5520 r0u68mdf1lqrp27qap9l81f22l Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241212@181908.6810 up0n1s2pemictn3n0p47tifp7a Query : use flama_phc
20241212@181908.6814 up0n1s2pemictn3n0p47tifp7a Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241212@181908.6900 up0n1s2pemictn3n0p47tifp7a Query : use flama_phc
20241212@181908.6903 up0n1s2pemictn3n0p47tifp7a Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241212@183608.4969 fcg6ls1v65uvahqo7t403krif2 Query : use flama_phc
20241212@183608.4976 fcg6ls1v65uvahqo7t403krif2 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241212@183608.5218 fcg6ls1v65uvahqo7t403krif2 Query : use flama_phc
20241212@183608.5221 fcg6ls1v65uvahqo7t403krif2 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241212@191910.2910 0tj0l1j11esa69dujskqgbqgen Query : use flama_phc
20241212@191910.2914 0tj0l1j11esa69dujskqgbqgen Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241212@191910.3020 0tj0l1j11esa69dujskqgbqgen Query : use flama_phc
20241212@191910.3023 0tj0l1j11esa69dujskqgbqgen Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241212@193610.3230 fjj8eltfo4p4sf6mdqfpo582c8 Query : use flama_phc
20241212@193610.3239 fjj8eltfo4p4sf6mdqfpo582c8 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241212@193610.3329 fjj8eltfo4p4sf6mdqfpo582c8 Query : use flama_phc
20241212@193610.3333 fjj8eltfo4p4sf6mdqfpo582c8 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241212@201908.2762 bm8u72ggb627vve3oegci40tro Query : use flama_phc
20241212@201908.2766 bm8u72ggb627vve3oegci40tro Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241212@201908.3106 bm8u72ggb627vve3oegci40tro Query : use flama_phc
20241212@201908.3110 bm8u72ggb627vve3oegci40tro Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241212@203419.3036 vbhjkmhin6jfdra89pi8losbs4 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241212@203419.3079 vbhjkmhin6jfdra89pi8losbs4 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241212@203419.3764 vbhjkmhin6jfdra89pi8losbs4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3950';
20241212@203419.3894 vbhjkmhin6jfdra89pi8losbs4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3950';
20241212@203419.4170 vbhjkmhin6jfdra89pi8losbs4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3950';
20241212@203419.4226 vbhjkmhin6jfdra89pi8losbs4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3950';
20241212@203419.4340 vbhjkmhin6jfdra89pi8losbs4 Query : use flama_phc
20241212@203419.4344 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241212@203419.4525 vbhjkmhin6jfdra89pi8losbs4 Query : use flama_phc
20241212@203419.4528 vbhjkmhin6jfdra89pi8losbs4 Query : select no, estab,szadrsdesc from szadrs where u_coddest=6975
20241212@203419.4648 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8253.00.1'
20241212@203419.5095 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408549 and bi.ref ='327.8253.00.1' and bi.lordem =1
20241212@203419.5528 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1803.00.1'
20241212@203419.5661 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408549 and bi.ref ='324.1803.00.1' and bi.lordem =2
20241212@203419.6042 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1805.00.1'
20241212@203419.6184 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408549 and bi.ref ='324.1805.00.1' and bi.lordem =3
20241212@203419.6541 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1805.00.1'
20241212@203419.6577 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408549 and bi.ref ='324.1805.00.1' and bi.lordem =3
20241212@203419.6608 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1805.00.1'
20241212@203419.6638 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408549 and bi.ref ='324.1805.00.1' and bi.lordem =3
20241212@203419.6667 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20241212@203419.6724 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408549 and bi.ref ='324.1824.00.1' and bi.lordem =4
20241212@203419.7058 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20241212@203419.7100 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408549 and bi.ref ='324.1824.00.1' and bi.lordem =4
20241212@203419.7131 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20241212@203419.7199 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408549 and bi.ref ='324.1824.00.1' and bi.lordem =4
20241212@203419.7226 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20241212@203419.7258 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408549 and bi.ref ='324.1824.00.1' and bi.lordem =4
20241212@203419.7286 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20241212@203419.7320 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408549 and bi.ref ='324.1824.00.1' and bi.lordem =4
20241212@203419.7350 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1832.00.2'
20241212@203419.7487 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408549 and bi.ref ='324.1832.00.2' and bi.lordem =5
20241212@203419.9003 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1884.00.1'
20241212@203419.9146 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408549 and bi.ref ='324.1884.00.1' and bi.lordem =6
20241212@203419.9482 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1889.00.1'
20241212@203419.9618 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408549 and bi.ref ='324.1889.00.1' and bi.lordem =7
20241212@203419.9974 vbhjkmhin6jfdra89pi8losbs4 Query : use flama_phc
20241212@203419.9978 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241212@203420.3930 vbhjkmhin6jfdra89pi8losbs4 Query : use flama_phc
20241212@203420.3970 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 1 valor from td where td.ndoc = 39
20241212@203420.5030 vbhjkmhin6jfdra89pi8losbs4 Query : use flama_phc
20241212@203420.5060 vbhjkmhin6jfdra89pi8losbs4 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')
20241212@203420.6080 vbhjkmhin6jfdra89pi8losbs4 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
20241212@203420.7660 vbhjkmhin6jfdra89pi8losbs4 Query : use flama_phc
20241212@203420.7700 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 ~inactivo valor from cl where no = '200500' and estab = 0 order by inactivo desc
20241212@203420.9060 vbhjkmhin6jfdra89pi8losbs4 Query : use flama_phc
20241212@203420.9100 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241212@203420.1027 vbhjkmhin6jfdra89pi8losbs4 Query : use flama_phc
20241212@203420.1030 vbhjkmhin6jfdra89pi8losbs4 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241212@203420.1203 vbhjkmhin6jfdra89pi8losbs4 Query : use flama_phc
20241212@203420.1245 vbhjkmhin6jfdra89pi8losbs4 Query : select szadrsstamp valor from szadrs where szadrsdesc='eldisser, s.a. - tarragona'
20241212@203420.1374 vbhjkmhin6jfdra89pi8losbs4 Query : use flama_phc
20241212@203420.1377 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from td where ndoc = 39
20241212@203420.1453 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241212@203420.1530 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203420.1986 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241212@203420.2045 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203420.2063 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241212@203420.2093 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203420.2107 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241212@203420.2122 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241212@203420.2284 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241212@203420.2507 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203420.2525 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241212@203420.2545 vbhjkmhin6jfdra89pi8losbs4 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut675b408499675b48cc33' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241212@203420.2973 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203420.2993 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241212@203420.3039 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241212@203420.3112 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241212@203420.3176 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241212@203420.3239 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241212@203420.3300 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241212@203420.3361 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241212@203420.3420 vbhjkmhin6jfdra89pi8losbs4 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut675b408499675b48cc33',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241212@203420.5666 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 fno valor from wsftdata order by fno desc
20241212@203420.5745 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203420.5763 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241212@203420.5791 vbhjkmhin6jfdra89pi8losbs4 Query : select 'normal' from dummy
20241212@203420.5857 vbhjkmhin6jfdra89pi8losbs4 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut675b408499675b48cc33',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2434,200500,0,'2024-12-12',39,'euro',0,0,2024 ,?,?)
20241212@203420.6762 vbhjkmhin6jfdra89pi8losbs4 Query : use flama_phc
20241212@203420.6766 vbhjkmhin6jfdra89pi8losbs4 Query : select st.usalote valor from st where st.ref = '327.8253.00.1'
20241212@203420.6799 vbhjkmhin6jfdra89pi8losbs4 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 = '327.8253.00.1'
20241212@203420.6930 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203420.6949 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203420.6983 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203420.7002 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203420.7013 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@203420.7058 vbhjkmhin6jfdra89pi8losbs4 Query : select sestamp valor from se where ref ='327.8253.00.1' and lote = 'r2400073100b'
20241212@203420.7079 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203420.7099 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203420.7115 vbhjkmhin6jfdra89pi8losbs4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675b451130675b48ccac','aut675b408499675b48cc33' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241212@203420.7178 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203420.7201 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203420.7238 vbhjkmhin6jfdra89pi8losbs4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675b451130675b48ccac',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut675b408499675b48cc33' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241212@203420.7744 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203420.7764 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203420.7799 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203420.7818 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203420.7830 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@203420.7844 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203420.7863 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203420.7878 vbhjkmhin6jfdra89pi8losbs4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675b476461675b48ccbf','aut675b408499675b48cc33' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241212@203420.7883 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203420.7902 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203420.7939 vbhjkmhin6jfdra89pi8losbs4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675b476461675b48ccbf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675b408499675b48cc33' ,0,0 ,2,23.00,20000,?,?,?)
20241212@203420.8185 vbhjkmhin6jfdra89pi8losbs4 Query : use flama_phc
20241212@203420.8189 vbhjkmhin6jfdra89pi8losbs4 Query : select st.usalote valor from st where st.ref = '324.1803.00.1'
20241212@203420.8215 vbhjkmhin6jfdra89pi8losbs4 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.1803.00.1'
20241212@203420.8374 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203420.8392 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203420.8422 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203420.8438 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203420.8448 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@203420.8462 vbhjkmhin6jfdra89pi8losbs4 Query : select sestamp valor from se where ref ='324.1803.00.1' and lote = 'r2400480200a'
20241212@203420.8478 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203420.8495 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203420.8507 vbhjkmhin6jfdra89pi8losbs4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675b463287675b48cccf','aut675b408499675b48cc33' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241212@203420.8511 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203420.8528 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203420.8557 vbhjkmhin6jfdra89pi8losbs4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675b463287675b48cccf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut675b408499675b48cc33' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241212@203420.8855 vbhjkmhin6jfdra89pi8losbs4 Query : use flama_phc
20241212@203420.8858 vbhjkmhin6jfdra89pi8losbs4 Query : select st.usalote valor from st where st.ref = '324.1805.00.1'
20241212@203420.8882 vbhjkmhin6jfdra89pi8losbs4 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.1805.00.1'
20241212@203420.9016 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203420.9032 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203420.9061 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203420.9077 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203420.9086 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@203420.9099 vbhjkmhin6jfdra89pi8losbs4 Query : select sestamp valor from se where ref ='324.1805.00.1' and lote = 'r2400291200a'
20241212@203420.9126 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203420.9142 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203420.9155 vbhjkmhin6jfdra89pi8losbs4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675b444061675b48ccde','aut675b408499675b48cc33' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241212@203420.9159 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203420.9175 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203420.9206 vbhjkmhin6jfdra89pi8losbs4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675b444061675b48ccde',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut675b408499675b48cc33' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20241212@203420.9596 vbhjkmhin6jfdra89pi8losbs4 Query : use flama_phc
20241212@203420.9600 vbhjkmhin6jfdra89pi8losbs4 Query : select st.usalote valor from st where st.ref = '324.1805.00.1'
20241212@203420.9627 vbhjkmhin6jfdra89pi8losbs4 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.1805.00.1'
20241212@203420.9643 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203420.9662 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203420.9693 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203420.9713 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203420.9724 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@203420.9740 vbhjkmhin6jfdra89pi8losbs4 Query : select sestamp valor from se where ref ='324.1805.00.1' and lote = 'r2400291200a'
20241212@203420.9755 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203420.9771 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203420.9784 vbhjkmhin6jfdra89pi8losbs4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675b402223675b48ccee','aut675b408499675b48cc33' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241212@203420.9789 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203420.9804 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203420.9836 vbhjkmhin6jfdra89pi8losbs4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675b402223675b48ccee',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut675b408499675b48cc33' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20241212@203421.7800 vbhjkmhin6jfdra89pi8losbs4 Query : use flama_phc
20241212@203421.8100 vbhjkmhin6jfdra89pi8losbs4 Query : select st.usalote valor from st where st.ref = '324.1805.00.1'
20241212@203421.1030 vbhjkmhin6jfdra89pi8losbs4 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.1805.00.1'
20241212@203421.1170 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.1360 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203421.1640 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.1810 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203421.1910 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@203421.2050 vbhjkmhin6jfdra89pi8losbs4 Query : select sestamp valor from se where ref ='324.1805.00.1' and lote = 'r2400291200a'
20241212@203421.2220 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.2370 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203421.2500 vbhjkmhin6jfdra89pi8losbs4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675b472947675b48cd05','aut675b408499675b48cc33' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241212@203421.2550 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.2700 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203421.3020 vbhjkmhin6jfdra89pi8losbs4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675b472947675b48cd05',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',14.000 ,'aut675b408499675b48cc33' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241212@203421.5840 vbhjkmhin6jfdra89pi8losbs4 Query : use flama_phc
20241212@203421.5880 vbhjkmhin6jfdra89pi8losbs4 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241212@203421.6130 vbhjkmhin6jfdra89pi8losbs4 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'
20241212@203421.6480 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.6650 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203421.6920 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.7070 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203421.7180 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@203421.7300 vbhjkmhin6jfdra89pi8losbs4 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400216200a'
20241212@203421.7490 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.7650 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203421.7780 vbhjkmhin6jfdra89pi8losbs4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675b496996675b48cd12','aut675b408499675b48cc33' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241212@203421.7820 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.7980 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203421.8290 vbhjkmhin6jfdra89pi8losbs4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675b496996675b48cd12',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut675b408499675b48cc33' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20241212@203421.1098 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.1116 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203421.1144 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.1159 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203421.1169 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@203421.1181 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.1238 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203421.3418 vbhjkmhin6jfdra89pi8losbs4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675b465698675b48cd1c','aut675b408499675b48cc33' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241212@203421.3423 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.3442 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203421.3473 vbhjkmhin6jfdra89pi8losbs4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675b465698675b48cd1c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675b408499675b48cc33' ,0,0 ,2,23.00,90000,?,?,?)
20241212@203421.3719 vbhjkmhin6jfdra89pi8losbs4 Query : use flama_phc
20241212@203421.3723 vbhjkmhin6jfdra89pi8losbs4 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241212@203421.3743 vbhjkmhin6jfdra89pi8losbs4 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'
20241212@203421.3757 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.3774 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203421.3799 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.3814 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203421.3822 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@203421.3833 vbhjkmhin6jfdra89pi8losbs4 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400216200a'
20241212@203421.3845 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.3860 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203421.3878 vbhjkmhin6jfdra89pi8losbs4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675b489779675b48cd5d','aut675b408499675b48cc33' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241212@203421.3883 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.3897 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203421.3925 vbhjkmhin6jfdra89pi8losbs4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675b489779675b48cd5d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut675b408499675b48cc33' ,0,0 ,2,23.00,110000,?,?,?,?,?)
20241212@203421.4190 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.4209 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203421.4235 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.4251 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203421.4261 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@203421.4274 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.4290 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203421.4302 vbhjkmhin6jfdra89pi8losbs4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675b496221675b48cd68','aut675b408499675b48cc33' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241212@203421.4356 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.4371 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203421.4401 vbhjkmhin6jfdra89pi8losbs4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675b496221675b48cd68',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675b408499675b48cc33' ,0,0 ,2,23.00,120000,?,?,?)
20241212@203421.4861 vbhjkmhin6jfdra89pi8losbs4 Query : use flama_phc
20241212@203421.4865 vbhjkmhin6jfdra89pi8losbs4 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241212@203421.4888 vbhjkmhin6jfdra89pi8losbs4 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'
20241212@203421.4903 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.4924 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203421.4952 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.4973 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203421.4983 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@203421.4996 vbhjkmhin6jfdra89pi8losbs4 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400216200a'
20241212@203421.5009 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.5028 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203421.5043 vbhjkmhin6jfdra89pi8losbs4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675b474998675b48cd7a','aut675b408499675b48cc33' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241212@203421.5049 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.5068 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203421.5102 vbhjkmhin6jfdra89pi8losbs4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675b474998675b48cd7a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut675b408499675b48cc33' ,0,0 ,2,23.00,140000,?,?,?,?,?)
20241212@203421.5560 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.5580 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203421.5610 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.5628 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203421.5638 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@203421.5652 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.5669 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203421.5681 vbhjkmhin6jfdra89pi8losbs4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675b402030675b48cd89','aut675b408499675b48cc33' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241212@203421.5686 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.5702 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203421.5761 vbhjkmhin6jfdra89pi8losbs4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675b402030675b48cd89',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675b408499675b48cc33' ,0,0 ,2,23.00,150000,?,?,?)
20241212@203421.5982 vbhjkmhin6jfdra89pi8losbs4 Query : use flama_phc
20241212@203421.5985 vbhjkmhin6jfdra89pi8losbs4 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241212@203421.6029 vbhjkmhin6jfdra89pi8losbs4 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'
20241212@203421.6044 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.6061 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203421.6092 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.6110 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203421.6121 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@203421.6137 vbhjkmhin6jfdra89pi8losbs4 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400216200a'
20241212@203421.6151 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.6169 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203421.6183 vbhjkmhin6jfdra89pi8losbs4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675b459760675b48cd96','aut675b408499675b48cc33' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241212@203421.6189 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.6206 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203421.6241 vbhjkmhin6jfdra89pi8losbs4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675b459760675b48cd96',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut675b408499675b48cc33' ,0,0 ,2,23.00,170000,?,?,?,?,?)
20241212@203421.6476 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.6496 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203421.6527 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.6546 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203421.6556 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@203421.6572 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.6591 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203421.6607 vbhjkmhin6jfdra89pi8losbs4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675b448450675b48cda0','aut675b408499675b48cc33' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241212@203421.6612 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.6630 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203421.6663 vbhjkmhin6jfdra89pi8losbs4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675b448450675b48cda0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675b408499675b48cc33' ,0,0 ,2,23.00,180000,?,?,?)
20241212@203421.6896 vbhjkmhin6jfdra89pi8losbs4 Query : use flama_phc
20241212@203421.6899 vbhjkmhin6jfdra89pi8losbs4 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241212@203421.6922 vbhjkmhin6jfdra89pi8losbs4 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'
20241212@203421.6939 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.6958 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203421.6989 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.7005 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203421.7015 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@203421.7030 vbhjkmhin6jfdra89pi8losbs4 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400216200a'
20241212@203421.7044 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.7062 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203421.7077 vbhjkmhin6jfdra89pi8losbs4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675b492406675b48cdab','aut675b408499675b48cc33' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241212@203421.7081 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.7097 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203421.7128 vbhjkmhin6jfdra89pi8losbs4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675b492406675b48cdab',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut675b408499675b48cc33' ,0,0 ,2,23.00,200000,?,?,?,?,?)
20241212@203421.7424 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.7445 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203421.7474 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.7490 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203421.7499 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@203421.7513 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.7529 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203421.7543 vbhjkmhin6jfdra89pi8losbs4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675b473792675b48cdb7','aut675b408499675b48cc33' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241212@203421.7548 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.7567 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203421.7601 vbhjkmhin6jfdra89pi8losbs4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675b473792675b48cdb7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675b408499675b48cc33' ,0,0 ,2,23.00,210000,?,?,?)
20241212@203421.7889 vbhjkmhin6jfdra89pi8losbs4 Query : use flama_phc
20241212@203421.7893 vbhjkmhin6jfdra89pi8losbs4 Query : select st.usalote valor from st where st.ref = '324.1832.00.2'
20241212@203421.7918 vbhjkmhin6jfdra89pi8losbs4 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.1832.00.2'
20241212@203421.8061 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.8079 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203421.8109 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.8126 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203421.8135 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@203421.8148 vbhjkmhin6jfdra89pi8losbs4 Query : select sestamp valor from se where ref ='324.1832.00.2' and lote = 'r2301257100a'
20241212@203421.8193 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.8212 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203421.8226 vbhjkmhin6jfdra89pi8losbs4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675b468991675b48cdc8','aut675b408499675b48cc33' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241212@203421.8231 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.8246 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203421.8285 vbhjkmhin6jfdra89pi8losbs4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675b468991675b48cdc8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10.000 ,'aut675b408499675b48cc33' ,0,0 ,2,23.00,230000,?,?,?,?,?)
20241212@203421.8642 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.8660 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203421.8690 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.8706 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203421.8716 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@203421.8730 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.8746 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203421.8759 vbhjkmhin6jfdra89pi8losbs4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675b445205675b48cdd5','aut675b408499675b48cc33' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241212@203421.8764 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.8783 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203421.8815 vbhjkmhin6jfdra89pi8losbs4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675b445205675b48cdd5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675b408499675b48cc33' ,0,0 ,2,23.00,240000,?,?,?)
20241212@203421.9123 vbhjkmhin6jfdra89pi8losbs4 Query : use flama_phc
20241212@203421.9127 vbhjkmhin6jfdra89pi8losbs4 Query : select st.usalote valor from st where st.ref = '324.1884.00.1'
20241212@203421.9150 vbhjkmhin6jfdra89pi8losbs4 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.1884.00.1'
20241212@203421.9293 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.9311 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203421.9341 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.9357 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203421.9366 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@203421.9380 vbhjkmhin6jfdra89pi8losbs4 Query : select sestamp valor from se where ref ='324.1884.00.1' and lote = 'r2301208100a'
20241212@203421.9445 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.9461 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203421.9473 vbhjkmhin6jfdra89pi8losbs4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675b461117675b48cde6','aut675b408499675b48cc33' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241212@203421.9477 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.9493 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203421.9522 vbhjkmhin6jfdra89pi8losbs4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675b461117675b48cde6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10.000 ,'aut675b408499675b48cc33' ,0,0 ,2,23.00,260000,?,?,?,?,?)
20241212@203421.9939 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203421.9957 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203421.9986 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203422.4000 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203422.1300 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@203422.2700 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203422.4300 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203422.5500 vbhjkmhin6jfdra89pi8losbs4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675b461195675b48ce00','aut675b408499675b48cc33' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241212@203422.6000 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203422.7600 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203422.1250 vbhjkmhin6jfdra89pi8losbs4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675b461195675b48ce00',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675b408499675b48cc33' ,0,0 ,2,23.00,270000,?,?,?)
20241212@203422.3680 vbhjkmhin6jfdra89pi8losbs4 Query : use flama_phc
20241212@203422.3720 vbhjkmhin6jfdra89pi8losbs4 Query : select st.usalote valor from st where st.ref = '324.1889.00.1'
20241212@203422.4010 vbhjkmhin6jfdra89pi8losbs4 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.1889.00.1'
20241212@203422.7410 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203422.7600 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203422.7900 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203422.8070 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203422.8170 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@203422.8300 vbhjkmhin6jfdra89pi8losbs4 Query : select sestamp valor from se where ref ='324.1889.00.1' and lote = 'r2400452200a'
20241212@203422.8540 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203422.8700 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203422.8820 vbhjkmhin6jfdra89pi8losbs4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675b420549675b48ce14','aut675b408499675b48cc33' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241212@203422.8870 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203422.9030 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203422.9340 vbhjkmhin6jfdra89pi8losbs4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675b420549675b48ce14',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut675b408499675b48cc33' ,0,0 ,2,23.00,290000,?,?,?,?,?)
20241212@203422.1459 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203422.1477 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203422.1505 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203422.1520 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203422.1531 vbhjkmhin6jfdra89pi8losbs4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@203422.1547 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203422.1562 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203422.1574 vbhjkmhin6jfdra89pi8losbs4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675b439992675b48ce25','aut675b408499675b48cc33' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241212@203422.1578 vbhjkmhin6jfdra89pi8losbs4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203422.1593 vbhjkmhin6jfdra89pi8losbs4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203422.1622 vbhjkmhin6jfdra89pi8losbs4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675b439992675b48ce25',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675b408499675b48cc33' ,0,0 ,2,23.00,300000,?,?,?)
20241212@203422.1900 vbhjkmhin6jfdra89pi8losbs4 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut675b408499675b48cc33','2408549','wait',39,'adm09112754980.682000002')
20241212@203422.2131 vbhjkmhin6jfdra89pi8losbs4 Query : use flama_phc
20241212@203422.2135 vbhjkmhin6jfdra89pi8losbs4 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241212@203422.2214 vbhjkmhin6jfdra89pi8losbs4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3950';
20241212@203422.2316 vbhjkmhin6jfdra89pi8losbs4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3950';
20241212@203422.2432 vbhjkmhin6jfdra89pi8losbs4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3950';
20241212@203422.2491 vbhjkmhin6jfdra89pi8losbs4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3950';
20241212@203422.3231 sv0uv4o6allinq7dtbfftcmup1 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241212@203422.3251 sv0uv4o6allinq7dtbfftcmup1 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241212@203422.3362 sv0uv4o6allinq7dtbfftcmup1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3951';
20241212@203422.3449 sv0uv4o6allinq7dtbfftcmup1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3951';
20241212@203422.3580 sv0uv4o6allinq7dtbfftcmup1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3951';
20241212@203422.4779 sv0uv4o6allinq7dtbfftcmup1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3951';
20241212@203422.4902 sv0uv4o6allinq7dtbfftcmup1 Query : use flama_phc
20241212@203422.4905 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241212@203422.5054 sv0uv4o6allinq7dtbfftcmup1 Query : use flama_phc
20241212@203422.5058 sv0uv4o6allinq7dtbfftcmup1 Query : select no, estab,szadrsdesc from szadrs where u_coddest=5187
20241212@203422.5165 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8253.00.1'
20241212@203422.5197 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408550 and bi.ref ='327.8253.00.1' and bi.lordem =1
20241212@203422.5600 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1805.00.1'
20241212@203422.5636 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408550 and bi.ref ='324.1805.00.1' and bi.lordem =2
20241212@203422.6062 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20241212@203422.6211 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408550 and bi.ref ='324.1816.00.1' and bi.lordem =3
20241212@203422.6788 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20241212@203422.6824 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408550 and bi.ref ='324.1824.00.1' and bi.lordem =4
20241212@203422.7183 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20241212@203422.7223 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408550 and bi.ref ='324.1824.00.1' and bi.lordem =5
20241212@203422.7594 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20241212@203422.7657 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408550 and bi.ref ='324.1824.00.1' and bi.lordem =5
20241212@203422.7687 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20241212@203422.7721 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408550 and bi.ref ='324.1824.00.1' and bi.lordem =5
20241212@203422.7751 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20241212@203422.7788 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408550 and bi.ref ='324.1824.00.1' and bi.lordem =5
20241212@203422.7820 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20241212@203422.7853 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408550 and bi.ref ='324.1824.00.1' and bi.lordem =5
20241212@203422.7881 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20241212@203422.7910 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408550 and bi.ref ='324.1824.00.1' and bi.lordem =5
20241212@203422.7936 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1834.00.1'
20241212@203422.8093 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408550 and bi.ref ='324.1834.00.1' and bi.lordem =6
20241212@203422.8530 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1837.00.1'
20241212@203422.8700 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408550 and bi.ref ='324.1837.00.1' and bi.lordem =7
20241212@203422.9080 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1837.00.1'
20241212@203422.9109 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408550 and bi.ref ='324.1837.00.1' and bi.lordem =7
20241212@203422.9134 sv0uv4o6allinq7dtbfftcmup1 Query : use flama_phc
20241212@203422.9138 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241212@203422.9200 sv0uv4o6allinq7dtbfftcmup1 Query : use flama_phc
20241212@203422.9204 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 1 valor from td where td.ndoc = 39
20241212@203422.9259 sv0uv4o6allinq7dtbfftcmup1 Query : use flama_phc
20241212@203422.9263 sv0uv4o6allinq7dtbfftcmup1 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')
20241212@203422.9312 sv0uv4o6allinq7dtbfftcmup1 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
20241212@203422.9385 sv0uv4o6allinq7dtbfftcmup1 Query : use flama_phc
20241212@203422.9388 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 ~inactivo valor from cl where no = '200500' and estab = 0 order by inactivo desc
20241212@203422.9443 sv0uv4o6allinq7dtbfftcmup1 Query : use flama_phc
20241212@203422.9447 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241212@203422.9508 sv0uv4o6allinq7dtbfftcmup1 Query : use flama_phc
20241212@203422.9511 sv0uv4o6allinq7dtbfftcmup1 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241212@203422.9593 sv0uv4o6allinq7dtbfftcmup1 Query : use flama_phc
20241212@203422.9596 sv0uv4o6allinq7dtbfftcmup1 Query : select szadrsstamp valor from szadrs where szadrsdesc='eldisser, s.a. - grucoga'
20241212@203422.9695 sv0uv4o6allinq7dtbfftcmup1 Query : use flama_phc
20241212@203422.9698 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from td where ndoc = 39
20241212@203422.9711 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241212@203422.9725 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203422.9743 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241212@203422.9763 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203422.9779 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241212@203422.9810 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203422.9825 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241212@203422.9839 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241212@203422.9898 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241212@203422.9913 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203422.9930 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241212@203422.9947 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut675b486988675b48cef0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241212@203423.1780 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.2010 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241212@203423.2370 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241212@203423.2510 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241212@203423.2640 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241212@203423.2760 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241212@203423.2880 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241212@203423.3040 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241212@203423.3160 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut675b486988675b48cef0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241212@203423.5980 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 fno valor from wsftdata order by fno desc
20241212@203423.6320 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.6500 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241212@203423.6740 sv0uv4o6allinq7dtbfftcmup1 Query : select 'normal' from dummy
20241212@203423.6900 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut675b486988675b48cef0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2435,200500,0,'2024-12-12',39,'euro',0,0,2024 ,?,?)
20241212@203423.1013 sv0uv4o6allinq7dtbfftcmup1 Query : use flama_phc
20241212@203423.1016 sv0uv4o6allinq7dtbfftcmup1 Query : select st.usalote valor from st where st.ref = '327.8253.00.1'
20241212@203423.1044 sv0uv4o6allinq7dtbfftcmup1 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 = '327.8253.00.1'
20241212@203423.1062 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.1141 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203423.1174 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.1193 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203423.1203 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@203423.1217 sv0uv4o6allinq7dtbfftcmup1 Query : select sestamp valor from se where ref ='327.8253.00.1' and lote = 'r2400073100b'
20241212@203423.1232 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.1249 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203423.1263 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675b408851675b48cf1e','aut675b486988675b48cef0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241212@203423.1268 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.1288 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203423.1325 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675b408851675b48cf1e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut675b486988675b48cef0' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241212@203423.1576 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.1595 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203423.1624 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.1640 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203423.1649 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@203423.1662 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.1678 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203423.1691 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675b462390675b48cf28','aut675b486988675b48cef0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241212@203423.1697 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.1712 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203423.1741 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675b462390675b48cf28',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675b486988675b48cef0' ,0,0 ,2,23.00,20000,?,?,?)
20241212@203423.1986 sv0uv4o6allinq7dtbfftcmup1 Query : use flama_phc
20241212@203423.1989 sv0uv4o6allinq7dtbfftcmup1 Query : select st.usalote valor from st where st.ref = '324.1805.00.1'
20241212@203423.2013 sv0uv4o6allinq7dtbfftcmup1 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.1805.00.1'
20241212@203423.2028 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.2046 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203423.2078 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.2095 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203423.2105 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@203423.2120 sv0uv4o6allinq7dtbfftcmup1 Query : select sestamp valor from se where ref ='324.1805.00.1' and lote = 'r2400291200a'
20241212@203423.2133 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.2151 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203423.2164 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675b417122675b48cf34','aut675b486988675b48cef0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241212@203423.2169 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.2187 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203423.2220 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675b417122675b48cf34',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10.000 ,'aut675b486988675b48cef0' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241212@203423.2473 sv0uv4o6allinq7dtbfftcmup1 Query : use flama_phc
20241212@203423.2477 sv0uv4o6allinq7dtbfftcmup1 Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20241212@203423.2500 sv0uv4o6allinq7dtbfftcmup1 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.1816.00.1'
20241212@203423.2662 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.2682 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203423.2714 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.2731 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203423.2740 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@203423.2753 sv0uv4o6allinq7dtbfftcmup1 Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2400200200a'
20241212@203423.2779 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.2798 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203423.2811 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675b420729675b48cf43','aut675b486988675b48cef0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241212@203423.2832 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.2848 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203423.2877 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675b420729675b48cf43',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10.000 ,'aut675b486988675b48cef0' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20241212@203423.3139 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.3186 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203423.3213 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.3230 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203423.3238 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@203423.3251 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.3266 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203423.3281 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675b472584675b48cf4f','aut675b486988675b48cef0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241212@203423.3287 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.3313 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203423.3385 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675b472584675b48cf4f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675b486988675b48cef0' ,0,0 ,2,23.00,60000,?,?,?)
20241212@203423.3635 sv0uv4o6allinq7dtbfftcmup1 Query : use flama_phc
20241212@203423.3638 sv0uv4o6allinq7dtbfftcmup1 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241212@203423.3661 sv0uv4o6allinq7dtbfftcmup1 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'
20241212@203423.3677 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.3695 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203423.3725 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.3740 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203423.3749 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@203423.3761 sv0uv4o6allinq7dtbfftcmup1 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400216200a'
20241212@203423.3775 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.3790 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203423.3803 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675b417195675b48cf5c','aut675b486988675b48cef0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241212@203423.3808 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.3826 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203423.3856 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675b417195675b48cf5c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut675b486988675b48cef0' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20241212@203423.4093 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.4111 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203423.4139 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.4154 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203423.4162 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@203423.4176 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.4193 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203423.4207 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675b463249675b48cf65','aut675b486988675b48cef0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241212@203423.4211 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.4227 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203423.4280 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675b463249675b48cf65',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675b486988675b48cef0' ,0,0 ,2,23.00,90000,?,?,?)
20241212@203423.4544 sv0uv4o6allinq7dtbfftcmup1 Query : use flama_phc
20241212@203423.4547 sv0uv4o6allinq7dtbfftcmup1 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241212@203423.4569 sv0uv4o6allinq7dtbfftcmup1 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'
20241212@203423.4583 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.4601 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203423.4630 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.4649 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203423.4660 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@203423.4674 sv0uv4o6allinq7dtbfftcmup1 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400216200a'
20241212@203423.4687 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.4703 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203423.4717 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675b443035675b48cf72','aut675b486988675b48cef0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241212@203423.4723 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.4740 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203423.4776 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675b443035675b48cf72',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10.000 ,'aut675b486988675b48cef0' ,0,0 ,2,23.00,110000,?,?,?,?,?)
20241212@203423.5092 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.5115 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203423.5145 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.5163 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203423.5173 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@203423.5186 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.5203 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203423.5216 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675b494618675b48cf7e','aut675b486988675b48cef0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241212@203423.5221 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.5237 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203423.5271 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675b494618675b48cf7e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675b486988675b48cef0' ,0,0 ,2,23.00,120000,?,?,?)
20241212@203423.5570 sv0uv4o6allinq7dtbfftcmup1 Query : use flama_phc
20241212@203423.5574 sv0uv4o6allinq7dtbfftcmup1 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241212@203423.5626 sv0uv4o6allinq7dtbfftcmup1 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'
20241212@203423.5642 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.5662 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203423.5695 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.5712 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203423.5723 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@203423.5738 sv0uv4o6allinq7dtbfftcmup1 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400216200a'
20241212@203423.5755 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.5772 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203423.5787 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675b472075675b48cf8c','aut675b486988675b48cef0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241212@203423.5792 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.5809 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203423.5843 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675b472075675b48cf8c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut675b486988675b48cef0' ,0,0 ,2,23.00,140000,?,?,?,?,?)
20241212@203423.6117 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.6138 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203423.6170 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.6188 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203423.6198 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@203423.6215 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.6232 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203423.6246 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675b444058675b48cf97','aut675b486988675b48cef0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241212@203423.6251 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.6268 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203423.6302 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675b444058675b48cf97',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675b486988675b48cef0' ,0,0 ,2,23.00,150000,?,?,?)
20241212@203423.6554 sv0uv4o6allinq7dtbfftcmup1 Query : use flama_phc
20241212@203423.6558 sv0uv4o6allinq7dtbfftcmup1 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241212@203423.6582 sv0uv4o6allinq7dtbfftcmup1 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'
20241212@203423.6599 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.6618 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203423.6646 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.6662 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203423.6672 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@203423.6685 sv0uv4o6allinq7dtbfftcmup1 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400216200a'
20241212@203423.6700 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.6746 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203423.6760 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675b453253675b48cfa3','aut675b486988675b48cef0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241212@203423.6765 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.6783 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203423.6816 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675b453253675b48cfa3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut675b486988675b48cef0' ,0,0 ,2,23.00,170000,?,?,?,?,?)
20241212@203423.7094 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.7114 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203423.7146 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.7162 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203423.7172 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@203423.7186 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.7202 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203423.7215 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675b441595675b48cfaf','aut675b486988675b48cef0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241212@203423.7220 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.7235 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203423.7266 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675b441595675b48cfaf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675b486988675b48cef0' ,0,0 ,2,23.00,180000,?,?,?)
20241212@203423.7575 sv0uv4o6allinq7dtbfftcmup1 Query : use flama_phc
20241212@203423.7580 sv0uv4o6allinq7dtbfftcmup1 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241212@203423.7603 sv0uv4o6allinq7dtbfftcmup1 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'
20241212@203423.7619 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.7638 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203423.7667 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.7715 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203423.7725 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@203423.7739 sv0uv4o6allinq7dtbfftcmup1 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400216200a'
20241212@203423.7753 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.7771 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203423.7785 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675b484176675b48cfbd','aut675b486988675b48cef0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241212@203423.7791 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.7813 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203423.7847 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675b484176675b48cfbd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut675b486988675b48cef0' ,0,0 ,2,23.00,200000,?,?,?,?,?)
20241212@203423.8156 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.8182 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203423.8216 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.8233 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203423.8243 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@203423.8256 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.8273 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203423.8287 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675b466639675b48cfc9','aut675b486988675b48cef0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241212@203423.8292 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.8309 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203423.8347 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675b466639675b48cfc9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675b486988675b48cef0' ,0,0 ,2,23.00,210000,?,?,?)
20241212@203423.8691 sv0uv4o6allinq7dtbfftcmup1 Query : use flama_phc
20241212@203423.8694 sv0uv4o6allinq7dtbfftcmup1 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241212@203423.8716 sv0uv4o6allinq7dtbfftcmup1 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'
20241212@203423.8733 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.8752 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203423.8781 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.8798 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203423.8807 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@203423.8822 sv0uv4o6allinq7dtbfftcmup1 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400216200a'
20241212@203423.8837 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.8853 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203423.8868 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675b485104675b48cfd7','aut675b486988675b48cef0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241212@203423.8873 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.8892 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203423.8926 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675b485104675b48cfd7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut675b486988675b48cef0' ,0,0 ,2,23.00,230000,?,?,?,?,?)
20241212@203423.9190 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.9210 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203423.9243 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.9260 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203423.9270 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@203423.9284 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.9300 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203423.9314 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675b414124675b48cfe2','aut675b486988675b48cef0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241212@203423.9318 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.9335 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203423.9366 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675b414124675b48cfe2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675b486988675b48cef0' ,0,0 ,2,23.00,240000,?,?,?)
20241212@203423.9630 sv0uv4o6allinq7dtbfftcmup1 Query : use flama_phc
20241212@203423.9634 sv0uv4o6allinq7dtbfftcmup1 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241212@203423.9656 sv0uv4o6allinq7dtbfftcmup1 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'
20241212@203423.9673 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203423.9691 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203424.1680 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203424.1060 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203424.1076 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@203424.1091 sv0uv4o6allinq7dtbfftcmup1 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400216200a'
20241212@203424.1108 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203424.1129 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203424.1175 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675b491150675b48d01b','aut675b486988675b48cef0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241212@203424.1181 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203424.1198 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203424.1231 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675b491150675b48d01b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut675b486988675b48cef0' ,0,0 ,2,23.00,260000,?,?,?,?,?)
20241212@203424.1558 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203424.1578 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203424.1609 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203424.1628 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203424.1638 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@203424.1654 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203424.1673 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203424.1688 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675b429483675b48d028','aut675b486988675b48cef0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241212@203424.1693 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203424.1711 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203424.1750 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675b429483675b48d028',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675b486988675b48cef0' ,0,0 ,2,23.00,270000,?,?,?)
20241212@203424.2058 sv0uv4o6allinq7dtbfftcmup1 Query : use flama_phc
20241212@203424.2063 sv0uv4o6allinq7dtbfftcmup1 Query : select st.usalote valor from st where st.ref = '324.1834.00.1'
20241212@203424.2086 sv0uv4o6allinq7dtbfftcmup1 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.1834.00.1'
20241212@203424.2223 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203424.2239 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203424.2265 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203424.2280 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203424.2290 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@203424.2303 sv0uv4o6allinq7dtbfftcmup1 Query : select sestamp valor from se where ref ='324.1834.00.1' and lote = 'r2400214200a'
20241212@203424.2317 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203424.2333 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203424.2345 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675b442725675b48d038','aut675b486988675b48cef0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241212@203424.2349 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203424.2366 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203424.2397 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675b442725675b48d038',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut675b486988675b48cef0' ,0,0 ,2,23.00,290000,?,?,?,?,?)
20241212@203424.2671 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203424.2691 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203424.2738 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203424.2757 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203424.2767 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@203424.2781 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203424.2801 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203424.2814 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675b426180675b48d043','aut675b486988675b48cef0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241212@203424.2821 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203424.2837 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203424.2870 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675b426180675b48d043',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675b486988675b48cef0' ,0,0 ,2,23.00,300000,?,?,?)
20241212@203424.3120 sv0uv4o6allinq7dtbfftcmup1 Query : use flama_phc
20241212@203424.3124 sv0uv4o6allinq7dtbfftcmup1 Query : select st.usalote valor from st where st.ref = '324.1837.00.1'
20241212@203424.3149 sv0uv4o6allinq7dtbfftcmup1 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.1837.00.1'
20241212@203424.3292 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203424.3311 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203424.3338 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203424.3358 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203424.3369 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@203424.3383 sv0uv4o6allinq7dtbfftcmup1 Query : select sestamp valor from se where ref ='324.1837.00.1' and lote = 'r2300658200a'
20241212@203424.3406 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203424.3422 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203424.3436 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675b444530675b48d053','aut675b486988675b48cef0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241212@203424.3440 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203424.3458 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203424.3494 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675b444530675b48d053',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut675b486988675b48cef0' ,0,0 ,2,23.00,320000,?,?,?,?,?)
20241212@203424.3827 sv0uv4o6allinq7dtbfftcmup1 Query : use flama_phc
20241212@203424.3831 sv0uv4o6allinq7dtbfftcmup1 Query : select st.usalote valor from st where st.ref = '324.1837.00.1'
20241212@203424.3859 sv0uv4o6allinq7dtbfftcmup1 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.1837.00.1'
20241212@203424.3877 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203424.3900 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203424.3937 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203424.3955 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203424.3965 sv0uv4o6allinq7dtbfftcmup1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@203424.3979 sv0uv4o6allinq7dtbfftcmup1 Query : select sestamp valor from se where ref ='324.1837.00.1' and lote = 'r2300658200a'
20241212@203424.3993 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203424.4009 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203424.4023 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675b419873675b48d061','aut675b486988675b48cef0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241212@203424.4028 sv0uv4o6allinq7dtbfftcmup1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203424.4048 sv0uv4o6allinq7dtbfftcmup1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203424.4092 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675b419873675b48d061',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',14.000 ,'aut675b486988675b48cef0' ,0,0 ,2,23.00,330000,?,?,?,?,?)
20241212@203424.4389 sv0uv4o6allinq7dtbfftcmup1 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut675b486988675b48cef0','2408550','wait',39,'adm09112754980.682000002')
20241212@203424.4611 sv0uv4o6allinq7dtbfftcmup1 Query : use flama_phc
20241212@203424.4615 sv0uv4o6allinq7dtbfftcmup1 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241212@203424.4694 sv0uv4o6allinq7dtbfftcmup1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3951';
20241212@203424.4803 sv0uv4o6allinq7dtbfftcmup1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3951';
20241212@203424.4914 sv0uv4o6allinq7dtbfftcmup1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3951';
20241212@203424.5000 sv0uv4o6allinq7dtbfftcmup1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3951';
20241212@203424.5663 m5gvcpbe6jrq7qd92cvika4ja7 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241212@203424.5689 m5gvcpbe6jrq7qd92cvika4ja7 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241212@203424.5811 m5gvcpbe6jrq7qd92cvika4ja7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3952';
20241212@203424.5921 m5gvcpbe6jrq7qd92cvika4ja7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3952';
20241212@203424.6045 m5gvcpbe6jrq7qd92cvika4ja7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3952';
20241212@203424.6103 m5gvcpbe6jrq7qd92cvika4ja7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3952';
20241212@203424.6229 m5gvcpbe6jrq7qd92cvika4ja7 Query : use flama_phc
20241212@203424.6235 m5gvcpbe6jrq7qd92cvika4ja7 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241212@203424.6375 m5gvcpbe6jrq7qd92cvika4ja7 Query : use flama_phc
20241212@203424.6379 m5gvcpbe6jrq7qd92cvika4ja7 Query : select no, estab,szadrsdesc from szadrs where u_coddest=1246
20241212@203424.6496 m5gvcpbe6jrq7qd92cvika4ja7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1578.00.1'
20241212@203424.6540 m5gvcpbe6jrq7qd92cvika4ja7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408554 and bi.ref ='324.1578.00.1' and bi.lordem =1
20241212@203424.6931 m5gvcpbe6jrq7qd92cvika4ja7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1685.00.1'
20241212@203424.7089 m5gvcpbe6jrq7qd92cvika4ja7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408554 and bi.ref ='324.1685.00.1' and bi.lordem =2
20241212@203424.7443 m5gvcpbe6jrq7qd92cvika4ja7 Query : use flama_phc
20241212@203424.7447 m5gvcpbe6jrq7qd92cvika4ja7 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241212@203424.7511 m5gvcpbe6jrq7qd92cvika4ja7 Query : use flama_phc
20241212@203424.7515 m5gvcpbe6jrq7qd92cvika4ja7 Query : select top 1 1 valor from td where td.ndoc = 39
20241212@203424.7604 m5gvcpbe6jrq7qd92cvika4ja7 Query : use flama_phc
20241212@203424.7607 m5gvcpbe6jrq7qd92cvika4ja7 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')
20241212@203424.7651 m5gvcpbe6jrq7qd92cvika4ja7 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
20241212@203424.7719 m5gvcpbe6jrq7qd92cvika4ja7 Query : use flama_phc
20241212@203424.7722 m5gvcpbe6jrq7qd92cvika4ja7 Query : select top 1 ~inactivo valor from cl where no = '102355' and estab = 0 order by inactivo desc
20241212@203424.7872 m5gvcpbe6jrq7qd92cvika4ja7 Query : use flama_phc
20241212@203424.7876 m5gvcpbe6jrq7qd92cvika4ja7 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241212@203424.7933 m5gvcpbe6jrq7qd92cvika4ja7 Query : use flama_phc
20241212@203424.7936 m5gvcpbe6jrq7qd92cvika4ja7 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241212@203424.8021 m5gvcpbe6jrq7qd92cvika4ja7 Query : use flama_phc
20241212@203424.8024 m5gvcpbe6jrq7qd92cvika4ja7 Query : select szadrsstamp valor from szadrs where szadrsdesc='caetano venancio gato carriÇo'
20241212@203424.8120 m5gvcpbe6jrq7qd92cvika4ja7 Query : use flama_phc
20241212@203424.8124 m5gvcpbe6jrq7qd92cvika4ja7 Query : select 1 valor from td where ndoc = 39
20241212@203424.8140 m5gvcpbe6jrq7qd92cvika4ja7 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241212@203424.8158 m5gvcpbe6jrq7qd92cvika4ja7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203424.8180 m5gvcpbe6jrq7qd92cvika4ja7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241212@203424.8237 m5gvcpbe6jrq7qd92cvika4ja7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203424.8253 m5gvcpbe6jrq7qd92cvika4ja7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241212@203424.8293 m5gvcpbe6jrq7qd92cvika4ja7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203424.8310 m5gvcpbe6jrq7qd92cvika4ja7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241212@203424.8332 m5gvcpbe6jrq7qd92cvika4ja7 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241212@203424.8406 m5gvcpbe6jrq7qd92cvika4ja7 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241212@203424.8421 m5gvcpbe6jrq7qd92cvika4ja7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203424.8443 m5gvcpbe6jrq7qd92cvika4ja7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241212@203424.8461 m5gvcpbe6jrq7qd92cvika4ja7 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut675b442196675b48d0cb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241212@203424.8675 m5gvcpbe6jrq7qd92cvika4ja7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203424.8696 m5gvcpbe6jrq7qd92cvika4ja7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241212@203424.8731 m5gvcpbe6jrq7qd92cvika4ja7 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241212@203424.8743 m5gvcpbe6jrq7qd92cvika4ja7 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241212@203424.8756 m5gvcpbe6jrq7qd92cvika4ja7 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241212@203424.8768 m5gvcpbe6jrq7qd92cvika4ja7 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241212@203424.8780 m5gvcpbe6jrq7qd92cvika4ja7 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241212@203424.8792 m5gvcpbe6jrq7qd92cvika4ja7 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241212@203424.8804 m5gvcpbe6jrq7qd92cvika4ja7 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut675b442196675b48d0cb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241212@203424.9395 m5gvcpbe6jrq7qd92cvika4ja7 Query : select top 1 fno valor from wsftdata order by fno desc
20241212@203425.1300 m5gvcpbe6jrq7qd92cvika4ja7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203425.1470 m5gvcpbe6jrq7qd92cvika4ja7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241212@203425.1710 m5gvcpbe6jrq7qd92cvika4ja7 Query : select 'normal' from dummy
20241212@203425.1870 m5gvcpbe6jrq7qd92cvika4ja7 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut675b442196675b48d0cb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2436,102355,0,'2024-12-12',39,'euro',0,0,2024 ,?,?)
20241212@203425.4700 m5gvcpbe6jrq7qd92cvika4ja7 Query : use flama_phc
20241212@203425.4730 m5gvcpbe6jrq7qd92cvika4ja7 Query : select st.usalote valor from st where st.ref = '324.1578.00.1'
20241212@203425.4950 m5gvcpbe6jrq7qd92cvika4ja7 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.1578.00.1'
20241212@203425.5160 m5gvcpbe6jrq7qd92cvika4ja7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203425.5340 m5gvcpbe6jrq7qd92cvika4ja7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203425.5900 m5gvcpbe6jrq7qd92cvika4ja7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203425.6130 m5gvcpbe6jrq7qd92cvika4ja7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203425.6300 m5gvcpbe6jrq7qd92cvika4ja7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@203425.6430 m5gvcpbe6jrq7qd92cvika4ja7 Query : select sestamp valor from se where ref ='324.1578.00.1' and lote = 'r2101115200a'
20241212@203425.7350 m5gvcpbe6jrq7qd92cvika4ja7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203425.1069 m5gvcpbe6jrq7qd92cvika4ja7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203425.1176 m5gvcpbe6jrq7qd92cvika4ja7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675b440209675b48d111','aut675b442196675b48d0cb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241212@203425.1181 m5gvcpbe6jrq7qd92cvika4ja7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203425.1200 m5gvcpbe6jrq7qd92cvika4ja7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203425.1238 m5gvcpbe6jrq7qd92cvika4ja7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675b440209675b48d111',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut675b442196675b48d0cb' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241212@203425.1493 m5gvcpbe6jrq7qd92cvika4ja7 Query : use flama_phc
20241212@203425.1497 m5gvcpbe6jrq7qd92cvika4ja7 Query : select st.usalote valor from st where st.ref = '324.1685.00.1'
20241212@203425.1738 m5gvcpbe6jrq7qd92cvika4ja7 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.1685.00.1'
20241212@203425.2125 m5gvcpbe6jrq7qd92cvika4ja7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203425.2146 m5gvcpbe6jrq7qd92cvika4ja7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203425.2243 m5gvcpbe6jrq7qd92cvika4ja7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203425.2261 m5gvcpbe6jrq7qd92cvika4ja7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203425.2270 m5gvcpbe6jrq7qd92cvika4ja7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@203425.2283 m5gvcpbe6jrq7qd92cvika4ja7 Query : select sestamp valor from se where ref ='324.1685.00.1' and lote = 'r2400173100a'
20241212@203425.2308 m5gvcpbe6jrq7qd92cvika4ja7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203425.2327 m5gvcpbe6jrq7qd92cvika4ja7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203425.2341 m5gvcpbe6jrq7qd92cvika4ja7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675b484422675b48d138','aut675b442196675b48d0cb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241212@203425.2346 m5gvcpbe6jrq7qd92cvika4ja7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203425.2364 m5gvcpbe6jrq7qd92cvika4ja7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203425.2395 m5gvcpbe6jrq7qd92cvika4ja7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675b484422675b48d138',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut675b442196675b48d0cb' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241212@203425.2643 m5gvcpbe6jrq7qd92cvika4ja7 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut675b442196675b48d0cb','2408554','wait',39,'adm09112754980.682000002')
20241212@203425.2853 m5gvcpbe6jrq7qd92cvika4ja7 Query : use flama_phc
20241212@203425.2856 m5gvcpbe6jrq7qd92cvika4ja7 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241212@203425.2944 m5gvcpbe6jrq7qd92cvika4ja7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3952';
20241212@203425.3002 m5gvcpbe6jrq7qd92cvika4ja7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3952';
20241212@203425.3104 m5gvcpbe6jrq7qd92cvika4ja7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3952';
20241212@203425.3156 m5gvcpbe6jrq7qd92cvika4ja7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3952';
20241212@203425.3829 94490j22lv8h59epm7db2h4ho9 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241212@203425.3864 94490j22lv8h59epm7db2h4ho9 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241212@203425.3978 94490j22lv8h59epm7db2h4ho9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3953';
20241212@203425.4063 94490j22lv8h59epm7db2h4ho9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3953';
20241212@203425.4186 94490j22lv8h59epm7db2h4ho9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3953';
20241212@203425.4244 94490j22lv8h59epm7db2h4ho9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3953';
20241212@203425.4348 94490j22lv8h59epm7db2h4ho9 Query : use flama_phc
20241212@203425.4352 94490j22lv8h59epm7db2h4ho9 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241212@203425.4477 94490j22lv8h59epm7db2h4ho9 Query : use flama_phc
20241212@203425.4481 94490j22lv8h59epm7db2h4ho9 Query : select no, estab,szadrsdesc from szadrs where u_coddest=3080
20241212@203425.4587 94490j22lv8h59epm7db2h4ho9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1462.00.1'
20241212@203425.4752 94490j22lv8h59epm7db2h4ho9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408555 and bi.ref ='324.1462.00.1' and bi.lordem =1
20241212@203425.5068 94490j22lv8h59epm7db2h4ho9 Query : use flama_phc
20241212@203425.5071 94490j22lv8h59epm7db2h4ho9 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241212@203425.5129 94490j22lv8h59epm7db2h4ho9 Query : use flama_phc
20241212@203425.5133 94490j22lv8h59epm7db2h4ho9 Query : select top 1 1 valor from td where td.ndoc = 39
20241212@203425.5185 94490j22lv8h59epm7db2h4ho9 Query : use flama_phc
20241212@203425.5188 94490j22lv8h59epm7db2h4ho9 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')
20241212@203425.5232 94490j22lv8h59epm7db2h4ho9 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
20241212@203425.5292 94490j22lv8h59epm7db2h4ho9 Query : use flama_phc
20241212@203425.5298 94490j22lv8h59epm7db2h4ho9 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20241212@203425.5424 94490j22lv8h59epm7db2h4ho9 Query : use flama_phc
20241212@203425.5427 94490j22lv8h59epm7db2h4ho9 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241212@203425.5490 94490j22lv8h59epm7db2h4ho9 Query : use flama_phc
20241212@203425.5494 94490j22lv8h59epm7db2h4ho9 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241212@203425.5566 94490j22lv8h59epm7db2h4ho9 Query : use flama_phc
20241212@203425.5570 94490j22lv8h59epm7db2h4ho9 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda- barcelos entrega'
20241212@203425.5667 94490j22lv8h59epm7db2h4ho9 Query : use flama_phc
20241212@203425.5670 94490j22lv8h59epm7db2h4ho9 Query : select 1 valor from td where ndoc = 39
20241212@203425.5684 94490j22lv8h59epm7db2h4ho9 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241212@203425.5699 94490j22lv8h59epm7db2h4ho9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203425.5716 94490j22lv8h59epm7db2h4ho9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241212@203425.5735 94490j22lv8h59epm7db2h4ho9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203425.5750 94490j22lv8h59epm7db2h4ho9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241212@203425.5786 94490j22lv8h59epm7db2h4ho9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203425.5817 94490j22lv8h59epm7db2h4ho9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241212@203425.5832 94490j22lv8h59epm7db2h4ho9 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241212@203425.5894 94490j22lv8h59epm7db2h4ho9 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241212@203425.5910 94490j22lv8h59epm7db2h4ho9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203425.5930 94490j22lv8h59epm7db2h4ho9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241212@203425.5951 94490j22lv8h59epm7db2h4ho9 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut675b429395675b48d18e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241212@203425.6170 94490j22lv8h59epm7db2h4ho9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203425.6194 94490j22lv8h59epm7db2h4ho9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241212@203425.6239 94490j22lv8h59epm7db2h4ho9 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241212@203425.6255 94490j22lv8h59epm7db2h4ho9 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241212@203425.6270 94490j22lv8h59epm7db2h4ho9 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241212@203425.6285 94490j22lv8h59epm7db2h4ho9 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241212@203425.6299 94490j22lv8h59epm7db2h4ho9 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241212@203425.6314 94490j22lv8h59epm7db2h4ho9 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241212@203425.6327 94490j22lv8h59epm7db2h4ho9 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut675b429395675b48d18e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241212@203425.6792 94490j22lv8h59epm7db2h4ho9 Query : select top 1 fno valor from wsftdata order by fno desc
20241212@203425.6951 94490j22lv8h59epm7db2h4ho9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203425.7003 94490j22lv8h59epm7db2h4ho9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241212@203425.7027 94490j22lv8h59epm7db2h4ho9 Query : select 'normal' from dummy
20241212@203425.7045 94490j22lv8h59epm7db2h4ho9 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut675b429395675b48d18e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2437,101621,0,'2024-12-12',39,'euro',0,0,2024 ,?,?)
20241212@203425.7556 94490j22lv8h59epm7db2h4ho9 Query : use flama_phc
20241212@203425.7564 94490j22lv8h59epm7db2h4ho9 Query : select st.usalote valor from st where st.ref = '324.1462.00.1'
20241212@203425.7664 94490j22lv8h59epm7db2h4ho9 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.1462.00.1'
20241212@203425.7826 94490j22lv8h59epm7db2h4ho9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203425.7852 94490j22lv8h59epm7db2h4ho9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203425.8312 94490j22lv8h59epm7db2h4ho9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203425.8360 94490j22lv8h59epm7db2h4ho9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203425.8371 94490j22lv8h59epm7db2h4ho9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@203425.8384 94490j22lv8h59epm7db2h4ho9 Query : select sestamp valor from se where ref ='324.1462.00.1' and lote = 'r2100463100a'
20241212@203425.8430 94490j22lv8h59epm7db2h4ho9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203425.8448 94490j22lv8h59epm7db2h4ho9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203425.8463 94490j22lv8h59epm7db2h4ho9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675b465115675b48d1cd','aut675b429395675b48d18e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241212@203425.8468 94490j22lv8h59epm7db2h4ho9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203425.8486 94490j22lv8h59epm7db2h4ho9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203425.8516 94490j22lv8h59epm7db2h4ho9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675b465115675b48d1cd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut675b429395675b48d18e' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241212@203425.8757 94490j22lv8h59epm7db2h4ho9 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut675b429395675b48d18e','2408555','wait',39,'adm09112754980.682000002')
20241212@203425.8903 94490j22lv8h59epm7db2h4ho9 Query : use flama_phc
20241212@203425.8907 94490j22lv8h59epm7db2h4ho9 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241212@203425.8978 94490j22lv8h59epm7db2h4ho9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3953';
20241212@203425.9032 94490j22lv8h59epm7db2h4ho9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3953';
20241212@203425.9138 94490j22lv8h59epm7db2h4ho9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3953';
20241212@203425.9194 94490j22lv8h59epm7db2h4ho9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3953';
20241212@203426.1910 j56abi6u1bo85l005fevqpjl5o Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241212@203426.2160 j56abi6u1bo85l005fevqpjl5o Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241212@203426.3410 j56abi6u1bo85l005fevqpjl5o Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3954';
20241212@203426.4270 j56abi6u1bo85l005fevqpjl5o Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3954';
20241212@203426.5400 j56abi6u1bo85l005fevqpjl5o Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3954';
20241212@203426.5980 j56abi6u1bo85l005fevqpjl5o Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3954';
20241212@203426.7280 j56abi6u1bo85l005fevqpjl5o Query : use flama_phc
20241212@203426.7320 j56abi6u1bo85l005fevqpjl5o Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241212@203426.8710 j56abi6u1bo85l005fevqpjl5o Query : use flama_phc
20241212@203426.8750 j56abi6u1bo85l005fevqpjl5o Query : select no, estab,szadrsdesc from szadrs where u_coddest=9128
20241212@203426.9800 j56abi6u1bo85l005fevqpjl5o Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1462.00.1'
20241212@203426.1015 j56abi6u1bo85l005fevqpjl5o Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408556 and bi.ref ='324.1462.00.1' and bi.lordem =1
20241212@203426.1367 j56abi6u1bo85l005fevqpjl5o Query : use flama_phc
20241212@203426.1371 j56abi6u1bo85l005fevqpjl5o Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241212@203426.2415 j56abi6u1bo85l005fevqpjl5o Query : use flama_phc
20241212@203426.3311 j56abi6u1bo85l005fevqpjl5o Query : select top 1 1 valor from td where td.ndoc = 39
20241212@203426.3654 j56abi6u1bo85l005fevqpjl5o Query : use flama_phc
20241212@203426.3658 j56abi6u1bo85l005fevqpjl5o 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')
20241212@203426.3704 j56abi6u1bo85l005fevqpjl5o 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
20241212@203426.3775 j56abi6u1bo85l005fevqpjl5o Query : use flama_phc
20241212@203426.3779 j56abi6u1bo85l005fevqpjl5o Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20241212@203426.3850 j56abi6u1bo85l005fevqpjl5o Query : use flama_phc
20241212@203426.3854 j56abi6u1bo85l005fevqpjl5o Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241212@203426.3927 j56abi6u1bo85l005fevqpjl5o Query : use flama_phc
20241212@203426.3930 j56abi6u1bo85l005fevqpjl5o Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241212@203426.4022 j56abi6u1bo85l005fevqpjl5o Query : use flama_phc
20241212@203426.4026 j56abi6u1bo85l005fevqpjl5o Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - v. castelo (nova)'
20241212@203426.4509 j56abi6u1bo85l005fevqpjl5o Query : use flama_phc
20241212@203426.4513 j56abi6u1bo85l005fevqpjl5o Query : select 1 valor from td where ndoc = 39
20241212@203426.4529 j56abi6u1bo85l005fevqpjl5o Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241212@203426.4546 j56abi6u1bo85l005fevqpjl5o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203426.4564 j56abi6u1bo85l005fevqpjl5o Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241212@203426.4588 j56abi6u1bo85l005fevqpjl5o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203426.4605 j56abi6u1bo85l005fevqpjl5o Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241212@203426.4639 j56abi6u1bo85l005fevqpjl5o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203426.4656 j56abi6u1bo85l005fevqpjl5o Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241212@203426.4671 j56abi6u1bo85l005fevqpjl5o Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241212@203426.4729 j56abi6u1bo85l005fevqpjl5o Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241212@203426.4742 j56abi6u1bo85l005fevqpjl5o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203426.4759 j56abi6u1bo85l005fevqpjl5o Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241212@203426.4775 j56abi6u1bo85l005fevqpjl5o Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut675b455676675b48d272' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241212@203426.4938 j56abi6u1bo85l005fevqpjl5o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203426.4958 j56abi6u1bo85l005fevqpjl5o Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241212@203426.4996 j56abi6u1bo85l005fevqpjl5o Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241212@203426.5010 j56abi6u1bo85l005fevqpjl5o Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241212@203426.5024 j56abi6u1bo85l005fevqpjl5o Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241212@203426.5037 j56abi6u1bo85l005fevqpjl5o Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241212@203426.5049 j56abi6u1bo85l005fevqpjl5o Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241212@203426.5067 j56abi6u1bo85l005fevqpjl5o Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241212@203426.5080 j56abi6u1bo85l005fevqpjl5o Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut675b455676675b48d272',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241212@203426.5317 j56abi6u1bo85l005fevqpjl5o Query : select top 1 fno valor from wsftdata order by fno desc
20241212@203426.5350 j56abi6u1bo85l005fevqpjl5o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203426.5367 j56abi6u1bo85l005fevqpjl5o Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241212@203426.5816 j56abi6u1bo85l005fevqpjl5o Query : select 'normal' from dummy
20241212@203426.5832 j56abi6u1bo85l005fevqpjl5o Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut675b455676675b48d272',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2438,101621,0,'2024-12-12',39,'euro',0,0,2024 ,?,?)
20241212@203426.6237 j56abi6u1bo85l005fevqpjl5o Query : use flama_phc
20241212@203426.6260 j56abi6u1bo85l005fevqpjl5o Query : select st.usalote valor from st where st.ref = '324.1462.00.1'
20241212@203426.6372 j56abi6u1bo85l005fevqpjl5o 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.1462.00.1'
20241212@203426.6389 j56abi6u1bo85l005fevqpjl5o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203426.6408 j56abi6u1bo85l005fevqpjl5o Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203426.6438 j56abi6u1bo85l005fevqpjl5o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203426.6455 j56abi6u1bo85l005fevqpjl5o Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203426.6465 j56abi6u1bo85l005fevqpjl5o Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241212@203426.6478 j56abi6u1bo85l005fevqpjl5o Query : select sestamp valor from se where ref ='324.1462.00.1' and lote = 'r2100463100a'
20241212@203426.6492 j56abi6u1bo85l005fevqpjl5o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203426.6513 j56abi6u1bo85l005fevqpjl5o Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241212@203426.6529 j56abi6u1bo85l005fevqpjl5o Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675b416383675b48d29e','aut675b455676675b48d272' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241212@203426.6534 j56abi6u1bo85l005fevqpjl5o Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241212@203426.6556 j56abi6u1bo85l005fevqpjl5o Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241212@203426.6592 j56abi6u1bo85l005fevqpjl5o Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675b416383675b48d29e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut675b455676675b48d272' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241212@203426.6829 j56abi6u1bo85l005fevqpjl5o Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut675b455676675b48d272','2408556','wait',39,'adm09112754980.682000002')
20241212@203426.6981 j56abi6u1bo85l005fevqpjl5o Query : use flama_phc
20241212@203426.6984 j56abi6u1bo85l005fevqpjl5o Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241212@203426.7054 j56abi6u1bo85l005fevqpjl5o Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3954';
20241212@203426.7110 j56abi6u1bo85l005fevqpjl5o Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3954';
20241212@203426.7207 j56abi6u1bo85l005fevqpjl5o Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3954';
20241212@203426.7266 j56abi6u1bo85l005fevqpjl5o Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3954';
20241212@203608.7645 2l0blqbmf03g5g8570ibf1mbtr Query : use flama_phc
20241212@203608.7649 2l0blqbmf03g5g8570ibf1mbtr Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241212@203608.7817 2l0blqbmf03g5g8570ibf1mbtr Query : use flama_phc
20241212@203608.7822 2l0blqbmf03g5g8570ibf1mbtr Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241212@211908.6193 7c2rbeml8lqmmld47dsbup6n6s Query : use flama_phc
20241212@211908.6197 7c2rbeml8lqmmld47dsbup6n6s Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241212@211908.6289 7c2rbeml8lqmmld47dsbup6n6s Query : use flama_phc
20241212@211908.6293 7c2rbeml8lqmmld47dsbup6n6s Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241212@213608.7641 3oipdlqkgcpki9d5qhph5c3guv Query : use flama_phc
20241212@213608.7645 3oipdlqkgcpki9d5qhph5c3guv Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241212@213608.7738 3oipdlqkgcpki9d5qhph5c3guv Query : use flama_phc
20241212@213608.7742 3oipdlqkgcpki9d5qhph5c3guv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241212@221908.2654 p633vdks2a8v1l1kff9vem7de0 Query : use flama_phc
20241212@221908.2658 p633vdks2a8v1l1kff9vem7de0 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241212@221908.2745 p633vdks2a8v1l1kff9vem7de0 Query : use flama_phc
20241212@221908.2747 p633vdks2a8v1l1kff9vem7de0 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241212@223608.6333 6ca8o4phd1fl4hgcpdpcs3i5mp Query : use flama_phc
20241212@223608.6337 6ca8o4phd1fl4hgcpdpcs3i5mp Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241212@223608.6425 6ca8o4phd1fl4hgcpdpcs3i5mp Query : use flama_phc
20241212@223608.6429 6ca8o4phd1fl4hgcpdpcs3i5mp Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241212@231909.4362 a3ij7p4kt7chavrhvk55pjgfi9 Query : use flama_phc
20241212@231909.4367 a3ij7p4kt7chavrhvk55pjgfi9 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241212@231909.4504 a3ij7p4kt7chavrhvk55pjgfi9 Query : use flama_phc
20241212@231909.4518 a3ij7p4kt7chavrhvk55pjgfi9 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241212@233609.7305 hi53m1vr9rud2dn9sg7odj9c0c Query : use flama_phc
20241212@233609.7310 hi53m1vr9rud2dn9sg7odj9c0c Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241212@233609.7396 hi53m1vr9rud2dn9sg7odj9c0c Query : use flama_phc
20241212@233609.7400 hi53m1vr9rud2dn9sg7odj9c0c Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241213@071909.7611 7f3dsa2bhugnh5p0mks5nau7er Query : use flama_phc
20241213@071909.7615 7f3dsa2bhugnh5p0mks5nau7er Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241213@071909.7847 7f3dsa2bhugnh5p0mks5nau7er Query : use flama_phc
20241213@071909.7851 7f3dsa2bhugnh5p0mks5nau7er Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241213@073601.1384 851k3mdo8jpqqhvb4bhkeer37c Query : use flama_phc
20241213@073601.1388 851k3mdo8jpqqhvb4bhkeer37c Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241213@073601.1488 851k3mdo8jpqqhvb4bhkeer37c Query : use flama_phc
20241213@073601.1493 851k3mdo8jpqqhvb4bhkeer37c Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241213@081909.9997 64p4n4vf1lc3q6m4uo0k96v0o5 Query : use flama_phc
20241213@081910.2000 64p4n4vf1lc3q6m4uo0k96v0o5 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241213@081910.9100 64p4n4vf1lc3q6m4uo0k96v0o5 Query : use flama_phc
20241213@081910.9400 64p4n4vf1lc3q6m4uo0k96v0o5 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241213@083609.8692 km8uvfm71ei9odftfndos591gq Query : use flama_phc
20241213@083609.8698 km8uvfm71ei9odftfndos591gq Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241213@083610.1862 km8uvfm71ei9odftfndos591gq Query : use flama_phc
20241213@083610.1867 km8uvfm71ei9odftfndos591gq Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241213@091908.5512 sqokkmr87418ccni7dcjbcg4mi Query : use flama_phc
20241213@091908.5516 sqokkmr87418ccni7dcjbcg4mi Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241213@091908.5612 sqokkmr87418ccni7dcjbcg4mi Query : use flama_phc
20241213@091908.5615 sqokkmr87418ccni7dcjbcg4mi Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241213@093608.2470 9v3doo5v30ajb7qisc5b75d1ql Query : use flama_phc
20241213@093608.2476 9v3doo5v30ajb7qisc5b75d1ql Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241213@093608.2577 9v3doo5v30ajb7qisc5b75d1ql Query : use flama_phc
20241213@093608.2581 9v3doo5v30ajb7qisc5b75d1ql Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241213@101907.8100 vb71oltqu99mdk3smkfnpd4nka Query : use flama_phc
20241213@101907.8125 vb71oltqu99mdk3smkfnpd4nka Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241213@101907.8283 vb71oltqu99mdk3smkfnpd4nka Query : use flama_phc
20241213@101907.8287 vb71oltqu99mdk3smkfnpd4nka Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241213@103607.6894 5mu9gfnhe4c8csjrha8635si88 Query : use flama_phc
20241213@103607.6925 5mu9gfnhe4c8csjrha8635si88 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241213@103607.7086 5mu9gfnhe4c8csjrha8635si88 Query : use flama_phc
20241213@103607.7090 5mu9gfnhe4c8csjrha8635si88 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241213@110814.3551 69uvtp7s7c2da0so13je53pqvi Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241213@110814.3690 69uvtp7s7c2da0so13je53pqvi Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241213@110814.5374 69uvtp7s7c2da0so13je53pqvi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3955';
20241213@110814.7180 69uvtp7s7c2da0so13je53pqvi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3955';
20241213@110814.7589 69uvtp7s7c2da0so13je53pqvi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3955';
20241213@110814.7904 69uvtp7s7c2da0so13je53pqvi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3955';
20241213@110814.8301 69uvtp7s7c2da0so13je53pqvi Query : use flama_phc
20241213@110814.8344 69uvtp7s7c2da0so13je53pqvi Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241213@110814.9041 69uvtp7s7c2da0so13je53pqvi Query : use flama_phc
20241213@110814.9082 69uvtp7s7c2da0so13je53pqvi Query : select no, estab,szadrsdesc from szadrs where u_coddest=7778
20241213@110814.9480 69uvtp7s7c2da0so13je53pqvi 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'
20241213@110814.9957 69uvtp7s7c2da0so13je53pqvi 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'
20241213@110815.2530 69uvtp7s7c2da0so13je53pqvi 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'
20241213@110815.7380 69uvtp7s7c2da0so13je53pqvi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.958.00.01'
20241213@110815.1218 69uvtp7s7c2da0so13je53pqvi Query : use flama_phc
20241213@110815.1259 69uvtp7s7c2da0so13je53pqvi Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241213@110815.1898 69uvtp7s7c2da0so13je53pqvi Query : use flama_phc
20241213@110815.1941 69uvtp7s7c2da0so13je53pqvi Query : select top 1 1 valor from td where td.ndoc = 39
20241213@110815.2681 69uvtp7s7c2da0so13je53pqvi Query : use flama_phc
20241213@110815.2744 69uvtp7s7c2da0so13je53pqvi 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')
20241213@110815.3500 69uvtp7s7c2da0so13je53pqvi 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
20241213@110815.4141 69uvtp7s7c2da0so13je53pqvi Query : use flama_phc
20241213@110815.4184 69uvtp7s7c2da0so13je53pqvi Query : select top 1 ~inactivo valor from cl where no = '200250' and estab = 0 order by inactivo desc
20241213@110815.4673 69uvtp7s7c2da0so13je53pqvi Query : use flama_phc
20241213@110815.4715 69uvtp7s7c2da0so13je53pqvi Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241213@110815.5174 69uvtp7s7c2da0so13je53pqvi Query : use flama_phc
20241213@110815.5217 69uvtp7s7c2da0so13je53pqvi Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241213@110815.5703 69uvtp7s7c2da0so13je53pqvi Query : use flama_phc
20241213@110815.5745 69uvtp7s7c2da0so13je53pqvi Query : select szadrsstamp valor from szadrs where szadrsdesc='bonfilex sa-entrega'
20241213@110815.6289 69uvtp7s7c2da0so13je53pqvi Query : use flama_phc
20241213@110815.6331 69uvtp7s7c2da0so13je53pqvi Query : select 1 valor from td where ndoc = 39
20241213@110815.6792 69uvtp7s7c2da0so13je53pqvi Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241213@110815.7168 69uvtp7s7c2da0so13je53pqvi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@110815.8153 69uvtp7s7c2da0so13je53pqvi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241213@110815.8808 69uvtp7s7c2da0so13je53pqvi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@110815.9061 69uvtp7s7c2da0so13je53pqvi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241213@110815.9709 69uvtp7s7c2da0so13je53pqvi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@110815.9732 69uvtp7s7c2da0so13je53pqvi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241213@110815.9748 69uvtp7s7c2da0so13je53pqvi Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241213@110815.9988 69uvtp7s7c2da0so13je53pqvi Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241213@110816.1570 69uvtp7s7c2da0so13je53pqvi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@110816.1760 69uvtp7s7c2da0so13je53pqvi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241213@110816.2220 69uvtp7s7c2da0so13je53pqvi Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut675c157969675c159fee' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241213@110816.4550 69uvtp7s7c2da0so13je53pqvi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@110816.4750 69uvtp7s7c2da0so13je53pqvi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241213@110816.5160 69uvtp7s7c2da0so13je53pqvi Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241213@110816.5910 69uvtp7s7c2da0so13je53pqvi Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241213@110816.7000 69uvtp7s7c2da0so13je53pqvi Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241213@110816.7770 69uvtp7s7c2da0so13je53pqvi Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241213@110816.8410 69uvtp7s7c2da0so13je53pqvi Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241213@110816.9060 69uvtp7s7c2da0so13je53pqvi Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241213@110816.9730 69uvtp7s7c2da0so13je53pqvi Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut675c157969675c159fee',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241213@110816.1908 69uvtp7s7c2da0so13je53pqvi Query : select top 1 fno valor from wsftdata order by fno desc
20241213@110816.2034 69uvtp7s7c2da0so13je53pqvi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@110816.2056 69uvtp7s7c2da0so13je53pqvi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241213@110816.2120 69uvtp7s7c2da0so13je53pqvi Query : select 'normal' from dummy
20241213@110816.2524 69uvtp7s7c2da0so13je53pqvi Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut675c157969675c159fee',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2439,200250,0,'2024-12-13',39,'euro',0,0,2024 ,?,?)
20241213@110816.4681 69uvtp7s7c2da0so13je53pqvi Query : use flama_phc
20241213@110816.4684 69uvtp7s7c2da0so13je53pqvi Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20241213@110816.4786 69uvtp7s7c2da0so13je53pqvi 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'
20241213@110816.4958 69uvtp7s7c2da0so13je53pqvi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@110816.4977 69uvtp7s7c2da0so13je53pqvi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@110816.5006 69uvtp7s7c2da0so13je53pqvi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@110816.5026 69uvtp7s7c2da0so13je53pqvi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@110816.5035 69uvtp7s7c2da0so13je53pqvi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241213@110816.5079 69uvtp7s7c2da0so13je53pqvi Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '241347'
20241213@110816.5137 69uvtp7s7c2da0so13je53pqvi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@110816.5152 69uvtp7s7c2da0so13je53pqvi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@110816.5164 69uvtp7s7c2da0so13je53pqvi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c148055675c15a07d','aut675c157969675c159fee' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241213@110816.5211 69uvtp7s7c2da0so13je53pqvi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@110816.5230 69uvtp7s7c2da0so13je53pqvi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@110816.5262 69uvtp7s7c2da0so13je53pqvi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut675c148055675c15a07d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut675c157969675c159fee' ,0,0 ,2,23.00,10000,?,?,?,?)
20241213@110816.5582 69uvtp7s7c2da0so13je53pqvi Query : use flama_phc
20241213@110816.5586 69uvtp7s7c2da0so13je53pqvi Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20241213@110816.5606 69uvtp7s7c2da0so13je53pqvi 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'
20241213@110816.5622 69uvtp7s7c2da0so13je53pqvi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@110816.5637 69uvtp7s7c2da0so13je53pqvi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@110816.5663 69uvtp7s7c2da0so13je53pqvi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@110816.5678 69uvtp7s7c2da0so13je53pqvi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@110816.5686 69uvtp7s7c2da0so13je53pqvi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241213@110816.5698 69uvtp7s7c2da0so13je53pqvi Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '240180'
20241213@110816.5728 69uvtp7s7c2da0so13je53pqvi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@110816.5743 69uvtp7s7c2da0so13je53pqvi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@110816.5754 69uvtp7s7c2da0so13je53pqvi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c104347675c15a08b','aut675c157969675c159fee' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241213@110816.5759 69uvtp7s7c2da0so13je53pqvi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@110816.5773 69uvtp7s7c2da0so13je53pqvi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@110816.5801 69uvtp7s7c2da0so13je53pqvi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut675c104347675c15a08b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',44.000 ,'aut675c157969675c159fee' ,0,0 ,2,23.00,20000,?,?,?,?)
20241213@110816.6027 69uvtp7s7c2da0so13je53pqvi Query : use flama_phc
20241213@110816.6030 69uvtp7s7c2da0so13je53pqvi Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20241213@110816.6051 69uvtp7s7c2da0so13je53pqvi 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'
20241213@110816.6179 69uvtp7s7c2da0so13je53pqvi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@110816.6196 69uvtp7s7c2da0so13je53pqvi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@110816.6221 69uvtp7s7c2da0so13je53pqvi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@110816.6236 69uvtp7s7c2da0so13je53pqvi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@110816.6244 69uvtp7s7c2da0so13je53pqvi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241213@110816.6257 69uvtp7s7c2da0so13je53pqvi Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '241228'
20241213@110816.6288 69uvtp7s7c2da0so13je53pqvi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@110816.6304 69uvtp7s7c2da0so13je53pqvi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@110816.6316 69uvtp7s7c2da0so13je53pqvi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c180844675c15a099','aut675c157969675c159fee' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241213@110816.6321 69uvtp7s7c2da0so13je53pqvi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@110816.6335 69uvtp7s7c2da0so13je53pqvi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@110816.6364 69uvtp7s7c2da0so13je53pqvi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut675c180844675c15a099',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',60.000 ,'aut675c157969675c159fee' ,0,0 ,2,23.00,30000,?,?,?,?)
20241213@110816.6593 69uvtp7s7c2da0so13je53pqvi Query : use flama_phc
20241213@110816.6596 69uvtp7s7c2da0so13je53pqvi Query : select st.usalote valor from st where st.ref = '324.958.00.01'
20241213@110816.6618 69uvtp7s7c2da0so13je53pqvi 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.958.00.01'
20241213@110816.6744 69uvtp7s7c2da0so13je53pqvi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@110816.6760 69uvtp7s7c2da0so13je53pqvi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@110816.6788 69uvtp7s7c2da0so13je53pqvi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@110816.6804 69uvtp7s7c2da0so13je53pqvi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@110816.6812 69uvtp7s7c2da0so13je53pqvi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241213@110816.6825 69uvtp7s7c2da0so13je53pqvi Query : select sestamp valor from se where ref ='324.958.00.01' and lote = 'r2400704200a'
20241213@110816.6839 69uvtp7s7c2da0so13je53pqvi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@110816.6854 69uvtp7s7c2da0so13je53pqvi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@110816.6866 69uvtp7s7c2da0so13je53pqvi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c125984675c15a0a6','aut675c157969675c159fee' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241213@110816.6871 69uvtp7s7c2da0so13je53pqvi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@110816.6887 69uvtp7s7c2da0so13je53pqvi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@110816.6916 69uvtp7s7c2da0so13je53pqvi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut675c125984675c15a0a6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut675c157969675c159fee' ,0,0 ,2,23.00,40000,?,?,?,?)
20241213@110816.7199 69uvtp7s7c2da0so13je53pqvi Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut675c157969675c159fee','2408553','wait',39,'adm09112754980.682000002')
20241213@110816.7296 69uvtp7s7c2da0so13je53pqvi Query : use flama_phc
20241213@110816.7300 69uvtp7s7c2da0so13je53pqvi Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241213@110816.7348 69uvtp7s7c2da0so13je53pqvi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3955';
20241213@110816.7390 69uvtp7s7c2da0so13je53pqvi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3955';
20241213@110816.7449 69uvtp7s7c2da0so13je53pqvi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3955';
20241213@110816.7485 69uvtp7s7c2da0so13je53pqvi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3955';
20241213@111908.5486 qgf9v76cmoqm0g0akslkgc6imh Query : use flama_phc
20241213@111908.5489 qgf9v76cmoqm0g0akslkgc6imh Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241213@111908.5617 qgf9v76cmoqm0g0akslkgc6imh Query : use flama_phc
20241213@111908.5621 qgf9v76cmoqm0g0akslkgc6imh Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241213@113608.4330 kdnqpal7itmbnjijkauiebuad4 Query : use flama_phc
20241213@113608.4335 kdnqpal7itmbnjijkauiebuad4 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241213@113608.4425 kdnqpal7itmbnjijkauiebuad4 Query : use flama_phc
20241213@113608.4428 kdnqpal7itmbnjijkauiebuad4 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241213@121910.9496 k8q1lo0cqfi64c161mtgbaar1n Query : use flama_phc
20241213@121910.9500 k8q1lo0cqfi64c161mtgbaar1n Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241213@121910.9588 k8q1lo0cqfi64c161mtgbaar1n Query : use flama_phc
20241213@121910.9591 k8q1lo0cqfi64c161mtgbaar1n Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241213@123610.7097 og2fn3rglpj9sq0jou54attq0j Query : use flama_phc
20241213@123610.7103 og2fn3rglpj9sq0jou54attq0j Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241213@123610.7267 og2fn3rglpj9sq0jou54attq0j Query : use flama_phc
20241213@123610.7293 og2fn3rglpj9sq0jou54attq0j Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241213@131908.7862 69grlua2kkqdudh5o1cqbf7j2e Query : use flama_phc
20241213@131908.7866 69grlua2kkqdudh5o1cqbf7j2e Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241213@131908.7956 69grlua2kkqdudh5o1cqbf7j2e Query : use flama_phc
20241213@131908.7959 69grlua2kkqdudh5o1cqbf7j2e Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241213@133608.7528 rlmbn1pmsuivpqf1g2u7hglarf Query : use flama_phc
20241213@133608.7533 rlmbn1pmsuivpqf1g2u7hglarf Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241213@133608.7750 rlmbn1pmsuivpqf1g2u7hglarf Query : use flama_phc
20241213@133608.7753 rlmbn1pmsuivpqf1g2u7hglarf Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241213@141908.2078 9csa77ol2o1q92ue6efnpj3qrl Query : use flama_phc
20241213@141908.2082 9csa77ol2o1q92ue6efnpj3qrl Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241213@141908.2170 9csa77ol2o1q92ue6efnpj3qrl Query : use flama_phc
20241213@141908.2174 9csa77ol2o1q92ue6efnpj3qrl Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241213@143608.3379 asn30rudo7n713u1fv8ljnotat Query : use flama_phc
20241213@143608.3383 asn30rudo7n713u1fv8ljnotat Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241213@143608.3483 asn30rudo7n713u1fv8ljnotat Query : use flama_phc
20241213@143608.3486 asn30rudo7n713u1fv8ljnotat Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241213@151910.3177 tfilfmbif5oi730d02ogsa53uv Query : use flama_phc
20241213@151910.3181 tfilfmbif5oi730d02ogsa53uv Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241213@151910.3718 tfilfmbif5oi730d02ogsa53uv Query : use flama_phc
20241213@151910.3743 tfilfmbif5oi730d02ogsa53uv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241213@153610.2671 v1vd1b0dt7j9bh5l068rd5m1t1 Query : use flama_phc
20241213@153610.2676 v1vd1b0dt7j9bh5l068rd5m1t1 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241213@153610.2783 v1vd1b0dt7j9bh5l068rd5m1t1 Query : use flama_phc
20241213@153610.2787 v1vd1b0dt7j9bh5l068rd5m1t1 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241213@161707.6428 hvnlf0ttjag7qg6vqo9ab1mva1 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241213@161707.6454 hvnlf0ttjag7qg6vqo9ab1mva1 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241213@161707.7336 hvnlf0ttjag7qg6vqo9ab1mva1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3956';
20241213@161707.8207 hvnlf0ttjag7qg6vqo9ab1mva1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3956';
20241213@161707.8619 hvnlf0ttjag7qg6vqo9ab1mva1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3956';
20241213@161707.9400 hvnlf0ttjag7qg6vqo9ab1mva1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3956';
20241213@161707.9668 hvnlf0ttjag7qg6vqo9ab1mva1 Query : use flama_phc
20241213@161707.9709 hvnlf0ttjag7qg6vqo9ab1mva1 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241213@161708.4290 hvnlf0ttjag7qg6vqo9ab1mva1 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1892.00.1'
20241213@161708.8540 hvnlf0ttjag7qg6vqo9ab1mva1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =324 and bo.boano =20.1 and bo.obrano = 92.00.1 and bi.ref ='324.1892.00.1' and bi.lordem =1
20241213@161708.1709 hvnlf0ttjag7qg6vqo9ab1mva1 Query : use flama_phc
20241213@161708.1757 hvnlf0ttjag7qg6vqo9ab1mva1 Query : select top 1 1 valor from ts where ts.ndos = 61
20241213@161708.2351 hvnlf0ttjag7qg6vqo9ab1mva1 Query : use flama_phc
20241213@161708.2393 hvnlf0ttjag7qg6vqo9ab1mva1 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')
20241213@161708.2973 hvnlf0ttjag7qg6vqo9ab1mva1 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
20241213@161708.3601 hvnlf0ttjag7qg6vqo9ab1mva1 Query : use flama_phc
20241213@161708.3643 hvnlf0ttjag7qg6vqo9ab1mva1 Query : select top 1 ~inactivo valor from fl where no = '1626' and estab = 26 order by inactivo desc
20241213@161708.4049 hvnlf0ttjag7qg6vqo9ab1mva1 Query : use flama_phc
20241213@161708.4053 hvnlf0ttjag7qg6vqo9ab1mva1 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -230
20241213@161708.4158 hvnlf0ttjag7qg6vqo9ab1mva1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3956';
20241213@161708.4205 hvnlf0ttjag7qg6vqo9ab1mva1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3956';
20241213@161708.4786 kskh54852k0isbfc8pq7hb8rfl Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241213@161708.4818 kskh54852k0isbfc8pq7hb8rfl Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241213@161708.4891 kskh54852k0isbfc8pq7hb8rfl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3957';
20241213@161708.4984 kskh54852k0isbfc8pq7hb8rfl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3957';
20241213@161708.5047 kskh54852k0isbfc8pq7hb8rfl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3957';
20241213@161708.5112 kskh54852k0isbfc8pq7hb8rfl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3957';
20241213@161708.5163 kskh54852k0isbfc8pq7hb8rfl Query : use flama_phc
20241213@161708.5166 kskh54852k0isbfc8pq7hb8rfl Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241213@161708.5271 kskh54852k0isbfc8pq7hb8rfl Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.681.00.01'
20241213@161708.5389 kskh54852k0isbfc8pq7hb8rfl 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 = 2400695 and bi.ref ='324.681.00.01' and bi.lordem =20000
20241213@161708.5788 kskh54852k0isbfc8pq7hb8rfl 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 = 'cps24060663454,206000002 ' 
20241213@161708.6207 kskh54852k0isbfc8pq7hb8rfl Query : use flama_phc
20241213@161708.6211 kskh54852k0isbfc8pq7hb8rfl Query : select top 1 1 valor from ts where ts.ndos = 61
20241213@161708.6242 kskh54852k0isbfc8pq7hb8rfl Query : use flama_phc
20241213@161708.6245 kskh54852k0isbfc8pq7hb8rfl 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')
20241213@161708.6279 kskh54852k0isbfc8pq7hb8rfl 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
20241213@161708.6349 kskh54852k0isbfc8pq7hb8rfl Query : use flama_phc
20241213@161708.6351 kskh54852k0isbfc8pq7hb8rfl Query : select top 1 ~inactivo valor from fl where no = '202090' and estab = 00 order by inactivo desc
20241213@161708.6491 kskh54852k0isbfc8pq7hb8rfl Query : use flama_phc
20241213@161708.6494 kskh54852k0isbfc8pq7hb8rfl Query : select 1 valor from ts where ndos = 61
20241213@161708.6541 kskh54852k0isbfc8pq7hb8rfl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@161708.6917 kskh54852k0isbfc8pq7hb8rfl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo' and documentnumber = 61
20241213@161708.7056 kskh54852k0isbfc8pq7hb8rfl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@161708.7071 kskh54852k0isbfc8pq7hb8rfl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo2' and documentnumber = 61
20241213@161708.7082 kskh54852k0isbfc8pq7hb8rfl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@161708.7109 kskh54852k0isbfc8pq7hb8rfl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo3' and documentnumber = 61
20241213@161708.7118 kskh54852k0isbfc8pq7hb8rfl 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
20241213@161708.7242 kskh54852k0isbfc8pq7hb8rfl Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2024 order by obrano desc
20241213@161708.7351 kskh54852k0isbfc8pq7hb8rfl Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2024 order by obrano desc
20241213@161708.7370 kskh54852k0isbfc8pq7hb8rfl Query : use flama_phc
20241213@161708.7384 kskh54852k0isbfc8pq7hb8rfl Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='202090' and estab=00
20241213@161708.7487 kskh54852k0isbfc8pq7hb8rfl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@161708.7502 kskh54852k0isbfc8pq7hb8rfl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo3' and documentnumber = 61
20241213@161708.7545 kskh54852k0isbfc8pq7hb8rfl Query : insert into bo3 (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c520619675c5e04b3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20241213@161708.7656 kskh54852k0isbfc8pq7hb8rfl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@161708.7673 kskh54852k0isbfc8pq7hb8rfl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo2' and documentnumber = 61
20241213@161708.7686 kskh54852k0isbfc8pq7hb8rfl Query : insert into bo2 (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c520619675c5e04b3','--','bo',7.8777895855472901168 ,1,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20241213@161708.7950 kskh54852k0isbfc8pq7hb8rfl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@161708.7983 kskh54852k0isbfc8pq7hb8rfl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo' and documentnumber = 61
20241213@161708.7996 kskh54852k0isbfc8pq7hb8rfl 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 ('aut675c520619675c5e04b3','guia r. fornecedor','2024-12-13',61,2403895,?,?,?,?,?,?,?,?,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')
20241213@161712.3746 kskh54852k0isbfc8pq7hb8rfl Query : use flama_phc
20241213@161712.3749 kskh54852k0isbfc8pq7hb8rfl Query : select st.usalote valor from st where st.ref = '324.681.00.01'
20241213@161712.3896 kskh54852k0isbfc8pq7hb8rfl 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.681.00.01'
20241213@161712.4037 kskh54852k0isbfc8pq7hb8rfl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@161712.4054 kskh54852k0isbfc8pq7hb8rfl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 61
20241213@161712.4068 kskh54852k0isbfc8pq7hb8rfl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@161712.4082 kskh54852k0isbfc8pq7hb8rfl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 61
20241213@161712.4104 kskh54852k0isbfc8pq7hb8rfl Query : select sestamp valor from se where ref ='324.681.00.01' and lote = 'r2400695200a'
20241213@161712.4166 kskh54852k0isbfc8pq7hb8rfl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@161712.4185 kskh54852k0isbfc8pq7hb8rfl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'se' and documentnumber = 0
20241213@161712.4195 kskh54852k0isbfc8pq7hb8rfl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@161712.4209 kskh54852k0isbfc8pq7hb8rfl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'se' and documentnumber = 0
20241213@161712.4232 kskh54852k0isbfc8pq7hb8rfl Query : insert into se (sestamp,ref, lote, data,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c502714675c5e0866',?,?,'20241213',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut;','aut;')
20241213@161712.4842 kskh54852k0isbfc8pq7hb8rfl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241213@161712.4888 kskh54852k0isbfc8pq7hb8rfl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@161712.4910 kskh54852k0isbfc8pq7hb8rfl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 61
20241213@161712.4925 kskh54852k0isbfc8pq7hb8rfl Query : insert into bi2 (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut675c539413675c5e0877','aut675c520619675c5e04b3',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 = 'aut675c520619675c5e04b3'
20241213@161712.5059 kskh54852k0isbfc8pq7hb8rfl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@161712.5076 kskh54852k0isbfc8pq7hb8rfl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 61
20241213@161712.5095 kskh54852k0isbfc8pq7hb8rfl 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 'aut675c539413675c5e0877',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 1030, 1030*.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 ,18.82,18.82*200.48,18.82,18.82*200.48 ,0,0,'un ','' ,bo.marcada,1 ,18.82*1030,18.82*1030*200.48 ,25.450000,25.450000*200.48 ,25.450000,25.450000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,18.82,18.82*200.48,18.82*1030,18.82*1030*200.48,'cps24060663454,206000002 ',148.26,148.26*1030,148.26,148.26*1030,?,?,?,4 from bo bo where bo.bostamp = 'aut675c520619675c5e04b3'
20241213@161728.8777 kskh54852k0isbfc8pq7hb8rfl Query : use flama_phc
20241213@161728.8782 kskh54852k0isbfc8pq7hb8rfl Query : declare @bostamp varchar(25) = 'aut675c520619675c5e04b3' ,@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 
20241213@161741.1180 kskh54852k0isbfc8pq7hb8rfl Query : use flama_phc
20241213@161741.1186 kskh54852k0isbfc8pq7hb8rfl Query : select 1 valor from bo where bo.bostamp = 'aut675c520619675c5e04b3'
20241213@161741.1447 kskh54852k0isbfc8pq7hb8rfl 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) = 'aut675c520619675c5e04b3' 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 
20241213@161744.3194 kskh54852k0isbfc8pq7hb8rfl Query : use flama_phc
20241213@161744.3197 kskh54852k0isbfc8pq7hb8rfl Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241213@161744.3250 kskh54852k0isbfc8pq7hb8rfl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3957';
20241213@161744.3509 kskh54852k0isbfc8pq7hb8rfl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3957';
20241213@161908.6687 5okq9okqia3kge09pnlccmt2lo Query : use flama_phc
20241213@161908.6690 5okq9okqia3kge09pnlccmt2lo Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241213@161908.6770 5okq9okqia3kge09pnlccmt2lo Query : use flama_phc
20241213@161908.6774 5okq9okqia3kge09pnlccmt2lo Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241213@163608.4606 fu6u8uk05qi3vtfdo7ok9j2u4k Query : use flama_phc
20241213@163608.4611 fu6u8uk05qi3vtfdo7ok9j2u4k Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241213@163608.4699 fu6u8uk05qi3vtfdo7ok9j2u4k Query : use flama_phc
20241213@163608.4702 fu6u8uk05qi3vtfdo7ok9j2u4k Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241213@171908.5256 a834r8p40ofssut2i1io9tpnpm Query : use flama_phc
20241213@171908.5260 a834r8p40ofssut2i1io9tpnpm Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241213@171908.5348 a834r8p40ofssut2i1io9tpnpm Query : use flama_phc
20241213@171908.5351 a834r8p40ofssut2i1io9tpnpm Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241213@173608.5784 tno162penmtrtatgehbegq4c24 Query : use flama_phc
20241213@173608.5788 tno162penmtrtatgehbegq4c24 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241213@173608.5869 tno162penmtrtatgehbegq4c24 Query : use flama_phc
20241213@173608.5872 tno162penmtrtatgehbegq4c24 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241213@181908.9801 9e10n8j8abekibaovq5k5vn9kg Query : use flama_phc
20241213@181908.9805 9e10n8j8abekibaovq5k5vn9kg Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241213@181908.9948 9e10n8j8abekibaovq5k5vn9kg Query : use flama_phc
20241213@181908.9952 9e10n8j8abekibaovq5k5vn9kg Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241213@183609.2763 d5m4nc28oq4tc7hc0kbe88p4dh Query : use flama_phc
20241213@183609.2768 d5m4nc28oq4tc7hc0kbe88p4dh Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241213@183609.3132 d5m4nc28oq4tc7hc0kbe88p4dh Query : use flama_phc
20241213@183609.3277 d5m4nc28oq4tc7hc0kbe88p4dh Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241213@184921.3878 1crieljh0vhtg9b057lhbuk16u Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241213@184921.3919 1crieljh0vhtg9b057lhbuk16u Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241213@184921.4214 1crieljh0vhtg9b057lhbuk16u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3958';
20241213@184921.4288 1crieljh0vhtg9b057lhbuk16u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3958';
20241213@184921.4366 1crieljh0vhtg9b057lhbuk16u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3958';
20241213@184921.4403 1crieljh0vhtg9b057lhbuk16u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3958';
20241213@184921.4464 1crieljh0vhtg9b057lhbuk16u Query : use flama_phc
20241213@184921.4468 1crieljh0vhtg9b057lhbuk16u Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241213@184921.4607 1crieljh0vhtg9b057lhbuk16u Query : use flama_phc
20241213@184921.4613 1crieljh0vhtg9b057lhbuk16u Query : select no, estab,szadrsdesc from szadrs where u_coddest=170
20241213@184921.6624 1crieljh0vhtg9b057lhbuk16u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1834.00.1'
20241213@184921.6829 1crieljh0vhtg9b057lhbuk16u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408558 and bi.ref ='324.1834.00.1' and bi.lordem =1
20241213@184921.7370 1crieljh0vhtg9b057lhbuk16u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1834.00.1'
20241213@184921.7393 1crieljh0vhtg9b057lhbuk16u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408558 and bi.ref ='324.1834.00.1' and bi.lordem =2
20241213@184921.7708 1crieljh0vhtg9b057lhbuk16u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1834.00.1'
20241213@184921.7736 1crieljh0vhtg9b057lhbuk16u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408558 and bi.ref ='324.1834.00.1' and bi.lordem =2
20241213@184921.7757 1crieljh0vhtg9b057lhbuk16u Query : use flama_phc
20241213@184921.7761 1crieljh0vhtg9b057lhbuk16u Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241213@184921.8004 1crieljh0vhtg9b057lhbuk16u Query : use flama_phc
20241213@184921.8009 1crieljh0vhtg9b057lhbuk16u Query : select top 1 1 valor from td where td.ndoc = 39
20241213@184921.8093 1crieljh0vhtg9b057lhbuk16u Query : use flama_phc
20241213@184921.8098 1crieljh0vhtg9b057lhbuk16u 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')
20241213@184921.8174 1crieljh0vhtg9b057lhbuk16u 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
20241213@184921.8312 1crieljh0vhtg9b057lhbuk16u Query : use flama_phc
20241213@184921.8316 1crieljh0vhtg9b057lhbuk16u Query : select top 1 ~inactivo valor from cl where no = '102068' and estab = 0 order by inactivo desc
20241213@184921.8424 1crieljh0vhtg9b057lhbuk16u Query : use flama_phc
20241213@184921.8427 1crieljh0vhtg9b057lhbuk16u Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241213@184921.8512 1crieljh0vhtg9b057lhbuk16u Query : use flama_phc
20241213@184921.8515 1crieljh0vhtg9b057lhbuk16u Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241213@184921.8588 1crieljh0vhtg9b057lhbuk16u Query : use flama_phc
20241213@184921.8596 1crieljh0vhtg9b057lhbuk16u Query : select szadrsstamp valor from szadrs where szadrsdesc='magalhÃes & vinha, lda.'
20241213@184921.8653 1crieljh0vhtg9b057lhbuk16u Query : use flama_phc
20241213@184921.8656 1crieljh0vhtg9b057lhbuk16u Query : select 1 valor from td where ndoc = 39
20241213@184921.8709 1crieljh0vhtg9b057lhbuk16u Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241213@184921.8759 1crieljh0vhtg9b057lhbuk16u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184921.9125 1crieljh0vhtg9b057lhbuk16u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241213@184921.9212 1crieljh0vhtg9b057lhbuk16u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184921.9230 1crieljh0vhtg9b057lhbuk16u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241213@184921.9265 1crieljh0vhtg9b057lhbuk16u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184921.9286 1crieljh0vhtg9b057lhbuk16u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241213@184921.9302 1crieljh0vhtg9b057lhbuk16u Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241213@184921.9462 1crieljh0vhtg9b057lhbuk16u Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241213@184921.9560 1crieljh0vhtg9b057lhbuk16u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184921.9579 1crieljh0vhtg9b057lhbuk16u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241213@184921.9626 1crieljh0vhtg9b057lhbuk16u Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut675c853071675c81b1e3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241213@184922.1196 1crieljh0vhtg9b057lhbuk16u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184922.1228 1crieljh0vhtg9b057lhbuk16u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241213@184922.1277 1crieljh0vhtg9b057lhbuk16u Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241213@184922.1378 1crieljh0vhtg9b057lhbuk16u Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241213@184922.1478 1crieljh0vhtg9b057lhbuk16u Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241213@184922.1565 1crieljh0vhtg9b057lhbuk16u Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241213@184922.1638 1crieljh0vhtg9b057lhbuk16u Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241213@184922.1705 1crieljh0vhtg9b057lhbuk16u Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241213@184922.1785 1crieljh0vhtg9b057lhbuk16u Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut675c853071675c81b1e3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241213@184922.2536 1crieljh0vhtg9b057lhbuk16u Query : select top 1 fno valor from wsftdata order by fno desc
20241213@184922.2625 1crieljh0vhtg9b057lhbuk16u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184922.2646 1crieljh0vhtg9b057lhbuk16u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241213@184922.2683 1crieljh0vhtg9b057lhbuk16u Query : select 'normal' from dummy
20241213@184922.2747 1crieljh0vhtg9b057lhbuk16u Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut675c853071675c81b1e3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2440,102068,0,'2024-12-13',39,'euro',0,0,2024 ,?,?)
20241213@184922.3263 1crieljh0vhtg9b057lhbuk16u Query : use flama_phc
20241213@184922.3267 1crieljh0vhtg9b057lhbuk16u Query : select st.usalote valor from st where st.ref = '324.1834.00.1'
20241213@184922.3407 1crieljh0vhtg9b057lhbuk16u 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.1834.00.1'
20241213@184922.3566 1crieljh0vhtg9b057lhbuk16u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184922.3588 1crieljh0vhtg9b057lhbuk16u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184922.3620 1crieljh0vhtg9b057lhbuk16u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184922.3639 1crieljh0vhtg9b057lhbuk16u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184922.3651 1crieljh0vhtg9b057lhbuk16u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241213@184922.3705 1crieljh0vhtg9b057lhbuk16u Query : select sestamp valor from se where ref ='324.1834.00.1' and lote = 'r2400214200a'
20241213@184922.3768 1crieljh0vhtg9b057lhbuk16u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184922.3795 1crieljh0vhtg9b057lhbuk16u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184922.3810 1crieljh0vhtg9b057lhbuk16u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c832896675c81b25b','aut675c853071675c81b1e3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241213@184922.3915 1crieljh0vhtg9b057lhbuk16u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184922.3942 1crieljh0vhtg9b057lhbuk16u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184922.3980 1crieljh0vhtg9b057lhbuk16u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675c832896675c81b25b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut675c853071675c81b1e3' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241213@184922.4583 1crieljh0vhtg9b057lhbuk16u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184922.4603 1crieljh0vhtg9b057lhbuk16u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184922.4634 1crieljh0vhtg9b057lhbuk16u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184922.4653 1crieljh0vhtg9b057lhbuk16u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184922.4664 1crieljh0vhtg9b057lhbuk16u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241213@184922.4679 1crieljh0vhtg9b057lhbuk16u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184922.4696 1crieljh0vhtg9b057lhbuk16u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184922.4711 1crieljh0vhtg9b057lhbuk16u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c811426675c81b272','aut675c853071675c81b1e3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241213@184922.4716 1crieljh0vhtg9b057lhbuk16u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184922.4734 1crieljh0vhtg9b057lhbuk16u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184922.4767 1crieljh0vhtg9b057lhbuk16u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675c811426675c81b272',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675c853071675c81b1e3' ,0,0 ,2,23.00,20000,?,?,?)
20241213@184922.4997 1crieljh0vhtg9b057lhbuk16u Query : use flama_phc
20241213@184922.5001 1crieljh0vhtg9b057lhbuk16u Query : select st.usalote valor from st where st.ref = '324.1834.00.1'
20241213@184922.5028 1crieljh0vhtg9b057lhbuk16u 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.1834.00.1'
20241213@184922.5046 1crieljh0vhtg9b057lhbuk16u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184922.5065 1crieljh0vhtg9b057lhbuk16u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184922.5095 1crieljh0vhtg9b057lhbuk16u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184922.5137 1crieljh0vhtg9b057lhbuk16u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184922.5146 1crieljh0vhtg9b057lhbuk16u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241213@184922.5159 1crieljh0vhtg9b057lhbuk16u Query : select sestamp valor from se where ref ='324.1834.00.1' and lote = 'r2400214200a'
20241213@184922.5187 1crieljh0vhtg9b057lhbuk16u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184922.5204 1crieljh0vhtg9b057lhbuk16u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184922.5219 1crieljh0vhtg9b057lhbuk16u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c836895675c81b27e','aut675c853071675c81b1e3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241213@184922.5224 1crieljh0vhtg9b057lhbuk16u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184922.5242 1crieljh0vhtg9b057lhbuk16u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184922.5278 1crieljh0vhtg9b057lhbuk16u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675c836895675c81b27e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut675c853071675c81b1e3' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241213@184922.5606 1crieljh0vhtg9b057lhbuk16u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184922.5625 1crieljh0vhtg9b057lhbuk16u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184922.5656 1crieljh0vhtg9b057lhbuk16u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184922.5673 1crieljh0vhtg9b057lhbuk16u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184922.5684 1crieljh0vhtg9b057lhbuk16u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241213@184922.5699 1crieljh0vhtg9b057lhbuk16u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184922.5716 1crieljh0vhtg9b057lhbuk16u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184922.5729 1crieljh0vhtg9b057lhbuk16u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c899623675c81b28b','aut675c853071675c81b1e3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241213@184922.5734 1crieljh0vhtg9b057lhbuk16u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184922.5752 1crieljh0vhtg9b057lhbuk16u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184922.5800 1crieljh0vhtg9b057lhbuk16u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675c899623675c81b28b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675c853071675c81b1e3' ,0,0 ,2,23.00,50000,?,?,?)
20241213@184922.6044 1crieljh0vhtg9b057lhbuk16u Query : use flama_phc
20241213@184922.6050 1crieljh0vhtg9b057lhbuk16u Query : select st.usalote valor from st where st.ref = '324.1834.00.1'
20241213@184922.6076 1crieljh0vhtg9b057lhbuk16u 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.1834.00.1'
20241213@184922.6093 1crieljh0vhtg9b057lhbuk16u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184922.6113 1crieljh0vhtg9b057lhbuk16u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184922.6146 1crieljh0vhtg9b057lhbuk16u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184922.6165 1crieljh0vhtg9b057lhbuk16u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184922.6175 1crieljh0vhtg9b057lhbuk16u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241213@184922.6190 1crieljh0vhtg9b057lhbuk16u Query : select sestamp valor from se where ref ='324.1834.00.1' and lote = 'r2400214200a'
20241213@184922.6205 1crieljh0vhtg9b057lhbuk16u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184922.6225 1crieljh0vhtg9b057lhbuk16u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184922.6239 1crieljh0vhtg9b057lhbuk16u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c881886675c81b297','aut675c853071675c81b1e3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241213@184922.6244 1crieljh0vhtg9b057lhbuk16u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184922.6260 1crieljh0vhtg9b057lhbuk16u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184922.6292 1crieljh0vhtg9b057lhbuk16u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675c881886675c81b297',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut675c853071675c81b1e3' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241213@184922.6527 1crieljh0vhtg9b057lhbuk16u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184922.6546 1crieljh0vhtg9b057lhbuk16u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184922.6577 1crieljh0vhtg9b057lhbuk16u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184922.6594 1crieljh0vhtg9b057lhbuk16u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184922.6605 1crieljh0vhtg9b057lhbuk16u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241213@184922.6619 1crieljh0vhtg9b057lhbuk16u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184922.6637 1crieljh0vhtg9b057lhbuk16u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184922.6650 1crieljh0vhtg9b057lhbuk16u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c838589675c81b2a1','aut675c853071675c81b1e3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241213@184922.6655 1crieljh0vhtg9b057lhbuk16u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184922.6672 1crieljh0vhtg9b057lhbuk16u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184922.6707 1crieljh0vhtg9b057lhbuk16u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675c838589675c81b2a1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675c853071675c81b1e3' ,0,0 ,2,23.00,80000,?,?,?)
20241213@184922.6935 1crieljh0vhtg9b057lhbuk16u Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut675c853071675c81b1e3','2408558','wait',39,'adm09112754980.682000002')
20241213@184922.7036 1crieljh0vhtg9b057lhbuk16u Query : use flama_phc
20241213@184922.7039 1crieljh0vhtg9b057lhbuk16u Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241213@184922.7072 1crieljh0vhtg9b057lhbuk16u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3958';
20241213@184922.7117 1crieljh0vhtg9b057lhbuk16u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3958';
20241213@184922.7179 1crieljh0vhtg9b057lhbuk16u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3958';
20241213@184922.7214 1crieljh0vhtg9b057lhbuk16u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3958';
20241213@184922.7767 vqdash2g29qia2gst8i56s9g9l Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241213@184922.7781 vqdash2g29qia2gst8i56s9g9l Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241213@184922.7853 vqdash2g29qia2gst8i56s9g9l Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3959';
20241213@184922.7922 vqdash2g29qia2gst8i56s9g9l Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3959';
20241213@184922.7989 vqdash2g29qia2gst8i56s9g9l Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3959';
20241213@184922.8028 vqdash2g29qia2gst8i56s9g9l Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3959';
20241213@184922.8098 vqdash2g29qia2gst8i56s9g9l Query : use flama_phc
20241213@184922.8102 vqdash2g29qia2gst8i56s9g9l Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241213@184922.8175 vqdash2g29qia2gst8i56s9g9l Query : use flama_phc
20241213@184922.8178 vqdash2g29qia2gst8i56s9g9l Query : select no, estab,szadrsdesc from szadrs where u_coddest=416
20241213@184922.8273 vqdash2g29qia2gst8i56s9g9l Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1676.00.1'
20241213@184922.8392 vqdash2g29qia2gst8i56s9g9l Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408559 and bi.ref ='324.1676.00.1' and bi.lordem =1
20241213@184922.8711 vqdash2g29qia2gst8i56s9g9l Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1676.00.1'
20241213@184922.8734 vqdash2g29qia2gst8i56s9g9l Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408559 and bi.ref ='324.1676.00.1' and bi.lordem =1
20241213@184922.8754 vqdash2g29qia2gst8i56s9g9l Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1676.00.1'
20241213@184922.8777 vqdash2g29qia2gst8i56s9g9l Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408559 and bi.ref ='324.1676.00.1' and bi.lordem =2
20241213@184922.9113 vqdash2g29qia2gst8i56s9g9l Query : use flama_phc
20241213@184922.9118 vqdash2g29qia2gst8i56s9g9l Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241213@184922.9158 vqdash2g29qia2gst8i56s9g9l Query : use flama_phc
20241213@184922.9162 vqdash2g29qia2gst8i56s9g9l Query : select top 1 1 valor from td where td.ndoc = 39
20241213@184922.9200 vqdash2g29qia2gst8i56s9g9l Query : use flama_phc
20241213@184922.9204 vqdash2g29qia2gst8i56s9g9l 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')
20241213@184922.9238 vqdash2g29qia2gst8i56s9g9l 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
20241213@184922.9280 vqdash2g29qia2gst8i56s9g9l Query : use flama_phc
20241213@184922.9283 vqdash2g29qia2gst8i56s9g9l Query : select top 1 ~inactivo valor from cl where no = '102079' and estab = 0 order by inactivo desc
20241213@184922.9393 vqdash2g29qia2gst8i56s9g9l Query : use flama_phc
20241213@184922.9396 vqdash2g29qia2gst8i56s9g9l Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241213@184922.9432 vqdash2g29qia2gst8i56s9g9l Query : use flama_phc
20241213@184922.9436 vqdash2g29qia2gst8i56s9g9l Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241213@184922.9486 vqdash2g29qia2gst8i56s9g9l Query : use flama_phc
20241213@184922.9490 vqdash2g29qia2gst8i56s9g9l Query : select szadrsstamp valor from szadrs where szadrsdesc='bragajav, lda.'
20241213@184922.9557 vqdash2g29qia2gst8i56s9g9l Query : use flama_phc
20241213@184922.9560 vqdash2g29qia2gst8i56s9g9l Query : select 1 valor from td where ndoc = 39
20241213@184922.9577 vqdash2g29qia2gst8i56s9g9l Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241213@184922.9595 vqdash2g29qia2gst8i56s9g9l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184922.9617 vqdash2g29qia2gst8i56s9g9l Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241213@184922.9641 vqdash2g29qia2gst8i56s9g9l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184922.9670 vqdash2g29qia2gst8i56s9g9l Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241213@184922.9715 vqdash2g29qia2gst8i56s9g9l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184922.9734 vqdash2g29qia2gst8i56s9g9l Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241213@184922.9753 vqdash2g29qia2gst8i56s9g9l Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241213@184922.9819 vqdash2g29qia2gst8i56s9g9l Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241213@184922.9836 vqdash2g29qia2gst8i56s9g9l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184922.9857 vqdash2g29qia2gst8i56s9g9l Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241213@184922.9879 vqdash2g29qia2gst8i56s9g9l Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut675c887794675c81b2ee' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241213@184923.1530 vqdash2g29qia2gst8i56s9g9l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184923.1750 vqdash2g29qia2gst8i56s9g9l Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241213@184923.2260 vqdash2g29qia2gst8i56s9g9l Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241213@184923.2400 vqdash2g29qia2gst8i56s9g9l Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241213@184923.2530 vqdash2g29qia2gst8i56s9g9l Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241213@184923.2670 vqdash2g29qia2gst8i56s9g9l Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241213@184923.2820 vqdash2g29qia2gst8i56s9g9l Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241213@184923.2960 vqdash2g29qia2gst8i56s9g9l Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241213@184923.3080 vqdash2g29qia2gst8i56s9g9l Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut675c887794675c81b2ee',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241213@184923.5350 vqdash2g29qia2gst8i56s9g9l Query : select top 1 fno valor from wsftdata order by fno desc
20241213@184923.5720 vqdash2g29qia2gst8i56s9g9l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184923.6010 vqdash2g29qia2gst8i56s9g9l Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241213@184923.6290 vqdash2g29qia2gst8i56s9g9l Query : select 'normal' from dummy
20241213@184923.6520 vqdash2g29qia2gst8i56s9g9l Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut675c887794675c81b2ee',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2441,102079,0,'2024-12-13',39,'euro',0,0,2024 ,?,?)
20241213@184923.9710 vqdash2g29qia2gst8i56s9g9l Query : use flama_phc
20241213@184923.9760 vqdash2g29qia2gst8i56s9g9l Query : select st.usalote valor from st where st.ref = '324.1676.00.1'
20241213@184923.1004 vqdash2g29qia2gst8i56s9g9l 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.1676.00.1'
20241213@184923.1148 vqdash2g29qia2gst8i56s9g9l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184923.1167 vqdash2g29qia2gst8i56s9g9l Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184923.1198 vqdash2g29qia2gst8i56s9g9l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184923.1215 vqdash2g29qia2gst8i56s9g9l Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184923.1226 vqdash2g29qia2gst8i56s9g9l Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241213@184923.1242 vqdash2g29qia2gst8i56s9g9l Query : select sestamp valor from se where ref ='324.1676.00.1' and lote = 'r2400173900a'
20241213@184923.1264 vqdash2g29qia2gst8i56s9g9l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184923.1282 vqdash2g29qia2gst8i56s9g9l Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184923.1297 vqdash2g29qia2gst8i56s9g9l Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c863823675c81b31e','aut675c887794675c81b2ee' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241213@184923.1302 vqdash2g29qia2gst8i56s9g9l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184923.1319 vqdash2g29qia2gst8i56s9g9l Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184923.1352 vqdash2g29qia2gst8i56s9g9l Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675c863823675c81b31e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut675c887794675c81b2ee' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241213@184923.1577 vqdash2g29qia2gst8i56s9g9l Query : use flama_phc
20241213@184923.1580 vqdash2g29qia2gst8i56s9g9l Query : select st.usalote valor from st where st.ref = '324.1676.00.1'
20241213@184923.1602 vqdash2g29qia2gst8i56s9g9l 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.1676.00.1'
20241213@184923.1618 vqdash2g29qia2gst8i56s9g9l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184923.1636 vqdash2g29qia2gst8i56s9g9l Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184923.1669 vqdash2g29qia2gst8i56s9g9l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184923.1689 vqdash2g29qia2gst8i56s9g9l Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184923.1701 vqdash2g29qia2gst8i56s9g9l Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241213@184923.1716 vqdash2g29qia2gst8i56s9g9l Query : select sestamp valor from se where ref ='324.1676.00.1' and lote = 'r2400173900a'
20241213@184923.1731 vqdash2g29qia2gst8i56s9g9l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184923.1751 vqdash2g29qia2gst8i56s9g9l Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184923.1765 vqdash2g29qia2gst8i56s9g9l Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c831215675c81b32a','aut675c887794675c81b2ee' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241213@184923.1770 vqdash2g29qia2gst8i56s9g9l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184923.1789 vqdash2g29qia2gst8i56s9g9l Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184923.1821 vqdash2g29qia2gst8i56s9g9l Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675c831215675c81b32a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',13.000 ,'aut675c887794675c81b2ee' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241213@184923.2056 vqdash2g29qia2gst8i56s9g9l Query : use flama_phc
20241213@184923.2060 vqdash2g29qia2gst8i56s9g9l Query : select st.usalote valor from st where st.ref = '324.1676.00.1'
20241213@184923.2084 vqdash2g29qia2gst8i56s9g9l 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.1676.00.1'
20241213@184923.2101 vqdash2g29qia2gst8i56s9g9l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184923.2120 vqdash2g29qia2gst8i56s9g9l Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184923.2151 vqdash2g29qia2gst8i56s9g9l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184923.2169 vqdash2g29qia2gst8i56s9g9l Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184923.2180 vqdash2g29qia2gst8i56s9g9l Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241213@184923.2196 vqdash2g29qia2gst8i56s9g9l Query : select sestamp valor from se where ref ='324.1676.00.1' and lote = 'r2400173900a'
20241213@184923.2214 vqdash2g29qia2gst8i56s9g9l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184923.2235 vqdash2g29qia2gst8i56s9g9l Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184923.2250 vqdash2g29qia2gst8i56s9g9l Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c835766675c81b336','aut675c887794675c81b2ee' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241213@184923.2255 vqdash2g29qia2gst8i56s9g9l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184923.2271 vqdash2g29qia2gst8i56s9g9l Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184923.2307 vqdash2g29qia2gst8i56s9g9l Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675c835766675c81b336',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut675c887794675c81b2ee' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241213@184923.2550 vqdash2g29qia2gst8i56s9g9l Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut675c887794675c81b2ee','2408559','wait',39,'adm09112754980.682000002')
20241213@184923.2626 vqdash2g29qia2gst8i56s9g9l Query : use flama_phc
20241213@184923.2631 vqdash2g29qia2gst8i56s9g9l Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241213@184923.2665 vqdash2g29qia2gst8i56s9g9l Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3959';
20241213@184923.2711 vqdash2g29qia2gst8i56s9g9l Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3959';
20241213@184923.2773 vqdash2g29qia2gst8i56s9g9l Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3959';
20241213@184923.2828 vqdash2g29qia2gst8i56s9g9l Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3959';
20241213@184923.3391 486hdp5ab9rviv0brvvcqhjkgl Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241213@184923.3403 486hdp5ab9rviv0brvvcqhjkgl Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241213@184923.3490 486hdp5ab9rviv0brvvcqhjkgl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3960';
20241213@184923.3565 486hdp5ab9rviv0brvvcqhjkgl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3960';
20241213@184923.3633 486hdp5ab9rviv0brvvcqhjkgl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3960';
20241213@184923.3673 486hdp5ab9rviv0brvvcqhjkgl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3960';
20241213@184923.3752 486hdp5ab9rviv0brvvcqhjkgl Query : use flama_phc
20241213@184923.3755 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241213@184923.3825 486hdp5ab9rviv0brvvcqhjkgl Query : use flama_phc
20241213@184923.3829 486hdp5ab9rviv0brvvcqhjkgl Query : select no, estab,szadrsdesc from szadrs where u_coddest=4790
20241213@184923.3923 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20241213@184923.4056 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408561 and bi.ref ='304.421.00.04' and bi.lordem =1
20241213@184923.4346 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1716.00.1'
20241213@184923.5882 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408561 and bi.ref ='324.1716.00.1' and bi.lordem =2
20241213@184923.6195 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2066.00.1'
20241213@184923.6312 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408561 and bi.ref ='324.2066.00.1' and bi.lordem =3
20241213@184923.6688 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.969.00.01'
20241213@184923.6807 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408561 and bi.ref ='324.969.00.01' and bi.lordem =4
20241213@184923.7121 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.969.00.01'
20241213@184923.7144 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408561 and bi.ref ='324.969.00.01' and bi.lordem =4
20241213@184923.7164 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.969.00.01'
20241213@184923.7186 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408561 and bi.ref ='324.969.00.01' and bi.lordem =4
20241213@184923.7208 486hdp5ab9rviv0brvvcqhjkgl 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'
20241213@184923.7363 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408561 and bi.ref ='304.422.00.07' and bi.lordem =5
20241213@184923.7868 486hdp5ab9rviv0brvvcqhjkgl 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'
20241213@184923.7892 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408561 and bi.ref ='304.422.00.07' and bi.lordem =5
20241213@184923.7912 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4964.00.1'
20241213@184923.8054 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408561 and bi.ref ='324.4964.00.1' and bi.lordem =6
20241213@184923.8367 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4963.00.1'
20241213@184923.8488 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408561 and bi.ref ='324.4963.00.1' and bi.lordem =7
20241213@184923.8782 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2221.00.1'
20241213@184923.8898 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408561 and bi.ref ='324.2221.00.1' and bi.lordem =8
20241213@184923.9198 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4962.00.1'
20241213@184923.9323 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408561 and bi.ref ='324.4962.00.1' and bi.lordem =9
20241213@184923.9614 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2224.00.1'
20241213@184923.9728 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408561 and bi.ref ='324.2224.00.1' and bi.lordem =10
20241213@184924.2500 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2224.00.1'
20241213@184924.5000 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408561 and bi.ref ='324.2224.00.1' and bi.lordem =10
20241213@184924.7000 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1426.00.1'
20241213@184924.1960 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408561 and bi.ref ='324.1426.00.1' and bi.lordem =11
20241213@184924.5270 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1426.00.1'
20241213@184924.5500 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408561 and bi.ref ='324.1426.00.1' and bi.lordem =11
20241213@184924.5690 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2907.00.1'
20241213@184924.6850 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408561 and bi.ref ='324.2907.00.1' and bi.lordem =12
20241213@184924.1094 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2907.00.1'
20241213@184924.1118 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408561 and bi.ref ='324.2907.00.1' and bi.lordem =12
20241213@184924.1138 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1417.00.1'
20241213@184924.1271 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408561 and bi.ref ='324.1417.00.1' and bi.lordem =13
20241213@184924.1596 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2223.00.1'
20241213@184924.1728 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408561 and bi.ref ='324.2223.00.1' and bi.lordem =14
20241213@184924.2038 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2223.00.1'
20241213@184924.2061 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408561 and bi.ref ='324.2223.00.1' and bi.lordem =14
20241213@184924.2094 486hdp5ab9rviv0brvvcqhjkgl Query : use flama_phc
20241213@184924.2098 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241213@184924.2133 486hdp5ab9rviv0brvvcqhjkgl Query : use flama_phc
20241213@184924.2136 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 1 valor from td where td.ndoc = 39
20241213@184924.2170 486hdp5ab9rviv0brvvcqhjkgl Query : use flama_phc
20241213@184924.2174 486hdp5ab9rviv0brvvcqhjkgl 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')
20241213@184924.2211 486hdp5ab9rviv0brvvcqhjkgl 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
20241213@184924.2262 486hdp5ab9rviv0brvvcqhjkgl Query : use flama_phc
20241213@184924.2265 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 ~inactivo valor from cl where no = '199510' and estab = 0 order by inactivo desc
20241213@184924.2369 486hdp5ab9rviv0brvvcqhjkgl Query : use flama_phc
20241213@184924.2372 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241213@184924.2410 486hdp5ab9rviv0brvvcqhjkgl Query : use flama_phc
20241213@184924.2417 486hdp5ab9rviv0brvvcqhjkgl Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241213@184924.2463 486hdp5ab9rviv0brvvcqhjkgl Query : use flama_phc
20241213@184924.2467 486hdp5ab9rviv0brvvcqhjkgl Query : select szadrsstamp valor from szadrs where szadrsdesc='199510 - cdnogueira regedoura'
20241213@184924.2521 486hdp5ab9rviv0brvvcqhjkgl Query : use flama_phc
20241213@184924.2524 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from td where ndoc = 39
20241213@184924.2540 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241213@184924.2559 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184924.2582 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241213@184924.2604 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184924.2621 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241213@184924.2656 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184924.2672 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241213@184924.2689 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241213@184924.2750 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241213@184924.2773 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184924.2789 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241213@184924.2807 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut675c841572675c81b441' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241213@184924.2966 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184924.2984 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241213@184924.3024 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241213@184924.3038 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241213@184924.3053 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241213@184924.3068 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241213@184924.3083 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241213@184924.4274 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241213@184924.4289 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut675c841572675c81b441',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241213@184924.4499 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 fno valor from wsftdata order by fno desc
20241213@184924.4532 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184924.4554 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241213@184924.4579 486hdp5ab9rviv0brvvcqhjkgl Query : select 'normal' from dummy
20241213@184924.4601 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut675c841572675c81b441',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2442,199510,0,'2024-12-13',39,'euro',0,0,2024 ,?,?)
20241213@184924.4863 486hdp5ab9rviv0brvvcqhjkgl Query : use flama_phc
20241213@184924.4866 486hdp5ab9rviv0brvvcqhjkgl Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20241213@184924.4892 486hdp5ab9rviv0brvvcqhjkgl 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.421.00.04'
20241213@184924.5014 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184924.5033 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184924.5137 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184924.5157 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184924.5168 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241213@184924.5183 486hdp5ab9rviv0brvvcqhjkgl Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '241670'
20241213@184924.5209 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184924.5225 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184924.5238 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c806786675c81b47f','aut675c841572675c81b441' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241213@184924.5243 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184924.5260 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184924.5299 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675c806786675c81b47f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',28.000 ,'aut675c841572675c81b441' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241213@184924.5538 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184924.5557 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184924.5585 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184924.5601 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184924.5613 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241213@184924.5628 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184924.5645 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184924.5659 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c859734675c81b489','aut675c841572675c81b441' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241213@184924.5663 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184924.5679 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184924.5715 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675c859734675c81b489',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675c841572675c81b441' ,0,0 ,2,23.00,20000,?,?,?)
20241213@184924.5926 486hdp5ab9rviv0brvvcqhjkgl Query : use flama_phc
20241213@184924.5931 486hdp5ab9rviv0brvvcqhjkgl Query : select st.usalote valor from st where st.ref = '324.1716.00.1'
20241213@184924.5955 486hdp5ab9rviv0brvvcqhjkgl 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.1716.00.1'
20241213@184924.6083 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184924.6102 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184924.6133 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184924.6155 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184924.6165 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241213@184924.6178 486hdp5ab9rviv0brvvcqhjkgl Query : select sestamp valor from se where ref ='324.1716.00.1' and lote = 'r2100312300a'
20241213@184924.6220 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184924.6239 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184924.6253 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c822219675c81b497','aut675c841572675c81b441' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241213@184924.6260 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184924.6276 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184924.6313 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675c822219675c81b497',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',60.000 ,'aut675c841572675c81b441' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241213@184924.6536 486hdp5ab9rviv0brvvcqhjkgl Query : use flama_phc
20241213@184924.6540 486hdp5ab9rviv0brvvcqhjkgl Query : select st.usalote valor from st where st.ref = '324.2066.00.1'
20241213@184924.6564 486hdp5ab9rviv0brvvcqhjkgl 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.2066.00.1'
20241213@184924.6693 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184924.6712 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184924.6742 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184924.6762 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184924.6771 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241213@184924.6789 486hdp5ab9rviv0brvvcqhjkgl Query : select sestamp valor from se where ref ='324.2066.00.1' and lote = 'r2400051100a'
20241213@184924.6826 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184924.6843 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184924.6856 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c884601675c81b4a6','aut675c841572675c81b441' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241213@184924.6861 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184924.6877 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184924.6909 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675c884601675c81b4a6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',84.000 ,'aut675c841572675c81b441' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20241213@184924.7151 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184924.7169 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184924.7195 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184924.7211 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184924.7220 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241213@184924.7233 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184924.7248 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184924.7261 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c827147675c81b4b0','aut675c841572675c81b441' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241213@184924.7273 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184924.7288 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184924.7319 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675c827147675c81b4b0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675c841572675c81b441' ,0,0 ,2,23.00,60000,?,?,?)
20241213@184924.7546 486hdp5ab9rviv0brvvcqhjkgl Query : use flama_phc
20241213@184924.7550 486hdp5ab9rviv0brvvcqhjkgl Query : select st.usalote valor from st where st.ref = '324.969.00.01'
20241213@184924.7570 486hdp5ab9rviv0brvvcqhjkgl 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.969.00.01'
20241213@184924.7703 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184924.7720 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184924.7747 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184924.7762 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184924.7773 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241213@184924.7786 486hdp5ab9rviv0brvvcqhjkgl Query : select sestamp valor from se where ref ='324.969.00.01' and lote = 'r2100601100a'
20241213@184924.7911 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184924.7989 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184924.8004 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c852604675c81b4c1','aut675c841572675c81b441' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241213@184924.8008 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184924.8025 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184924.8057 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675c852604675c81b4c1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut675c841572675c81b441' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20241213@184924.8289 486hdp5ab9rviv0brvvcqhjkgl Query : use flama_phc
20241213@184924.8292 486hdp5ab9rviv0brvvcqhjkgl Query : select st.usalote valor from st where st.ref = '324.969.00.01'
20241213@184924.8312 486hdp5ab9rviv0brvvcqhjkgl 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.969.00.01'
20241213@184924.8328 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184924.8344 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184924.8372 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184924.8391 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184924.8401 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241213@184924.8417 486hdp5ab9rviv0brvvcqhjkgl Query : select sestamp valor from se where ref ='324.969.00.01' and lote = 'r2100601100a'
20241213@184924.8435 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184924.9576 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184924.9594 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c889395675c81b4cd','aut675c841572675c81b441' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241213@184924.9602 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184924.9620 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184924.9653 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675c889395675c81b4cd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut675c841572675c81b441' ,0,0 ,2,23.00,90000,?,?,?,?,?)
20241213@184924.9917 486hdp5ab9rviv0brvvcqhjkgl Query : use flama_phc
20241213@184924.9924 486hdp5ab9rviv0brvvcqhjkgl Query : select st.usalote valor from st where st.ref = '324.969.00.01'
20241213@184924.9951 486hdp5ab9rviv0brvvcqhjkgl 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.969.00.01'
20241213@184924.9967 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184924.9985 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184925.1300 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.3100 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184925.4100 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241213@184925.5500 486hdp5ab9rviv0brvvcqhjkgl Query : select sestamp valor from se where ref ='324.969.00.01' and lote = 'r2100601100a'
20241213@184925.7000 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.8800 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184925.1000 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c831080675c81b501','aut675c841572675c81b441' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241213@184925.1050 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.1300 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184925.1620 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675c831080675c81b501',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',42.000 ,'aut675c841572675c81b441' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20241213@184925.3880 486hdp5ab9rviv0brvvcqhjkgl Query : use flama_phc
20241213@184925.3950 486hdp5ab9rviv0brvvcqhjkgl Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20241213@184925.4200 486hdp5ab9rviv0brvvcqhjkgl 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'
20241213@184925.5480 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.5680 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184925.5970 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.6140 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184925.6250 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241213@184925.6410 486hdp5ab9rviv0brvvcqhjkgl Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '241228'
20241213@184925.6750 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.6930 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184925.7070 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c851522675c81b510','aut675c841572675c81b441' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241213@184925.7120 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.7290 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184925.7610 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675c851522675c81b510',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',28.000 ,'aut675c841572675c81b441' ,0,0 ,2,23.00,110000,?,?,?,?,?)
20241213@184925.9870 486hdp5ab9rviv0brvvcqhjkgl Query : use flama_phc
20241213@184925.9920 486hdp5ab9rviv0brvvcqhjkgl Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20241213@184925.1013 486hdp5ab9rviv0brvvcqhjkgl 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'
20241213@184925.1030 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.1049 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184925.1081 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.1099 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184925.1110 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241213@184925.1127 486hdp5ab9rviv0brvvcqhjkgl Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '241228'
20241213@184925.1142 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.1160 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184925.1178 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c875193675c81b51b','aut675c841572675c81b441' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241213@184925.1183 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.1200 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184925.1233 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675c875193675c81b51b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',52.000 ,'aut675c841572675c81b441' ,0,0 ,2,23.00,120000,?,?,?,?,?)
20241213@184925.1452 486hdp5ab9rviv0brvvcqhjkgl Query : use flama_phc
20241213@184925.1456 486hdp5ab9rviv0brvvcqhjkgl Query : select st.usalote valor from st where st.ref = '324.4964.00.1'
20241213@184925.1483 486hdp5ab9rviv0brvvcqhjkgl 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.4964.00.1'
20241213@184925.1612 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.1633 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184925.1664 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.1681 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184925.1691 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241213@184925.1706 486hdp5ab9rviv0brvvcqhjkgl Query : select sestamp valor from se where ref ='324.4964.00.1' and lote = 'r2300717100a'
20241213@184925.1735 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.1754 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184925.1774 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c862155675c81b52a','aut675c841572675c81b441' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241213@184925.1780 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.1797 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184925.1828 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675c862155675c81b52a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',40.000 ,'aut675c841572675c81b441' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20241213@184925.2052 486hdp5ab9rviv0brvvcqhjkgl Query : use flama_phc
20241213@184925.2056 486hdp5ab9rviv0brvvcqhjkgl Query : select st.usalote valor from st where st.ref = '324.4963.00.1'
20241213@184925.2081 486hdp5ab9rviv0brvvcqhjkgl 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.4963.00.1'
20241213@184925.2203 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.2225 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184925.2259 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.2291 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184925.2303 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241213@184925.2317 486hdp5ab9rviv0brvvcqhjkgl Query : select sestamp valor from se where ref ='324.4963.00.1' and lote = 'r2300717200a'
20241213@184925.2335 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.2355 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184925.2368 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c852238675c81b539','aut675c841572675c81b441' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241213@184925.2373 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.2390 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184925.2426 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675c852238675c81b539',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut675c841572675c81b441' ,0,0 ,2,23.00,140000,?,?,?,?,?)
20241213@184925.2651 486hdp5ab9rviv0brvvcqhjkgl Query : use flama_phc
20241213@184925.2655 486hdp5ab9rviv0brvvcqhjkgl Query : select st.usalote valor from st where st.ref = '324.2221.00.1'
20241213@184925.2679 486hdp5ab9rviv0brvvcqhjkgl 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.2221.00.1'
20241213@184925.4023 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.4042 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184925.4072 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.4089 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184925.4099 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241213@184925.4115 486hdp5ab9rviv0brvvcqhjkgl Query : select sestamp valor from se where ref ='324.2221.00.1' and lote = 'r2301280100a'
20241213@184925.4142 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.4176 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184925.4190 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c843146675c81b565','aut675c841572675c81b441' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241213@184925.4195 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.4212 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184925.4246 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675c843146675c81b565',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',60.000 ,'aut675c841572675c81b441' ,0,0 ,2,23.00,150000,?,?,?,?,?)
20241213@184925.4478 486hdp5ab9rviv0brvvcqhjkgl Query : use flama_phc
20241213@184925.4482 486hdp5ab9rviv0brvvcqhjkgl Query : select st.usalote valor from st where st.ref = '324.4962.00.1'
20241213@184925.4511 486hdp5ab9rviv0brvvcqhjkgl 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.4962.00.1'
20241213@184925.4649 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.4670 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184925.4702 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.4723 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184925.4735 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241213@184925.4751 486hdp5ab9rviv0brvvcqhjkgl Query : select sestamp valor from se where ref ='324.4962.00.1' and lote = 'r2101092100a'
20241213@184925.4820 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.4867 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184925.4882 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c882692675c81b575','aut675c841572675c81b441' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241213@184925.4886 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.4904 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184925.4939 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675c882692675c81b575',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut675c841572675c81b441' ,0,0 ,2,23.00,160000,?,?,?,?,?)
20241213@184925.5162 486hdp5ab9rviv0brvvcqhjkgl Query : use flama_phc
20241213@184925.5166 486hdp5ab9rviv0brvvcqhjkgl Query : select st.usalote valor from st where st.ref = '324.2224.00.1'
20241213@184925.5190 486hdp5ab9rviv0brvvcqhjkgl 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.2224.00.1'
20241213@184925.5325 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.5350 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184925.5384 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.5405 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184925.5416 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241213@184925.5431 486hdp5ab9rviv0brvvcqhjkgl Query : select sestamp valor from se where ref ='324.2224.00.1' and lote = 'r2301280100a'
20241213@184925.5450 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.5471 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184925.5487 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c850510675c81b585','aut675c841572675c81b441' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241213@184925.5492 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.5510 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184925.5545 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675c850510675c81b585',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut675c841572675c81b441' ,0,0 ,2,23.00,170000,?,?,?,?,?)
20241213@184925.5769 486hdp5ab9rviv0brvvcqhjkgl Query : use flama_phc
20241213@184925.5773 486hdp5ab9rviv0brvvcqhjkgl Query : select st.usalote valor from st where st.ref = '324.2224.00.1'
20241213@184925.5798 486hdp5ab9rviv0brvvcqhjkgl 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.2224.00.1'
20241213@184925.5816 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.5835 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184925.5865 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.5882 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184925.5892 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241213@184925.5906 486hdp5ab9rviv0brvvcqhjkgl Query : select sestamp valor from se where ref ='324.2224.00.1' and lote = 'r2301280100a'
20241213@184925.5922 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.5940 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184925.5955 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c808504675c81b590','aut675c841572675c81b441' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241213@184925.5960 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.5977 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184925.6012 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675c808504675c81b590',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut675c841572675c81b441' ,0,0 ,2,23.00,180000,?,?,?,?,?)
20241213@184925.6239 486hdp5ab9rviv0brvvcqhjkgl Query : use flama_phc
20241213@184925.6243 486hdp5ab9rviv0brvvcqhjkgl Query : select st.usalote valor from st where st.ref = '324.1426.00.1'
20241213@184925.6267 486hdp5ab9rviv0brvvcqhjkgl 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.1426.00.1'
20241213@184925.6405 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.6427 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184925.6497 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.6522 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184925.6538 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241213@184925.6554 486hdp5ab9rviv0brvvcqhjkgl Query : select sestamp valor from se where ref ='324.1426.00.1' and lote = 'r2100465200a'
20241213@184925.6579 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.6601 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184925.6616 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c858139675c81b5a0','aut675c841572675c81b441' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241213@184925.6621 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.6638 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184925.6671 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675c858139675c81b5a0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',36.000 ,'aut675c841572675c81b441' ,0,0 ,2,23.00,190000,?,?,?,?,?)
20241213@184925.6896 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.6915 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184925.6948 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.6966 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184925.6977 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241213@184925.6991 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.7008 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184925.7021 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c829487675c81b5aa','aut675c841572675c81b441' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241213@184925.7025 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.7041 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184925.7074 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675c829487675c81b5aa',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675c841572675c81b441' ,0,0 ,2,23.00,200000,?,?,?)
20241213@184925.7345 486hdp5ab9rviv0brvvcqhjkgl Query : use flama_phc
20241213@184925.7349 486hdp5ab9rviv0brvvcqhjkgl Query : select st.usalote valor from st where st.ref = '324.1426.00.1'
20241213@184925.7375 486hdp5ab9rviv0brvvcqhjkgl 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.1426.00.1'
20241213@184925.7391 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.7410 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184925.7439 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.7456 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184925.7466 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241213@184925.7480 486hdp5ab9rviv0brvvcqhjkgl Query : select sestamp valor from se where ref ='324.1426.00.1' and lote = 'r2100465200a'
20241213@184925.7495 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.7511 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184925.7524 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c800470675c81b5b6','aut675c841572675c81b441' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241213@184925.7529 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.7547 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184925.7581 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675c800470675c81b5b6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut675c841572675c81b441' ,0,0 ,2,23.00,220000,?,?,?,?,?)
20241213@184925.7862 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.7880 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184925.7911 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.7928 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184925.7939 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241213@184925.7954 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.7971 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184925.8023 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c861858675c81b5c2','aut675c841572675c81b441' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241213@184925.8066 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184925.8159 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184925.8197 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675c861858675c81b5c2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675c841572675c81b441' ,0,0 ,2,23.00,230000,?,?,?)
20241213@184925.8527 486hdp5ab9rviv0brvvcqhjkgl Query : use flama_phc
20241213@184925.8533 486hdp5ab9rviv0brvvcqhjkgl Query : select st.usalote valor from st where st.ref = '324.2907.00.1'
20241213@184925.9236 486hdp5ab9rviv0brvvcqhjkgl 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.2907.00.1'
20241213@184925.9942 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184926.4800 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184926.5870 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184926.6070 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184926.6170 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241213@184926.6320 486hdp5ab9rviv0brvvcqhjkgl Query : select sestamp valor from se where ref ='324.2907.00.1' and lote = 'r2400091200a'
20241213@184926.6820 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184926.7000 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184926.7140 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c871343675c81b610','aut675c841572675c81b441' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241213@184926.7200 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184926.7360 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184926.7680 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675c871343675c81b610',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',56.000 ,'aut675c841572675c81b441' ,0,0 ,2,23.00,250000,?,?,?,?,?)
20241213@184926.1011 486hdp5ab9rviv0brvvcqhjkgl Query : use flama_phc
20241213@184926.1016 486hdp5ab9rviv0brvvcqhjkgl Query : select st.usalote valor from st where st.ref = '324.2907.00.1'
20241213@184926.1039 486hdp5ab9rviv0brvvcqhjkgl 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.2907.00.1'
20241213@184926.1056 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184926.1075 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184926.1105 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184926.1124 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184926.1134 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241213@184926.1163 486hdp5ab9rviv0brvvcqhjkgl Query : select sestamp valor from se where ref ='324.2907.00.1' and lote = 'r2400091200a'
20241213@184926.1178 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184926.1216 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184926.1231 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c880147675c81b61c','aut675c841572675c81b441' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241213@184926.1236 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184926.1253 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184926.1286 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675c880147675c81b61c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut675c841572675c81b441' ,0,0 ,2,23.00,260000,?,?,?,?,?)
20241213@184926.1517 486hdp5ab9rviv0brvvcqhjkgl Query : use flama_phc
20241213@184926.1524 486hdp5ab9rviv0brvvcqhjkgl Query : select st.usalote valor from st where st.ref = '324.1417.00.1'
20241213@184926.1547 486hdp5ab9rviv0brvvcqhjkgl 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.1417.00.1'
20241213@184926.1673 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184926.1692 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184926.1723 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184926.1743 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184926.1754 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241213@184926.1767 486hdp5ab9rviv0brvvcqhjkgl Query : select sestamp valor from se where ref ='324.1417.00.1' and lote = 'r2101088200a'
20241213@184926.1790 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184926.1808 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184926.1822 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c846767675c81b62b','aut675c841572675c81b441' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241213@184926.1828 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184926.1845 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184926.1881 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675c846767675c81b62b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',28.000 ,'aut675c841572675c81b441' ,0,0 ,2,23.00,270000,?,?,?,?,?)
20241213@184926.2120 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184926.2139 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184926.2170 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184926.2188 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184926.2199 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241213@184926.2214 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184926.2232 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184926.2246 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c828090675c81b636','aut675c841572675c81b441' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241213@184926.2250 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184926.2269 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184926.2302 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675c828090675c81b636',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675c841572675c81b441' ,0,0 ,2,23.00,280000,?,?,?)
20241213@184926.2589 486hdp5ab9rviv0brvvcqhjkgl Query : use flama_phc
20241213@184926.2593 486hdp5ab9rviv0brvvcqhjkgl Query : select st.usalote valor from st where st.ref = '324.2223.00.1'
20241213@184926.2621 486hdp5ab9rviv0brvvcqhjkgl 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.2223.00.1'
20241213@184926.2749 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184926.2771 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184926.2801 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184926.2819 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184926.2829 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241213@184926.2843 486hdp5ab9rviv0brvvcqhjkgl Query : select sestamp valor from se where ref ='324.2223.00.1' and lote = 'r2300829100a'
20241213@184926.2869 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184926.2886 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184926.2903 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c817037675c81b646','aut675c841572675c81b441' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241213@184926.2908 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184926.2927 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184926.2977 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675c817037675c81b646',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut675c841572675c81b441' ,0,0 ,2,23.00,300000,?,?,?,?,?)
20241213@184926.3205 486hdp5ab9rviv0brvvcqhjkgl Query : use flama_phc
20241213@184926.3208 486hdp5ab9rviv0brvvcqhjkgl Query : select st.usalote valor from st where st.ref = '324.2223.00.1'
20241213@184926.3236 486hdp5ab9rviv0brvvcqhjkgl 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.2223.00.1'
20241213@184926.3253 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184926.3273 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184926.3302 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184926.3320 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184926.3343 486hdp5ab9rviv0brvvcqhjkgl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241213@184926.3358 486hdp5ab9rviv0brvvcqhjkgl Query : select sestamp valor from se where ref ='324.2223.00.1' and lote = 'r2301280100a'
20241213@184926.3379 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184926.3396 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184926.3410 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c814000675c81b652','aut675c841572675c81b441' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241213@184926.3415 486hdp5ab9rviv0brvvcqhjkgl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184926.3434 486hdp5ab9rviv0brvvcqhjkgl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184926.3469 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675c814000675c81b652',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32.000 ,'aut675c841572675c81b441' ,0,0 ,2,23.00,310000,?,?,?,?,?)
20241213@184926.3743 486hdp5ab9rviv0brvvcqhjkgl Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut675c841572675c81b441','2408561','wait',39,'adm09112754980.682000002')
20241213@184926.3823 486hdp5ab9rviv0brvvcqhjkgl Query : use flama_phc
20241213@184926.3827 486hdp5ab9rviv0brvvcqhjkgl Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241213@184926.3859 486hdp5ab9rviv0brvvcqhjkgl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3960';
20241213@184926.3900 486hdp5ab9rviv0brvvcqhjkgl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3960';
20241213@184926.3954 486hdp5ab9rviv0brvvcqhjkgl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3960';
20241213@184926.3988 486hdp5ab9rviv0brvvcqhjkgl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3960';
20241213@184926.4515 fd891j3t6o3b8djsenvklt0cv3 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241213@184926.4529 fd891j3t6o3b8djsenvklt0cv3 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241213@184926.4600 fd891j3t6o3b8djsenvklt0cv3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3961';
20241213@184926.4660 fd891j3t6o3b8djsenvklt0cv3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3961';
20241213@184926.4727 fd891j3t6o3b8djsenvklt0cv3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3961';
20241213@184926.4827 fd891j3t6o3b8djsenvklt0cv3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3961';
20241213@184926.4919 fd891j3t6o3b8djsenvklt0cv3 Query : use flama_phc
20241213@184926.4923 fd891j3t6o3b8djsenvklt0cv3 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241213@184926.4995 fd891j3t6o3b8djsenvklt0cv3 Query : use flama_phc
20241213@184926.4999 fd891j3t6o3b8djsenvklt0cv3 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4804
20241213@184926.5093 fd891j3t6o3b8djsenvklt0cv3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20241213@184926.5116 fd891j3t6o3b8djsenvklt0cv3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408562 and bi.ref ='304.421.00.04' and bi.lordem =1
20241213@184926.5478 fd891j3t6o3b8djsenvklt0cv3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20241213@184926.5501 fd891j3t6o3b8djsenvklt0cv3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408562 and bi.ref ='304.421.00.04' and bi.lordem =1
20241213@184926.5522 fd891j3t6o3b8djsenvklt0cv3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4960.00.1'
20241213@184926.5646 fd891j3t6o3b8djsenvklt0cv3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408562 and bi.ref ='324.4960.00.1' and bi.lordem =2
20241213@184926.5948 fd891j3t6o3b8djsenvklt0cv3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2232.00.1'
20241213@184926.6104 fd891j3t6o3b8djsenvklt0cv3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408562 and bi.ref ='324.2232.00.1' and bi.lordem =3
20241213@184926.6422 fd891j3t6o3b8djsenvklt0cv3 Query : use flama_phc
20241213@184926.6426 fd891j3t6o3b8djsenvklt0cv3 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241213@184926.6477 fd891j3t6o3b8djsenvklt0cv3 Query : use flama_phc
20241213@184926.6480 fd891j3t6o3b8djsenvklt0cv3 Query : select top 1 1 valor from td where td.ndoc = 39
20241213@184926.6542 fd891j3t6o3b8djsenvklt0cv3 Query : use flama_phc
20241213@184926.6546 fd891j3t6o3b8djsenvklt0cv3 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')
20241213@184926.6579 fd891j3t6o3b8djsenvklt0cv3 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
20241213@184926.6617 fd891j3t6o3b8djsenvklt0cv3 Query : use flama_phc
20241213@184926.6621 fd891j3t6o3b8djsenvklt0cv3 Query : select top 1 ~inactivo valor from cl where no = '101900' and estab = 0 order by inactivo desc
20241213@184926.6718 fd891j3t6o3b8djsenvklt0cv3 Query : use flama_phc
20241213@184926.6722 fd891j3t6o3b8djsenvklt0cv3 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241213@184926.6770 fd891j3t6o3b8djsenvklt0cv3 Query : use flama_phc
20241213@184926.6774 fd891j3t6o3b8djsenvklt0cv3 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241213@184926.6817 fd891j3t6o3b8djsenvklt0cv3 Query : use flama_phc
20241213@184926.6820 fd891j3t6o3b8djsenvklt0cv3 Query : select szadrsstamp valor from szadrs where szadrsdesc='101900 - pd - alfena n/p'
20241213@184926.6869 fd891j3t6o3b8djsenvklt0cv3 Query : use flama_phc
20241213@184926.6873 fd891j3t6o3b8djsenvklt0cv3 Query : select 1 valor from td where ndoc = 39
20241213@184926.6889 fd891j3t6o3b8djsenvklt0cv3 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241213@184926.6907 fd891j3t6o3b8djsenvklt0cv3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184926.6926 fd891j3t6o3b8djsenvklt0cv3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241213@184926.6948 fd891j3t6o3b8djsenvklt0cv3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184926.6965 fd891j3t6o3b8djsenvklt0cv3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241213@184926.6998 fd891j3t6o3b8djsenvklt0cv3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184926.7016 fd891j3t6o3b8djsenvklt0cv3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241213@184926.7034 fd891j3t6o3b8djsenvklt0cv3 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241213@184926.7093 fd891j3t6o3b8djsenvklt0cv3 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241213@184926.7108 fd891j3t6o3b8djsenvklt0cv3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184926.7126 fd891j3t6o3b8djsenvklt0cv3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241213@184926.7144 fd891j3t6o3b8djsenvklt0cv3 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut675c861694675c81b6ab' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241213@184926.7304 fd891j3t6o3b8djsenvklt0cv3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184926.7324 fd891j3t6o3b8djsenvklt0cv3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241213@184926.7363 fd891j3t6o3b8djsenvklt0cv3 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241213@184926.7377 fd891j3t6o3b8djsenvklt0cv3 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241213@184926.7390 fd891j3t6o3b8djsenvklt0cv3 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241213@184926.7404 fd891j3t6o3b8djsenvklt0cv3 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241213@184926.7417 fd891j3t6o3b8djsenvklt0cv3 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241213@184926.7432 fd891j3t6o3b8djsenvklt0cv3 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241213@184926.7447 fd891j3t6o3b8djsenvklt0cv3 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut675c861694675c81b6ab',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241213@184926.7651 fd891j3t6o3b8djsenvklt0cv3 Query : select top 1 fno valor from wsftdata order by fno desc
20241213@184926.7683 fd891j3t6o3b8djsenvklt0cv3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184926.7703 fd891j3t6o3b8djsenvklt0cv3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241213@184926.7729 fd891j3t6o3b8djsenvklt0cv3 Query : select 'normal' from dummy
20241213@184926.7747 fd891j3t6o3b8djsenvklt0cv3 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut675c861694675c81b6ab',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2443,101900,0,'2024-12-13',39,'euro',0,0,2024 ,?,?)
20241213@184926.9126 fd891j3t6o3b8djsenvklt0cv3 Query : use flama_phc
20241213@184926.9130 fd891j3t6o3b8djsenvklt0cv3 Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20241213@184926.9155 fd891j3t6o3b8djsenvklt0cv3 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.421.00.04'
20241213@184926.9171 fd891j3t6o3b8djsenvklt0cv3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184926.9191 fd891j3t6o3b8djsenvklt0cv3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184926.9223 fd891j3t6o3b8djsenvklt0cv3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184926.9241 fd891j3t6o3b8djsenvklt0cv3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184926.9253 fd891j3t6o3b8djsenvklt0cv3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241213@184926.9297 fd891j3t6o3b8djsenvklt0cv3 Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '241670'
20241213@184926.9313 fd891j3t6o3b8djsenvklt0cv3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184926.9330 fd891j3t6o3b8djsenvklt0cv3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184926.9344 fd891j3t6o3b8djsenvklt0cv3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c810785675c81b6e3','aut675c861694675c81b6ab' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241213@184926.9349 fd891j3t6o3b8djsenvklt0cv3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184926.9366 fd891j3t6o3b8djsenvklt0cv3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184926.9400 fd891j3t6o3b8djsenvklt0cv3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675c810785675c81b6e3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut675c861694675c81b6ab' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241213@184926.9641 fd891j3t6o3b8djsenvklt0cv3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184926.9657 fd891j3t6o3b8djsenvklt0cv3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184926.9717 fd891j3t6o3b8djsenvklt0cv3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184926.9808 fd891j3t6o3b8djsenvklt0cv3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184926.9818 fd891j3t6o3b8djsenvklt0cv3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241213@184926.9832 fd891j3t6o3b8djsenvklt0cv3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184926.9851 fd891j3t6o3b8djsenvklt0cv3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184926.9865 fd891j3t6o3b8djsenvklt0cv3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c820379675c81b6f0','aut675c861694675c81b6ab' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241213@184926.9870 fd891j3t6o3b8djsenvklt0cv3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184926.9887 fd891j3t6o3b8djsenvklt0cv3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184926.9919 fd891j3t6o3b8djsenvklt0cv3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675c820379675c81b6f0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675c861694675c81b6ab' ,0,0 ,2,23.00,20000,?,?,?)
20241213@184927.1730 fd891j3t6o3b8djsenvklt0cv3 Query : use flama_phc
20241213@184927.1770 fd891j3t6o3b8djsenvklt0cv3 Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20241213@184927.2050 fd891j3t6o3b8djsenvklt0cv3 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.421.00.04'
20241213@184927.2210 fd891j3t6o3b8djsenvklt0cv3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184927.2710 fd891j3t6o3b8djsenvklt0cv3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184927.3020 fd891j3t6o3b8djsenvklt0cv3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184927.3190 fd891j3t6o3b8djsenvklt0cv3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184927.3310 fd891j3t6o3b8djsenvklt0cv3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241213@184927.3450 fd891j3t6o3b8djsenvklt0cv3 Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '241670'
20241213@184927.3600 fd891j3t6o3b8djsenvklt0cv3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184927.3780 fd891j3t6o3b8djsenvklt0cv3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184927.3920 fd891j3t6o3b8djsenvklt0cv3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c882636675c81b708','aut675c861694675c81b6ab' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241213@184927.3960 fd891j3t6o3b8djsenvklt0cv3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184927.4140 fd891j3t6o3b8djsenvklt0cv3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184927.4550 fd891j3t6o3b8djsenvklt0cv3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675c882636675c81b708',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut675c861694675c81b6ab' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241213@184927.6890 fd891j3t6o3b8djsenvklt0cv3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184927.7090 fd891j3t6o3b8djsenvklt0cv3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184927.7390 fd891j3t6o3b8djsenvklt0cv3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184927.7600 fd891j3t6o3b8djsenvklt0cv3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184927.7700 fd891j3t6o3b8djsenvklt0cv3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241213@184927.7880 fd891j3t6o3b8djsenvklt0cv3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184927.8100 fd891j3t6o3b8djsenvklt0cv3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184927.8270 fd891j3t6o3b8djsenvklt0cv3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c832069675c81b713','aut675c861694675c81b6ab' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241213@184927.8340 fd891j3t6o3b8djsenvklt0cv3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184927.8530 fd891j3t6o3b8djsenvklt0cv3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184927.8930 fd891j3t6o3b8djsenvklt0cv3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675c832069675c81b713',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675c861694675c81b6ab' ,0,0 ,2,23.00,50000,?,?,?)
20241213@184927.1199 fd891j3t6o3b8djsenvklt0cv3 Query : use flama_phc
20241213@184927.1202 fd891j3t6o3b8djsenvklt0cv3 Query : select st.usalote valor from st where st.ref = '324.4960.00.1'
20241213@184927.1227 fd891j3t6o3b8djsenvklt0cv3 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.4960.00.1'
20241213@184927.1352 fd891j3t6o3b8djsenvklt0cv3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184927.1372 fd891j3t6o3b8djsenvklt0cv3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184927.1403 fd891j3t6o3b8djsenvklt0cv3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184927.1421 fd891j3t6o3b8djsenvklt0cv3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184927.1462 fd891j3t6o3b8djsenvklt0cv3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241213@184927.1476 fd891j3t6o3b8djsenvklt0cv3 Query : select sestamp valor from se where ref ='324.4960.00.1' and lote = 'r2100754100a'
20241213@184927.1506 fd891j3t6o3b8djsenvklt0cv3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184927.1527 fd891j3t6o3b8djsenvklt0cv3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184927.1541 fd891j3t6o3b8djsenvklt0cv3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c892377675c81b724','aut675c861694675c81b6ab' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241213@184927.1546 fd891j3t6o3b8djsenvklt0cv3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184927.1565 fd891j3t6o3b8djsenvklt0cv3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184927.1611 fd891j3t6o3b8djsenvklt0cv3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675c892377675c81b724',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut675c861694675c81b6ab' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241213@184927.1871 fd891j3t6o3b8djsenvklt0cv3 Query : use flama_phc
20241213@184927.1876 fd891j3t6o3b8djsenvklt0cv3 Query : select st.usalote valor from st where st.ref = '324.2232.00.1'
20241213@184927.1905 fd891j3t6o3b8djsenvklt0cv3 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.2232.00.1'
20241213@184927.2073 fd891j3t6o3b8djsenvklt0cv3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184927.2093 fd891j3t6o3b8djsenvklt0cv3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184927.2128 fd891j3t6o3b8djsenvklt0cv3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184927.2147 fd891j3t6o3b8djsenvklt0cv3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184927.2157 fd891j3t6o3b8djsenvklt0cv3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241213@184927.2172 fd891j3t6o3b8djsenvklt0cv3 Query : select sestamp valor from se where ref ='324.2232.00.1' and lote = 'r2400241100a'
20241213@184927.2192 fd891j3t6o3b8djsenvklt0cv3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184927.2210 fd891j3t6o3b8djsenvklt0cv3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184927.2224 fd891j3t6o3b8djsenvklt0cv3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c805802675c81b735','aut675c861694675c81b6ab' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241213@184927.2229 fd891j3t6o3b8djsenvklt0cv3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184927.2249 fd891j3t6o3b8djsenvklt0cv3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184927.2317 fd891j3t6o3b8djsenvklt0cv3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675c805802675c81b735',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut675c861694675c81b6ab' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20241213@184927.2547 fd891j3t6o3b8djsenvklt0cv3 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut675c861694675c81b6ab','2408562','wait',39,'adm09112754980.682000002')
20241213@184927.2628 fd891j3t6o3b8djsenvklt0cv3 Query : use flama_phc
20241213@184927.2632 fd891j3t6o3b8djsenvklt0cv3 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241213@184927.2671 fd891j3t6o3b8djsenvklt0cv3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3961';
20241213@184927.2713 fd891j3t6o3b8djsenvklt0cv3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3961';
20241213@184927.2786 fd891j3t6o3b8djsenvklt0cv3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3961';
20241213@184927.2833 fd891j3t6o3b8djsenvklt0cv3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3961';
20241213@184927.3347 k79hlhq2rtq30ov5come65fgfb Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241213@184927.3359 k79hlhq2rtq30ov5come65fgfb Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241213@184927.3432 k79hlhq2rtq30ov5come65fgfb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3962';
20241213@184927.3506 k79hlhq2rtq30ov5come65fgfb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3962';
20241213@184927.3578 k79hlhq2rtq30ov5come65fgfb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3962';
20241213@184927.3616 k79hlhq2rtq30ov5come65fgfb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3962';
20241213@184927.3711 k79hlhq2rtq30ov5come65fgfb Query : use flama_phc
20241213@184927.3715 k79hlhq2rtq30ov5come65fgfb Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241213@184927.3788 k79hlhq2rtq30ov5come65fgfb Query : use flama_phc
20241213@184927.3791 k79hlhq2rtq30ov5come65fgfb Query : select no, estab,szadrsdesc from szadrs where u_coddest=6917
20241213@184927.3887 k79hlhq2rtq30ov5come65fgfb Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.600.94.01'
20241213@184927.4015 k79hlhq2rtq30ov5come65fgfb Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408563 and bi.ref ='324.600.94.01' and bi.lordem =1
20241213@184927.4327 k79hlhq2rtq30ov5come65fgfb Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2000.94.1'
20241213@184927.4445 k79hlhq2rtq30ov5come65fgfb Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408563 and bi.ref ='324.2000.94.1' and bi.lordem =2
20241213@184927.4738 k79hlhq2rtq30ov5come65fgfb Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.900.94.01'
20241213@184927.4888 k79hlhq2rtq30ov5come65fgfb Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408563 and bi.ref ='324.900.94.01' and bi.lordem =3
20241213@184927.5187 k79hlhq2rtq30ov5come65fgfb Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.900.94.01'
20241213@184927.5213 k79hlhq2rtq30ov5come65fgfb Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408563 and bi.ref ='324.900.94.01' and bi.lordem =3
20241213@184927.5241 k79hlhq2rtq30ov5come65fgfb Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.700.94.01'
20241213@184927.5358 k79hlhq2rtq30ov5come65fgfb Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408563 and bi.ref ='324.700.94.01' and bi.lordem =4
20241213@184927.5657 k79hlhq2rtq30ov5come65fgfb Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2200.94.1'
20241213@184927.5787 k79hlhq2rtq30ov5come65fgfb Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408563 and bi.ref ='324.2200.94.1' and bi.lordem =5
20241213@184927.6199 k79hlhq2rtq30ov5come65fgfb Query : use flama_phc
20241213@184927.6204 k79hlhq2rtq30ov5come65fgfb Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241213@184927.6242 k79hlhq2rtq30ov5come65fgfb Query : use flama_phc
20241213@184927.6246 k79hlhq2rtq30ov5come65fgfb Query : select top 1 1 valor from td where td.ndoc = 39
20241213@184927.6285 k79hlhq2rtq30ov5come65fgfb Query : use flama_phc
20241213@184927.6289 k79hlhq2rtq30ov5come65fgfb 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')
20241213@184927.6323 k79hlhq2rtq30ov5come65fgfb 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
20241213@184927.6362 k79hlhq2rtq30ov5come65fgfb Query : use flama_phc
20241213@184927.6365 k79hlhq2rtq30ov5come65fgfb Query : select top 1 ~inactivo valor from cl where no = '199800' and estab = 0 order by inactivo desc
20241213@184927.6472 k79hlhq2rtq30ov5come65fgfb Query : use flama_phc
20241213@184927.6475 k79hlhq2rtq30ov5come65fgfb Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241213@184927.6509 k79hlhq2rtq30ov5come65fgfb Query : use flama_phc
20241213@184927.6512 k79hlhq2rtq30ov5come65fgfb Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241213@184927.6593 k79hlhq2rtq30ov5come65fgfb Query : use flama_phc
20241213@184927.6597 k79hlhq2rtq30ov5come65fgfb Query : select szadrsstamp valor from szadrs where szadrsdesc='740 ent vnr bligeiro'
20241213@184927.6656 k79hlhq2rtq30ov5come65fgfb Query : use flama_phc
20241213@184927.6659 k79hlhq2rtq30ov5come65fgfb Query : select 1 valor from td where ndoc = 39
20241213@184927.6674 k79hlhq2rtq30ov5come65fgfb Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241213@184927.6697 k79hlhq2rtq30ov5come65fgfb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184927.6720 k79hlhq2rtq30ov5come65fgfb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241213@184927.6745 k79hlhq2rtq30ov5come65fgfb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184927.6761 k79hlhq2rtq30ov5come65fgfb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241213@184927.6794 k79hlhq2rtq30ov5come65fgfb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184927.6810 k79hlhq2rtq30ov5come65fgfb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241213@184927.6824 k79hlhq2rtq30ov5come65fgfb Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241213@184927.6883 k79hlhq2rtq30ov5come65fgfb Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241213@184927.6898 k79hlhq2rtq30ov5come65fgfb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184927.6915 k79hlhq2rtq30ov5come65fgfb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241213@184927.6934 k79hlhq2rtq30ov5come65fgfb Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut675c861757675c81b7a6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241213@184927.7090 k79hlhq2rtq30ov5come65fgfb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184927.7112 k79hlhq2rtq30ov5come65fgfb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241213@184927.7157 k79hlhq2rtq30ov5come65fgfb Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241213@184927.7173 k79hlhq2rtq30ov5come65fgfb Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241213@184927.7187 k79hlhq2rtq30ov5come65fgfb Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241213@184927.7205 k79hlhq2rtq30ov5come65fgfb Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241213@184927.7221 k79hlhq2rtq30ov5come65fgfb Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241213@184927.7235 k79hlhq2rtq30ov5come65fgfb Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241213@184927.7248 k79hlhq2rtq30ov5come65fgfb Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut675c861757675c81b7a6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241213@184927.7472 k79hlhq2rtq30ov5come65fgfb Query : select top 1 fno valor from wsftdata order by fno desc
20241213@184927.7502 k79hlhq2rtq30ov5come65fgfb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184927.7523 k79hlhq2rtq30ov5come65fgfb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241213@184927.7554 k79hlhq2rtq30ov5come65fgfb Query : select 'normal' from dummy
20241213@184927.7572 k79hlhq2rtq30ov5come65fgfb Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut675c861757675c81b7a6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2444,199800,0,'2024-12-13',39,'euro',0,0,2024 ,?,?)
20241213@184927.7831 k79hlhq2rtq30ov5come65fgfb Query : use flama_phc
20241213@184927.7836 k79hlhq2rtq30ov5come65fgfb Query : select st.usalote valor from st where st.ref = '324.600.94.01'
20241213@184927.7865 k79hlhq2rtq30ov5come65fgfb 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.600.94.01'
20241213@184927.7987 k79hlhq2rtq30ov5come65fgfb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184927.8004 k79hlhq2rtq30ov5come65fgfb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184927.8036 k79hlhq2rtq30ov5come65fgfb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184927.8054 k79hlhq2rtq30ov5come65fgfb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184927.8064 k79hlhq2rtq30ov5come65fgfb Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241213@184927.8081 k79hlhq2rtq30ov5come65fgfb Query : select sestamp valor from se where ref ='324.600.94.01' and lote = 'r2400047200a'
20241213@184927.8105 k79hlhq2rtq30ov5come65fgfb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184927.8123 k79hlhq2rtq30ov5come65fgfb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184927.8138 k79hlhq2rtq30ov5come65fgfb Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c844852675c81b7c5','aut675c861757675c81b7a6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241213@184927.8144 k79hlhq2rtq30ov5come65fgfb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184927.8162 k79hlhq2rtq30ov5come65fgfb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184927.8195 k79hlhq2rtq30ov5come65fgfb Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675c844852675c81b7c5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',18.000 ,'aut675c861757675c81b7a6' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241213@184927.8453 k79hlhq2rtq30ov5come65fgfb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184927.8472 k79hlhq2rtq30ov5come65fgfb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184927.8503 k79hlhq2rtq30ov5come65fgfb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184927.8871 k79hlhq2rtq30ov5come65fgfb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184927.9137 k79hlhq2rtq30ov5come65fgfb Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241213@184927.9830 k79hlhq2rtq30ov5come65fgfb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184927.9854 k79hlhq2rtq30ov5come65fgfb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241213@184927.9868 k79hlhq2rtq30ov5come65fgfb Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675c839186675c81b7ef','aut675c861757675c81b7a6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241213@184927.9873 k79hlhq2rtq30ov5come65fgfb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241213@184927.9890 k79hlhq2rtq30ov5come65fgfb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241213@184927.9929 k79hlhq2rtq30ov5come65fgfb Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675c839186675c81b7ef',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675c861757675c81b7a6' ,0,0 ,2,23.00,20000,?,?,?)
