20240709@153531.7171 p0l7bcq3090r2q0tgubepdjuaj INICIO DE FICHEIRO DE LOG :: /var/www/webservices/logs/website.sql.log
20240709@153531.7168 p0l7bcq3090r2q0tgubepdjuaj Query : use flama_phc
20240709@153531.7177 p0l7bcq3090r2q0tgubepdjuaj Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240709@153531.7189 p0l7bcq3090r2q0tgubepdjuaj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='825';
20240709@153531.7204 p0l7bcq3090r2q0tgubepdjuaj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='825';
20240709@153610.2135 ujfofc707jkjj2v9v1g830n09h Query : use flama_phc
20240709@153610.2140 ujfofc707jkjj2v9v1g830n09h Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240709@153610.2377 ujfofc707jkjj2v9v1g830n09h Query : use flama_phc
20240709@153610.2419 ujfofc707jkjj2v9v1g830n09h Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240709@155109.8421 9cr9mq6t0ea5lh1e9c4cifg85j Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240709@155109.8633 9cr9mq6t0ea5lh1e9c4cifg85j Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240709@155109.8881 9cr9mq6t0ea5lh1e9c4cifg85j Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='826';
20240709@155109.8983 9cr9mq6t0ea5lh1e9c4cifg85j Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='826';
20240709@155109.9003 9cr9mq6t0ea5lh1e9c4cifg85j Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='826';
20240709@155109.9016 9cr9mq6t0ea5lh1e9c4cifg85j Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='826';
20240709@155109.9030 9cr9mq6t0ea5lh1e9c4cifg85j Query : use flama_phc
20240709@155109.9033 9cr9mq6t0ea5lh1e9c4cifg85j Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240709@155109.9083 9cr9mq6t0ea5lh1e9c4cifg85j Query : use flama_phc
20240709@155109.9087 9cr9mq6t0ea5lh1e9c4cifg85j Query : select no, estab,szadrsdesc from szadrs where u_coddest=4743
20240709@155109.9184 9cr9mq6t0ea5lh1e9c4cifg85j Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4980.00.1'
20240709@155109.9413 9cr9mq6t0ea5lh1e9c4cifg85j Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4980.00.1'
20240709@155109.9423 9cr9mq6t0ea5lh1e9c4cifg85j Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4980.00.1'
20240709@155109.9434 9cr9mq6t0ea5lh1e9c4cifg85j Query : use flama_phc
20240709@155109.9437 9cr9mq6t0ea5lh1e9c4cifg85j Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240709@155109.9650 9cr9mq6t0ea5lh1e9c4cifg85j Query : use flama_phc
20240709@155109.9655 9cr9mq6t0ea5lh1e9c4cifg85j Query : select top 1 1 valor from td where td.ndoc = 39
20240709@155109.9776 9cr9mq6t0ea5lh1e9c4cifg85j Query : use flama_phc
20240709@155109.9779 9cr9mq6t0ea5lh1e9c4cifg85j 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')
20240709@161911.2649 5n7o89rma2dt4f95bvd5r4s5ds Query : use flama_phc
20240709@161911.2654 5n7o89rma2dt4f95bvd5r4s5ds Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240709@161911.2680 5n7o89rma2dt4f95bvd5r4s5ds Query : use flama_phc
20240709@161911.2683 5n7o89rma2dt4f95bvd5r4s5ds Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240709@163611.3053 b026rfj25jbmajqn6q1en8bt04 Query : use flama_phc
20240709@163611.3058 b026rfj25jbmajqn6q1en8bt04 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240709@163611.3073 b026rfj25jbmajqn6q1en8bt04 Query : use flama_phc
20240709@163611.3076 b026rfj25jbmajqn6q1en8bt04 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240709@171912.3155 7abrvhg5hvi49knfm57ksbsnse Query : use flama_phc
20240709@171912.3160 7abrvhg5hvi49knfm57ksbsnse Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240709@171912.3178 7abrvhg5hvi49knfm57ksbsnse Query : use flama_phc
20240709@171912.3180 7abrvhg5hvi49knfm57ksbsnse Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240709@173612.7220 njvbq2b9p8dqrl2i7jsor2ea73 Query : use flama_phc
20240709@173612.7270 njvbq2b9p8dqrl2i7jsor2ea73 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240709@173612.7450 njvbq2b9p8dqrl2i7jsor2ea73 Query : use flama_phc
20240709@173612.7480 njvbq2b9p8dqrl2i7jsor2ea73 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240709@181909.1055 2v65502sfgqv7eulm8hvqm6ha6 Query : use flama_phc
20240709@181909.1061 2v65502sfgqv7eulm8hvqm6ha6 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240709@181909.1078 2v65502sfgqv7eulm8hvqm6ha6 Query : use flama_phc
20240709@181909.1080 2v65502sfgqv7eulm8hvqm6ha6 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240709@183609.4620 i3dgtgf44holtotbhf483g0858 Query : use flama_phc
20240709@183609.4860 i3dgtgf44holtotbhf483g0858 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240709@183609.6540 i3dgtgf44holtotbhf483g0858 Query : use flama_phc
20240709@183609.6580 i3dgtgf44holtotbhf483g0858 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240709@191911.1878 psqdagamon5k33i0pan62vg1jj Query : use flama_phc
20240709@191911.1883 psqdagamon5k33i0pan62vg1jj Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240709@191911.1900 psqdagamon5k33i0pan62vg1jj Query : use flama_phc
20240709@191911.1903 psqdagamon5k33i0pan62vg1jj Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240709@193611.1110 gub3duk34qvhfjapr30qgs33hl Query : use flama_phc
20240709@193611.9460 gub3duk34qvhfjapr30qgs33hl Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240709@193611.1019 gub3duk34qvhfjapr30qgs33hl Query : use flama_phc
20240709@193611.1022 gub3duk34qvhfjapr30qgs33hl Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240709@201927.1150 f4v07as01l1l767ef9ndq0f2ug Query : use flama_phc
20240709@201927.1200 f4v07as01l1l767ef9ndq0f2ug Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240709@201927.1370 f4v07as01l1l767ef9ndq0f2ug Query : use flama_phc
20240709@201927.1400 f4v07as01l1l767ef9ndq0f2ug Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240709@201927.1060 e01ag1qebsii9e94vbboqahu3d Query : use flama_phc
20240709@201927.1064 e01ag1qebsii9e94vbboqahu3d Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240709@201927.1080 e01ag1qebsii9e94vbboqahu3d Query : use flama_phc
20240709@201927.1083 e01ag1qebsii9e94vbboqahu3d Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240709@203610.4711 0llo1fpd0med8kbs00ts1gbtc6 Query : use flama_phc
20240709@203610.4717 0llo1fpd0med8kbs00ts1gbtc6 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240709@203610.4737 0llo1fpd0med8kbs00ts1gbtc6 Query : use flama_phc
20240709@203610.4740 0llo1fpd0med8kbs00ts1gbtc6 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240709@211908.5912 ikj1lhs3irs85caf5f3mh5et2m Query : use flama_phc
20240709@211908.5918 ikj1lhs3irs85caf5f3mh5et2m Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240709@211908.5937 ikj1lhs3irs85caf5f3mh5et2m Query : use flama_phc
20240709@211908.5940 ikj1lhs3irs85caf5f3mh5et2m Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240709@213608.4507 3mbl42jvsbime7bcq7b1c514jo Query : use flama_phc
20240709@213608.4550 3mbl42jvsbime7bcq7b1c514jo Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240709@213608.4713 3mbl42jvsbime7bcq7b1c514jo Query : use flama_phc
20240709@213608.4742 3mbl42jvsbime7bcq7b1c514jo Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240709@221911.8272 tsf6omvr6g1g8ikhrkechd8vo0 Query : use flama_phc
20240709@221911.8278 tsf6omvr6g1g8ikhrkechd8vo0 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240709@221911.8294 tsf6omvr6g1g8ikhrkechd8vo0 Query : use flama_phc
20240709@221911.8297 tsf6omvr6g1g8ikhrkechd8vo0 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240709@223611.4680 rm06c1cb66ffc2l2l2o066k3p5 Query : use flama_phc
20240709@223611.4684 rm06c1cb66ffc2l2l2o066k3p5 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240709@223611.4702 rm06c1cb66ffc2l2l2o066k3p5 Query : use flama_phc
20240709@223611.4705 rm06c1cb66ffc2l2l2o066k3p5 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240709@231909.6459 rqdooosrccsni4jth5lghefcno Query : use flama_phc
20240709@231909.6465 rqdooosrccsni4jth5lghefcno Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240709@231909.6481 rqdooosrccsni4jth5lghefcno Query : use flama_phc
20240709@231909.6484 rqdooosrccsni4jth5lghefcno Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240709@233609.6888 29a601urvcr9tefpepcafcm6ni Query : use flama_phc
20240709@233609.6917 29a601urvcr9tefpepcafcm6ni Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240709@233609.7002 29a601urvcr9tefpepcafcm6ni Query : use flama_phc
20240709@233609.7006 29a601urvcr9tefpepcafcm6ni Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240710@071922.2747 n9ul3a62ucei30ha8r8ju49qmv Query : use flama_phc
20240710@071922.2753 n9ul3a62ucei30ha8r8ju49qmv Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240710@071922.2833 n9ul3a62ucei30ha8r8ju49qmv Query : use flama_phc
20240710@071922.2837 n9ul3a62ucei30ha8r8ju49qmv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240710@073040.5312 e6c2149us1k6l980a0iilgo4f7 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240710@073040.5344 e6c2149us1k6l980a0iilgo4f7 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240710@073040.5452 e6c2149us1k6l980a0iilgo4f7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='827';
20240710@073040.5493 e6c2149us1k6l980a0iilgo4f7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='827';
20240710@073040.5519 e6c2149us1k6l980a0iilgo4f7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='827';
20240710@073040.5531 e6c2149us1k6l980a0iilgo4f7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='827';
20240710@073040.5543 e6c2149us1k6l980a0iilgo4f7 Query : use flama_phc
20240710@073040.5546 e6c2149us1k6l980a0iilgo4f7 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240710@073040.5695 e6c2149us1k6l980a0iilgo4f7 Query : use flama_phc
20240710@073040.5775 e6c2149us1k6l980a0iilgo4f7 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4774
20240710@073040.6169 e6c2149us1k6l980a0iilgo4f7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1461.00.1'
20240710@073040.6584 e6c2149us1k6l980a0iilgo4f7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404562 and bi.ref ='324.1461.00.1' and bi.lordem =1
20240710@073040.7485 e6c2149us1k6l980a0iilgo4f7 Query : use flama_phc
20240710@073040.7490 e6c2149us1k6l980a0iilgo4f7 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240710@073040.8019 e6c2149us1k6l980a0iilgo4f7 Query : use flama_phc
20240710@073040.8023 e6c2149us1k6l980a0iilgo4f7 Query : select top 1 1 valor from td where td.ndoc = 39
20240710@073040.8098 e6c2149us1k6l980a0iilgo4f7 Query : use flama_phc
20240710@073040.8104 e6c2149us1k6l980a0iilgo4f7 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')
20240710@073040.8640 gshr0emk4njc99n8g56tn602it Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240710@073040.8653 gshr0emk4njc99n8g56tn602it Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240710@073040.8670 gshr0emk4njc99n8g56tn602it Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='828';
20240710@073040.8709 gshr0emk4njc99n8g56tn602it Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='828';
20240710@073040.8723 gshr0emk4njc99n8g56tn602it Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='828';
20240710@073040.8737 gshr0emk4njc99n8g56tn602it Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='828';
20240710@073040.8750 gshr0emk4njc99n8g56tn602it Query : use flama_phc
20240710@073040.8753 gshr0emk4njc99n8g56tn602it Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240710@073040.8768 gshr0emk4njc99n8g56tn602it Query : use flama_phc
20240710@073040.8771 gshr0emk4njc99n8g56tn602it Query : select no, estab,szadrsdesc from szadrs where u_coddest=6917
20240710@073040.8940 gshr0emk4njc99n8g56tn602it 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'
20240710@073040.9125 gshr0emk4njc99n8g56tn602it Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404573 and bi.ref ='324.600.94.01' and bi.lordem =1
20240710@073040.9749 gshr0emk4njc99n8g56tn602it 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'
20240710@073040.9852 gshr0emk4njc99n8g56tn602it Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404573 and bi.ref ='324.600.94.01' and bi.lordem =1
20240710@073040.9862 gshr0emk4njc99n8g56tn602it 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'
20240710@073041.2850 gshr0emk4njc99n8g56tn602it Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404573 and bi.ref ='324.2000.94.1' and bi.lordem =2
20240710@073041.1023 gshr0emk4njc99n8g56tn602it 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'
20240710@073041.1386 gshr0emk4njc99n8g56tn602it Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404573 and bi.ref ='324.900.94.01' and bi.lordem =3
20240710@073041.1954 gshr0emk4njc99n8g56tn602it 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'
20240710@073041.1965 gshr0emk4njc99n8g56tn602it Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404573 and bi.ref ='324.900.94.01' and bi.lordem =3
20240710@073041.1972 gshr0emk4njc99n8g56tn602it 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'
20240710@073041.2129 gshr0emk4njc99n8g56tn602it Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404573 and bi.ref ='324.700.94.01' and bi.lordem =4
20240710@073041.2443 gshr0emk4njc99n8g56tn602it 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'
20240710@073041.2586 gshr0emk4njc99n8g56tn602it Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404573 and bi.ref ='324.2200.94.1' and bi.lordem =5
20240710@073041.2901 gshr0emk4njc99n8g56tn602it Query : use flama_phc
20240710@073041.2904 gshr0emk4njc99n8g56tn602it Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240710@073041.2918 gshr0emk4njc99n8g56tn602it Query : use flama_phc
20240710@073041.2921 gshr0emk4njc99n8g56tn602it Query : select top 1 1 valor from td where td.ndoc = 39
20240710@073041.2931 gshr0emk4njc99n8g56tn602it Query : use flama_phc
20240710@073041.2934 gshr0emk4njc99n8g56tn602it 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')
20240710@073041.3412 234a0pjl4c17h07pjqmnhjburs Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240710@073041.3425 234a0pjl4c17h07pjqmnhjburs Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240710@073041.3443 234a0pjl4c17h07pjqmnhjburs Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='829';
20240710@073041.3484 234a0pjl4c17h07pjqmnhjburs Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='829';
20240710@073041.3499 234a0pjl4c17h07pjqmnhjburs Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='829';
20240710@073041.3511 234a0pjl4c17h07pjqmnhjburs Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='829';
20240710@073041.3524 234a0pjl4c17h07pjqmnhjburs Query : use flama_phc
20240710@073041.3527 234a0pjl4c17h07pjqmnhjburs Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240710@073041.3541 234a0pjl4c17h07pjqmnhjburs Query : use flama_phc
20240710@073041.3544 234a0pjl4c17h07pjqmnhjburs Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240710@073041.3625 234a0pjl4c17h07pjqmnhjburs Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5347.00.1'
20240710@073041.3781 234a0pjl4c17h07pjqmnhjburs Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404574 and bi.ref ='324.5347.00.1' and bi.lordem =1
20240710@073041.4111 234a0pjl4c17h07pjqmnhjburs Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5540.00.1'
20240710@073041.4317 234a0pjl4c17h07pjqmnhjburs Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404574 and bi.ref ='324.5540.00.1' and bi.lordem =2
20240710@073041.4978 234a0pjl4c17h07pjqmnhjburs Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5540.00.1'
20240710@073041.5389 234a0pjl4c17h07pjqmnhjburs Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404574 and bi.ref ='324.5540.00.1' and bi.lordem =2
20240710@073041.5567 234a0pjl4c17h07pjqmnhjburs Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5342.00.1'
20240710@073041.6204 234a0pjl4c17h07pjqmnhjburs Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404574 and bi.ref ='324.5342.00.1' and bi.lordem =3
20240710@073041.7021 234a0pjl4c17h07pjqmnhjburs Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5501.00.1'
20240710@073041.7896 234a0pjl4c17h07pjqmnhjburs Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404574 and bi.ref ='324.5501.00.1' and bi.lordem =4
20240710@073041.8654 234a0pjl4c17h07pjqmnhjburs Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5396.00.1'
20240710@073041.9030 234a0pjl4c17h07pjqmnhjburs Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404574 and bi.ref ='324.5396.00.1' and bi.lordem =5
20240710@073041.9409 234a0pjl4c17h07pjqmnhjburs Query : use flama_phc
20240710@073041.9412 234a0pjl4c17h07pjqmnhjburs Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240710@073041.9585 234a0pjl4c17h07pjqmnhjburs Query : use flama_phc
20240710@073041.9588 234a0pjl4c17h07pjqmnhjburs Query : select top 1 1 valor from td where td.ndoc = 39
20240710@073041.9798 234a0pjl4c17h07pjqmnhjburs Query : use flama_phc
20240710@073041.9839 234a0pjl4c17h07pjqmnhjburs 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')
20240710@073042.3860 qlfita9k3uq5ggm9v36110qggs Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240710@073042.4000 qlfita9k3uq5ggm9v36110qggs Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240710@073042.4180 qlfita9k3uq5ggm9v36110qggs Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='830';
20240710@073042.4540 qlfita9k3uq5ggm9v36110qggs Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='830';
20240710@073042.4700 qlfita9k3uq5ggm9v36110qggs Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='830';
20240710@073042.4810 qlfita9k3uq5ggm9v36110qggs Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='830';
20240710@073042.4950 qlfita9k3uq5ggm9v36110qggs Query : use flama_phc
20240710@073042.4980 qlfita9k3uq5ggm9v36110qggs Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240710@073042.5120 qlfita9k3uq5ggm9v36110qggs Query : use flama_phc
20240710@073042.5150 qlfita9k3uq5ggm9v36110qggs Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240710@073042.5430 qlfita9k3uq5ggm9v36110qggs Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '326.595.00.01'
20240710@073042.7000 qlfita9k3uq5ggm9v36110qggs Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404575 and bi.ref ='326.595.00.01' and bi.lordem =1
20240710@073042.1023 qlfita9k3uq5ggm9v36110qggs Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '326.595.00.01'
20240710@073042.1033 qlfita9k3uq5ggm9v36110qggs Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404575 and bi.ref ='326.595.00.01' and bi.lordem =1
20240710@073042.1041 qlfita9k3uq5ggm9v36110qggs Query : use flama_phc
20240710@073042.1043 qlfita9k3uq5ggm9v36110qggs Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240710@073042.1056 qlfita9k3uq5ggm9v36110qggs Query : use flama_phc
20240710@073042.1059 qlfita9k3uq5ggm9v36110qggs Query : select top 1 1 valor from td where td.ndoc = 39
20240710@073042.1069 qlfita9k3uq5ggm9v36110qggs Query : use flama_phc
20240710@073042.1072 qlfita9k3uq5ggm9v36110qggs 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')
20240710@073042.1567 54fc09fnmq698fdcepqprhtet3 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240710@073042.1579 54fc09fnmq698fdcepqprhtet3 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240710@073042.1597 54fc09fnmq698fdcepqprhtet3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='831';
20240710@073042.1635 54fc09fnmq698fdcepqprhtet3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='831';
20240710@073042.1650 54fc09fnmq698fdcepqprhtet3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='831';
20240710@073042.1663 54fc09fnmq698fdcepqprhtet3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='831';
20240710@073042.1677 54fc09fnmq698fdcepqprhtet3 Query : use flama_phc
20240710@073042.1680 54fc09fnmq698fdcepqprhtet3 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240710@073042.1698 54fc09fnmq698fdcepqprhtet3 Query : use flama_phc
20240710@073042.1705 54fc09fnmq698fdcepqprhtet3 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4804
20240710@073042.1930 54fc09fnmq698fdcepqprhtet3 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'
20240710@073042.2096 54fc09fnmq698fdcepqprhtet3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404576 and bi.ref ='304.422.00.07' and bi.lordem =1
20240710@073042.2441 54fc09fnmq698fdcepqprhtet3 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'
20240710@073042.2612 54fc09fnmq698fdcepqprhtet3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404576 and bi.ref ='304.421.00.04' and bi.lordem =2
20240710@073042.2959 54fc09fnmq698fdcepqprhtet3 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'
20240710@073042.3128 54fc09fnmq698fdcepqprhtet3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404576 and bi.ref ='324.4960.00.1' and bi.lordem =3
20240710@073042.3483 54fc09fnmq698fdcepqprhtet3 Query : use flama_phc
20240710@073042.3487 54fc09fnmq698fdcepqprhtet3 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240710@073042.3499 54fc09fnmq698fdcepqprhtet3 Query : use flama_phc
20240710@073042.3502 54fc09fnmq698fdcepqprhtet3 Query : select top 1 1 valor from td where td.ndoc = 39
20240710@073042.3512 54fc09fnmq698fdcepqprhtet3 Query : use flama_phc
20240710@073042.3528 54fc09fnmq698fdcepqprhtet3 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')
20240710@073042.3960 17ros3rt4clpohk4betaqtmja9 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240710@073042.3975 17ros3rt4clpohk4betaqtmja9 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240710@073042.3992 17ros3rt4clpohk4betaqtmja9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='832';
20240710@073042.4029 17ros3rt4clpohk4betaqtmja9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='832';
20240710@073042.4044 17ros3rt4clpohk4betaqtmja9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='832';
20240710@073042.4055 17ros3rt4clpohk4betaqtmja9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='832';
20240710@073042.4071 17ros3rt4clpohk4betaqtmja9 Query : use flama_phc
20240710@073042.4074 17ros3rt4clpohk4betaqtmja9 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240710@073042.4090 17ros3rt4clpohk4betaqtmja9 Query : use flama_phc
20240710@073042.4093 17ros3rt4clpohk4betaqtmja9 Query : select no, estab,szadrsdesc from szadrs where u_coddest=594
20240710@073042.4173 17ros3rt4clpohk4betaqtmja9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4006.00.2'
20240710@073042.4332 17ros3rt4clpohk4betaqtmja9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404577 and bi.ref ='304.4006.00.2' and bi.lordem =1
20240710@073042.4666 17ros3rt4clpohk4betaqtmja9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20240710@073042.4847 17ros3rt4clpohk4betaqtmja9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404577 and bi.ref ='324.4970.00.1' and bi.lordem =2
20240710@073042.5182 17ros3rt4clpohk4betaqtmja9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20240710@073042.5344 17ros3rt4clpohk4betaqtmja9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404577 and bi.ref ='324.645.00.01' and bi.lordem =4
20240710@073042.5679 17ros3rt4clpohk4betaqtmja9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20240710@073042.5690 17ros3rt4clpohk4betaqtmja9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404577 and bi.ref ='324.645.00.01' and bi.lordem =4
20240710@073042.5698 17ros3rt4clpohk4betaqtmja9 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'
20240710@073042.5976 17ros3rt4clpohk4betaqtmja9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404577 and bi.ref ='304.4320.00.1' and bi.lordem =5
20240710@073042.6305 17ros3rt4clpohk4betaqtmja9 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'
20240710@073042.6460 17ros3rt4clpohk4betaqtmja9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404577 and bi.ref ='324.1816.00.1' and bi.lordem =7
20240710@073042.6800 17ros3rt4clpohk4betaqtmja9 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'
20240710@073042.6900 17ros3rt4clpohk4betaqtmja9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404577 and bi.ref ='324.1816.00.1' and bi.lordem =8
20240710@073042.7228 17ros3rt4clpohk4betaqtmja9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1896.00.1'
20240710@073042.7374 17ros3rt4clpohk4betaqtmja9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404577 and bi.ref ='324.1896.00.1' and bi.lordem =9
20240710@073042.7813 17ros3rt4clpohk4betaqtmja9 Query : use flama_phc
20240710@073042.7829 17ros3rt4clpohk4betaqtmja9 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240710@073042.7842 17ros3rt4clpohk4betaqtmja9 Query : use flama_phc
20240710@073042.7845 17ros3rt4clpohk4betaqtmja9 Query : select top 1 1 valor from td where td.ndoc = 39
20240710@073042.7855 17ros3rt4clpohk4betaqtmja9 Query : use flama_phc
20240710@073042.7857 17ros3rt4clpohk4betaqtmja9 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')
20240710@073617.4078 3l1stsnvj4g49ug5ppe1877jiu Query : use flama_phc
20240710@073617.4083 3l1stsnvj4g49ug5ppe1877jiu Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240710@073617.4100 3l1stsnvj4g49ug5ppe1877jiu Query : use flama_phc
20240710@073617.4103 3l1stsnvj4g49ug5ppe1877jiu Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240710@080243.4021 urteflt740rk48rlda83e1prs1 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240710@080243.4103 urteflt740rk48rlda83e1prs1 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240710@080243.4149 urteflt740rk48rlda83e1prs1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='833';
20240710@080243.4188 urteflt740rk48rlda83e1prs1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='833';
20240710@080243.4252 urteflt740rk48rlda83e1prs1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='833';
20240710@080243.4271 urteflt740rk48rlda83e1prs1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='833';
20240710@080243.5106 9imp7nh53ki5vdt6hjovbq2cka Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240710@080243.5119 9imp7nh53ki5vdt6hjovbq2cka Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240710@080243.5135 9imp7nh53ki5vdt6hjovbq2cka Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='834';
20240710@080243.5220 9imp7nh53ki5vdt6hjovbq2cka Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='834';
20240710@080243.5236 9imp7nh53ki5vdt6hjovbq2cka Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='834';
20240710@080243.5250 9imp7nh53ki5vdt6hjovbq2cka Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='834';
20240710@080243.5264 9imp7nh53ki5vdt6hjovbq2cka Query : use flama_phc
20240710@080243.5267 9imp7nh53ki5vdt6hjovbq2cka Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240710@080243.5320 9imp7nh53ki5vdt6hjovbq2cka Query : select no, estab,szadrsdesc from szadrs where u_coddest=39
20240710@080243.5470 9imp7nh53ki5vdt6hjovbq2cka Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '327.8171.00.1'
20240710@080243.5642 9imp7nh53ki5vdt6hjovbq2cka Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =gt2 and bo.boano =2002 and bo.obrano = 024/372 and bi.ref ='327.8171.00.1' and bi.lordem =1
20240710@081911.6357 sqttd7cv41idfqdlebf6vsb4k7 Query : use flama_phc
20240710@081911.6376 sqttd7cv41idfqdlebf6vsb4k7 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240710@081911.6451 sqttd7cv41idfqdlebf6vsb4k7 Query : use flama_phc
20240710@081911.6475 sqttd7cv41idfqdlebf6vsb4k7 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240710@083610.9699 ihh37m73c07qopq6r4s10a8f9j Query : use flama_phc
20240710@083610.9704 ihh37m73c07qopq6r4s10a8f9j Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240710@083610.9721 ihh37m73c07qopq6r4s10a8f9j Query : use flama_phc
20240710@083610.9723 ihh37m73c07qopq6r4s10a8f9j Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240710@091913.8000 es7pfvr87ar2ma78hh5fv6qg8k Query : use flama_phc
20240710@091913.8500 es7pfvr87ar2ma78hh5fv6qg8k Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240710@091913.1400 es7pfvr87ar2ma78hh5fv6qg8k Query : use flama_phc
20240710@091913.1440 es7pfvr87ar2ma78hh5fv6qg8k Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240710@093613.2554 m109epnpqf505buj81lipkll9p Query : use flama_phc
20240710@093613.2559 m109epnpqf505buj81lipkll9p Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240710@093613.2618 m109epnpqf505buj81lipkll9p Query : use flama_phc
20240710@093613.2621 m109epnpqf505buj81lipkll9p Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240710@100419.6662 de6gi8r47fbvhi08ah0hmmu7vn Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240710@100419.6772 de6gi8r47fbvhi08ah0hmmu7vn Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240710@100419.7424 de6gi8r47fbvhi08ah0hmmu7vn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='835';
20240710@100419.7541 de6gi8r47fbvhi08ah0hmmu7vn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='835';
20240710@100419.7811 de6gi8r47fbvhi08ah0hmmu7vn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='835';
20240710@100419.7869 de6gi8r47fbvhi08ah0hmmu7vn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='835';
20240710@100419.7885 de6gi8r47fbvhi08ah0hmmu7vn Query : use flama_phc
20240710@100419.7910 de6gi8r47fbvhi08ah0hmmu7vn Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240710@100419.7984 de6gi8r47fbvhi08ah0hmmu7vn Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.4902.00.1'
20240710@100419.8114 de6gi8r47fbvhi08ah0hmmu7vn 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 = 2400145 and bi.ref ='324.4902.00.1' and bi.lordem =20000
20240710@100419.8525 de6gi8r47fbvhi08ah0hmmu7vn 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 = 'cps24020843340,304000002 ' 
20240710@100419.8959 de6gi8r47fbvhi08ah0hmmu7vn Query : use flama_phc
20240710@100419.8963 de6gi8r47fbvhi08ah0hmmu7vn Query : select top 1 1 valor from ts where ts.ndos = 61
20240710@100419.9060 de6gi8r47fbvhi08ah0hmmu7vn Query : use flama_phc
20240710@100419.9063 de6gi8r47fbvhi08ah0hmmu7vn 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')
20240710@100419.9132 de6gi8r47fbvhi08ah0hmmu7vn 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
20240710@100419.9313 de6gi8r47fbvhi08ah0hmmu7vn Query : use flama_phc
20240710@100419.9316 de6gi8r47fbvhi08ah0hmmu7vn Query : select top 1 ~inactivo valor from fl where no = '202121' and estab = 00 order by inactivo desc
20240710@100419.9391 de6gi8r47fbvhi08ah0hmmu7vn Query : use flama_phc
20240710@100419.9395 de6gi8r47fbvhi08ah0hmmu7vn Query : select 1 valor from ts where ndos = 61
20240710@100419.9492 de6gi8r47fbvhi08ah0hmmu7vn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240710@100419.9822 de6gi8r47fbvhi08ah0hmmu7vn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo' and documentnumber = 61
20240710@100419.9886 de6gi8r47fbvhi08ah0hmmu7vn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240710@100419.9900 de6gi8r47fbvhi08ah0hmmu7vn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo2' and documentnumber = 61
20240710@100419.9908 de6gi8r47fbvhi08ah0hmmu7vn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240710@100419.9922 de6gi8r47fbvhi08ah0hmmu7vn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo3' and documentnumber = 61
20240710@100419.9937 de6gi8r47fbvhi08ah0hmmu7vn 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
20240710@100420.7300 de6gi8r47fbvhi08ah0hmmu7vn Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2024 order by obrano desc
20240710@100420.2000 de6gi8r47fbvhi08ah0hmmu7vn Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2024 order by obrano desc
20240710@100420.2180 de6gi8r47fbvhi08ah0hmmu7vn Query : use flama_phc
20240710@100420.2210 de6gi8r47fbvhi08ah0hmmu7vn Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='202121' and estab=00
20240710@100420.2920 de6gi8r47fbvhi08ah0hmmu7vn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240710@100420.3130 de6gi8r47fbvhi08ah0hmmu7vn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo3' and documentnumber = 61
20240710@100420.3470 de6gi8r47fbvhi08ah0hmmu7vn Query : insert into bo3 (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut668e488316668e4e9405',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20240710@100420.4170 de6gi8r47fbvhi08ah0hmmu7vn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240710@100420.4320 de6gi8r47fbvhi08ah0hmmu7vn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo2' and documentnumber = 61
20240710@100420.4400 de6gi8r47fbvhi08ah0hmmu7vn Query : insert into bo2 (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut668e488316668e4e9405','--','bo',7.4186991869918699186 ,1,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20240710@100420.7880 de6gi8r47fbvhi08ah0hmmu7vn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240710@100420.8300 de6gi8r47fbvhi08ah0hmmu7vn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo' and documentnumber = 61
20240710@100420.8380 de6gi8r47fbvhi08ah0hmmu7vn 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 ('aut668e488316668e4e9405','guia r. fornecedor','2024-07-10',61,2402004,?,?,?,?,?,?,?,?,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')
20240710@100423.2884 de6gi8r47fbvhi08ah0hmmu7vn Query : use flama_phc
20240710@100423.2888 de6gi8r47fbvhi08ah0hmmu7vn Query : select st.usalote valor from st where st.ref = '324.4902.00.1'
20240710@100423.3022 de6gi8r47fbvhi08ah0hmmu7vn 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.4902.00.1'
20240710@100423.3184 de6gi8r47fbvhi08ah0hmmu7vn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240710@100423.3198 de6gi8r47fbvhi08ah0hmmu7vn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 61
20240710@100423.3210 de6gi8r47fbvhi08ah0hmmu7vn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240710@100423.3223 de6gi8r47fbvhi08ah0hmmu7vn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 61
20240710@100423.3230 de6gi8r47fbvhi08ah0hmmu7vn Query : select sestamp valor from se where ref ='324.4902.00.1' and lote = 'r2400145200a'
20240710@100423.3281 de6gi8r47fbvhi08ah0hmmu7vn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240710@100423.3294 de6gi8r47fbvhi08ah0hmmu7vn Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'se' and documentnumber = 0
20240710@100423.3301 de6gi8r47fbvhi08ah0hmmu7vn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240710@100423.3318 de6gi8r47fbvhi08ah0hmmu7vn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'se' and documentnumber = 0
20240710@100423.3325 de6gi8r47fbvhi08ah0hmmu7vn Query : insert into se (sestamp,ref, lote, data,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut668e453549668e4e9750',?,?,'20240710',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut;','aut;')
20240710@100423.3883 de6gi8r47fbvhi08ah0hmmu7vn Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240710@100423.3926 de6gi8r47fbvhi08ah0hmmu7vn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240710@100423.3940 de6gi8r47fbvhi08ah0hmmu7vn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 61
20240710@100423.3948 de6gi8r47fbvhi08ah0hmmu7vn Query : insert into bi2 (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut668e452080668e4e975f','aut668e488316668e4e9405',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 = 'aut668e488316668e4e9405'
20240710@100423.4144 de6gi8r47fbvhi08ah0hmmu7vn Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240710@100423.4158 de6gi8r47fbvhi08ah0hmmu7vn Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 61
20240710@100423.4171 de6gi8r47fbvhi08ah0hmmu7vn 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 'aut668e452080668e4e975f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 2500, 2500*.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 ,12.3,12.3*200.48,12.3,12.3*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,12.3*2500,12.3*2500*200.48 ,13.845000,13.845000*200.48 ,13.845000,13.845000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,12.3,12.3*200.48,12.3*2500,12.3*2500*200.48,'cps24020843340,304000002 ',91.25,91.25*2500,91.25,91.25*2500,?,?,?,4 from bo bo where bo.bostamp = 'aut668e488316668e4e9405'
20240710@100432.3305 de6gi8r47fbvhi08ah0hmmu7vn Query : use flama_phc
20240710@100432.3309 de6gi8r47fbvhi08ah0hmmu7vn Query : declare @bostamp varchar(25) = 'aut668e488316668e4e9405' ,@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 
20240710@100445.8545 de6gi8r47fbvhi08ah0hmmu7vn Query : use flama_phc
20240710@100445.8549 de6gi8r47fbvhi08ah0hmmu7vn Query : select 1 valor from bo where bo.bostamp = 'aut668e488316668e4e9405'
20240710@100445.8657 de6gi8r47fbvhi08ah0hmmu7vn 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) = 'aut668e488316668e4e9405' 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 
20240710@100448.3313 de6gi8r47fbvhi08ah0hmmu7vn Query : use flama_phc
20240710@100448.3316 de6gi8r47fbvhi08ah0hmmu7vn Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240710@100448.3347 de6gi8r47fbvhi08ah0hmmu7vn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='835';
20240710@100448.3363 de6gi8r47fbvhi08ah0hmmu7vn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='835';
20240710@101910.8128 81b06k0ghqo55d3kda6mlc4mgf Query : use flama_phc
20240710@101910.8132 81b06k0ghqo55d3kda6mlc4mgf Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240710@101910.8188 81b06k0ghqo55d3kda6mlc4mgf Query : use flama_phc
20240710@101910.8191 81b06k0ghqo55d3kda6mlc4mgf Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240710@103611.1459 opmhrd1tluo6k9gcij1b93mo7t Query : use flama_phc
20240710@103611.1464 opmhrd1tluo6k9gcij1b93mo7t Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240710@103611.1481 opmhrd1tluo6k9gcij1b93mo7t Query : use flama_phc
20240710@103611.1483 opmhrd1tluo6k9gcij1b93mo7t Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240710@111909.5971 9j21d5u4macf89gjpr6vaudc0l Query : use flama_phc
20240710@111909.5976 9j21d5u4macf89gjpr6vaudc0l Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240710@111909.5993 9j21d5u4macf89gjpr6vaudc0l Query : use flama_phc
20240710@111909.5995 9j21d5u4macf89gjpr6vaudc0l Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240710@113609.7988 ll1f2jhce6jmj9bmlpds4tcmnd Query : use flama_phc
20240710@113609.7992 ll1f2jhce6jmj9bmlpds4tcmnd Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240710@113609.8011 ll1f2jhce6jmj9bmlpds4tcmnd Query : use flama_phc
20240710@113609.8014 ll1f2jhce6jmj9bmlpds4tcmnd Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240710@115920.1977 fg2les0o1iu2pec309u8t557re Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240710@115920.2068 fg2les0o1iu2pec309u8t557re Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240710@115920.2149 fg2les0o1iu2pec309u8t557re Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='836';
20240710@115920.2196 fg2les0o1iu2pec309u8t557re Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='836';
20240710@115920.2213 fg2les0o1iu2pec309u8t557re Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='836';
20240710@115920.2225 fg2les0o1iu2pec309u8t557re Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='836';
20240710@115920.2239 fg2les0o1iu2pec309u8t557re Query : use flama_phc
20240710@115920.2242 fg2les0o1iu2pec309u8t557re Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240710@115920.2265 fg2les0o1iu2pec309u8t557re Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.657.00.01'
20240710@115920.2381 fg2les0o1iu2pec309u8t557re 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 = 2400220 and bi.ref ='324.657.00.01' and bi.lordem =10000
20240710@115920.2723 fg2les0o1iu2pec309u8t557re 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 = 'cps24022844140,580000004 ' 
20240710@115920.3049 fg2les0o1iu2pec309u8t557re Query : use flama_phc
20240710@115920.3053 fg2les0o1iu2pec309u8t557re Query : select top 1 1 valor from ts where ts.ndos = 61
20240710@115920.3065 fg2les0o1iu2pec309u8t557re Query : use flama_phc
20240710@115920.3068 fg2les0o1iu2pec309u8t557re 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')
20240710@115920.3099 fg2les0o1iu2pec309u8t557re 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
20240710@115920.3124 fg2les0o1iu2pec309u8t557re Query : use flama_phc
20240710@115920.3127 fg2les0o1iu2pec309u8t557re Query : select top 1 ~inactivo valor from fl where no = '202090' and estab = 00 order by inactivo desc
20240710@115920.3190 fg2les0o1iu2pec309u8t557re Query : use flama_phc
20240710@115920.3193 fg2les0o1iu2pec309u8t557re Query : select 1 valor from ts where ndos = 61
20240710@115920.3211 fg2les0o1iu2pec309u8t557re Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240710@115920.3225 fg2les0o1iu2pec309u8t557re Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo' and documentnumber = 61
20240710@115920.3237 fg2les0o1iu2pec309u8t557re Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240710@115920.3249 fg2les0o1iu2pec309u8t557re Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo2' and documentnumber = 61
20240710@115920.3256 fg2les0o1iu2pec309u8t557re Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240710@115920.3268 fg2les0o1iu2pec309u8t557re Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo3' and documentnumber = 61
20240710@115920.3274 fg2les0o1iu2pec309u8t557re 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
20240710@115920.3293 fg2les0o1iu2pec309u8t557re Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2024 order by obrano desc
20240710@115920.3318 fg2les0o1iu2pec309u8t557re Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2024 order by obrano desc
20240710@115920.3351 fg2les0o1iu2pec309u8t557re Query : use flama_phc
20240710@115920.3356 fg2les0o1iu2pec309u8t557re Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='202090' and estab=00
20240710@115920.3422 fg2les0o1iu2pec309u8t557re Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240710@115920.3437 fg2les0o1iu2pec309u8t557re Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo3' and documentnumber = 61
20240710@115920.3450 fg2les0o1iu2pec309u8t557re Query : insert into bo3 (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut668e644783668e698851',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20240710@115920.3465 fg2les0o1iu2pec309u8t557re Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240710@115920.3479 fg2les0o1iu2pec309u8t557re Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo2' and documentnumber = 61
20240710@115920.3486 fg2les0o1iu2pec309u8t557re Query : insert into bo2 (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut668e644783668e698851','--','bo',7.7996277915632754342 ,1,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20240710@115920.3497 fg2les0o1iu2pec309u8t557re Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240710@115920.3514 fg2les0o1iu2pec309u8t557re Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo' and documentnumber = 61
20240710@115920.3521 fg2les0o1iu2pec309u8t557re 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 ('aut668e644783668e698851','guia r. fornecedor','2024-07-10',61,2402006,?,?,?,?,?,?,?,?,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')
20240710@115920.4123 fg2les0o1iu2pec309u8t557re Query : use flama_phc
20240710@115920.4126 fg2les0o1iu2pec309u8t557re Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20240710@115920.4150 fg2les0o1iu2pec309u8t557re Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.657.00.01'
20240710@115920.4299 fg2les0o1iu2pec309u8t557re Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240710@115920.4313 fg2les0o1iu2pec309u8t557re Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 61
20240710@115920.4324 fg2les0o1iu2pec309u8t557re Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240710@115920.4336 fg2les0o1iu2pec309u8t557re Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 61
20240710@115920.4342 fg2les0o1iu2pec309u8t557re Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400220100a'
20240710@115920.4352 fg2les0o1iu2pec309u8t557re Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240710@115920.4364 fg2les0o1iu2pec309u8t557re Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'se' and documentnumber = 0
20240710@115920.4371 fg2les0o1iu2pec309u8t557re Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240710@115920.4382 fg2les0o1iu2pec309u8t557re Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'se' and documentnumber = 0
20240710@115920.4389 fg2les0o1iu2pec309u8t557re Query : insert into se (sestamp,ref, lote, data,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut668e606523668e69886a',?,?,'20240710',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut;','aut;')
20240710@115920.4467 fg2les0o1iu2pec309u8t557re Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240710@115920.4484 fg2les0o1iu2pec309u8t557re Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240710@115920.4497 fg2les0o1iu2pec309u8t557re Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 61
20240710@115920.4504 fg2les0o1iu2pec309u8t557re Query : insert into bi2 (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut668e646511668e69886d','aut668e644783668e698851',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 = 'aut668e644783668e698851'
20240710@115920.4695 fg2les0o1iu2pec309u8t557re Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240710@115920.4710 fg2les0o1iu2pec309u8t557re Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 61
20240710@115920.4720 fg2les0o1iu2pec309u8t557re 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 'aut668e646511668e69886d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 1428, 1428*.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 ,16.12,16.12*200.48,16.12,16.12*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,16.12*1428,16.12*1428*200.48 ,20.001000,20.001000*200.48 ,20.001000,20.001000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,16.12,16.12*200.48,16.12*1428,16.12*1428*200.48,'cps24022844140,580000004 ',125.73,125.73*1428,125.73,125.73*1428,?,?,?,4 from bo bo where bo.bostamp = 'aut668e644783668e698851'
20240710@115929.8230 fg2les0o1iu2pec309u8t557re Query : use flama_phc
20240710@115929.8280 fg2les0o1iu2pec309u8t557re Query : declare @bostamp varchar(25) = 'aut668e644783668e698851' ,@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 
20240710@115929.4081 fg2les0o1iu2pec309u8t557re Query : use flama_phc
20240710@115929.4085 fg2les0o1iu2pec309u8t557re Query : select 1 valor from bo where bo.bostamp = 'aut668e644783668e698851'
20240710@115929.4105 fg2les0o1iu2pec309u8t557re 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) = 'aut668e644783668e698851' 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 
20240710@115929.6464 fg2les0o1iu2pec309u8t557re Query : use flama_phc
20240710@115929.6468 fg2les0o1iu2pec309u8t557re Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240710@115929.6480 fg2les0o1iu2pec309u8t557re Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='836';
20240710@115929.6494 fg2les0o1iu2pec309u8t557re Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='836';
20240710@120720.2786 rnkg55n5opv2hn92p0v5d98tpi Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240710@120720.2799 rnkg55n5opv2hn92p0v5d98tpi Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240710@120720.2818 rnkg55n5opv2hn92p0v5d98tpi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='837';
20240710@120720.2860 rnkg55n5opv2hn92p0v5d98tpi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='837';
20240710@120720.2876 rnkg55n5opv2hn92p0v5d98tpi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='837';
20240710@120720.2888 rnkg55n5opv2hn92p0v5d98tpi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='837';
20240710@120720.2906 rnkg55n5opv2hn92p0v5d98tpi Query : use flama_phc
20240710@120720.2909 rnkg55n5opv2hn92p0v5d98tpi Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240710@120720.2924 rnkg55n5opv2hn92p0v5d98tpi Query : use flama_phc
20240710@120720.2927 rnkg55n5opv2hn92p0v5d98tpi Query : select no, estab,szadrsdesc from szadrs where u_coddest=4743
20240710@120720.3099 rnkg55n5opv2hn92p0v5d98tpi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1416.00.1'
20240710@120720.3318 rnkg55n5opv2hn92p0v5d98tpi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1416.00.1'
20240710@120720.3329 rnkg55n5opv2hn92p0v5d98tpi Query : use flama_phc
20240710@120720.3332 rnkg55n5opv2hn92p0v5d98tpi Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240710@120720.3514 rnkg55n5opv2hn92p0v5d98tpi Query : use flama_phc
20240710@120720.3518 rnkg55n5opv2hn92p0v5d98tpi Query : select top 1 1 valor from td where td.ndoc = 39
20240710@120720.3588 rnkg55n5opv2hn92p0v5d98tpi Query : use flama_phc
20240710@120720.3591 rnkg55n5opv2hn92p0v5d98tpi 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')
20240710@120720.4046 94vvg7ob3v1c95u6his8c33gmg Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240710@120720.4059 94vvg7ob3v1c95u6his8c33gmg Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240710@120720.4076 94vvg7ob3v1c95u6his8c33gmg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='838';
20240710@120720.4123 94vvg7ob3v1c95u6his8c33gmg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='838';
20240710@120720.4139 94vvg7ob3v1c95u6his8c33gmg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='838';
20240710@120720.4151 94vvg7ob3v1c95u6his8c33gmg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='838';
20240710@120720.4164 94vvg7ob3v1c95u6his8c33gmg Query : use flama_phc
20240710@120720.4167 94vvg7ob3v1c95u6his8c33gmg Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240710@120720.4181 94vvg7ob3v1c95u6his8c33gmg Query : use flama_phc
20240710@120720.4183 94vvg7ob3v1c95u6his8c33gmg Query : select no, estab,szadrsdesc from szadrs where u_coddest=4743
20240710@120720.4213 94vvg7ob3v1c95u6his8c33gmg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1416.00.1'
20240710@120720.4223 94vvg7ob3v1c95u6his8c33gmg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1416.00.1'
20240710@120720.4233 94vvg7ob3v1c95u6his8c33gmg Query : use flama_phc
20240710@120720.4235 94vvg7ob3v1c95u6his8c33gmg Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240710@120720.4248 94vvg7ob3v1c95u6his8c33gmg Query : use flama_phc
20240710@120720.4251 94vvg7ob3v1c95u6his8c33gmg Query : select top 1 1 valor from td where td.ndoc = 39
20240710@120720.4262 94vvg7ob3v1c95u6his8c33gmg Query : use flama_phc
20240710@120720.4265 94vvg7ob3v1c95u6his8c33gmg 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')
20240710@121911.3581 rk9m9gadre3hivb1gtfgrf5m1k Query : use flama_phc
20240710@121911.3586 rk9m9gadre3hivb1gtfgrf5m1k Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240710@121911.3603 rk9m9gadre3hivb1gtfgrf5m1k Query : use flama_phc
20240710@121911.3606 rk9m9gadre3hivb1gtfgrf5m1k Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240710@123611.2012 uc44o0pmr00jtd8fuu7dsoq298 Query : use flama_phc
20240710@123611.2017 uc44o0pmr00jtd8fuu7dsoq298 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240710@123611.2034 uc44o0pmr00jtd8fuu7dsoq298 Query : use flama_phc
20240710@123611.2037 uc44o0pmr00jtd8fuu7dsoq298 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240710@131909.9805 518vt54l0ukci4ugqb5tnc8d25 Query : use flama_phc
20240710@131909.9827 518vt54l0ukci4ugqb5tnc8d25 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240710@131909.9964 518vt54l0ukci4ugqb5tnc8d25 Query : use flama_phc
20240710@131909.9968 518vt54l0ukci4ugqb5tnc8d25 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240710@133609.8985 1e3gd7cb6ecj8qeoha8iejd6q4 Query : use flama_phc
20240710@133609.8991 1e3gd7cb6ecj8qeoha8iejd6q4 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240710@133609.9016 1e3gd7cb6ecj8qeoha8iejd6q4 Query : use flama_phc
20240710@133609.9020 1e3gd7cb6ecj8qeoha8iejd6q4 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240710@141909.9200 03c33vmctsvlh895vcd7rk3skk Query : use flama_phc
20240710@141909.9240 03c33vmctsvlh895vcd7rk3skk Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240710@141909.9410 03c33vmctsvlh895vcd7rk3skk Query : use flama_phc
20240710@141909.9440 03c33vmctsvlh895vcd7rk3skk Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240710@143609.1705 sma2l750i52gbj972gnm5e4qqb Query : use flama_phc
20240710@143609.1748 sma2l750i52gbj972gnm5e4qqb Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240710@143609.1894 sma2l750i52gbj972gnm5e4qqb Query : use flama_phc
20240710@143609.1902 sma2l750i52gbj972gnm5e4qqb Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240710@151911.3341 dbnjtn1rpvld30dr8tipnar3ij Query : use flama_phc
20240710@151911.3345 dbnjtn1rpvld30dr8tipnar3ij Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240710@151911.3371 dbnjtn1rpvld30dr8tipnar3ij Query : use flama_phc
20240710@151911.3374 dbnjtn1rpvld30dr8tipnar3ij Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240710@152344.1420 dklgioqts67caecppc07mpg44s Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240710@152344.1720 dklgioqts67caecppc07mpg44s Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240710@152344.2610 dklgioqts67caecppc07mpg44s Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='839';
20240710@152344.3050 dklgioqts67caecppc07mpg44s Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='839';
20240710@152344.3210 dklgioqts67caecppc07mpg44s Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='839';
20240710@152344.3350 dklgioqts67caecppc07mpg44s Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='839';
20240710@152344.1786 a20kc46rcd7cje491lbhtnuvh1 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240710@152344.1801 a20kc46rcd7cje491lbhtnuvh1 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240710@152344.1818 a20kc46rcd7cje491lbhtnuvh1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='840';
20240710@152344.1865 a20kc46rcd7cje491lbhtnuvh1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='840';
20240710@152344.1882 a20kc46rcd7cje491lbhtnuvh1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='840';
20240710@152344.1898 a20kc46rcd7cje491lbhtnuvh1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='840';
20240710@152344.1923 a20kc46rcd7cje491lbhtnuvh1 Query : use flama_phc
20240710@152344.1926 a20kc46rcd7cje491lbhtnuvh1 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240710@152344.1987 a20kc46rcd7cje491lbhtnuvh1 Query : select no, estab,szadrsdesc from szadrs where u_coddest=39
20240710@152344.2087 a20kc46rcd7cje491lbhtnuvh1 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.657.00.01'
20240710@152344.2098 a20kc46rcd7cje491lbhtnuvh1 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.657.00.01'
20240710@152344.2108 a20kc46rcd7cje491lbhtnuvh1 Query : use flama_phc
20240710@152344.2112 a20kc46rcd7cje491lbhtnuvh1 Query : select top 1 1 valor from ts where ts.ndos = 5
20240710@152344.2206 a20kc46rcd7cje491lbhtnuvh1 Query : use flama_phc
20240710@152344.2210 a20kc46rcd7cje491lbhtnuvh1 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')
20240710@152344.2273 a20kc46rcd7cje491lbhtnuvh1 Query : select top 1 assinadoc issigned ,ts.stocks ,ts.bdempresas origin ,case when (cmstocks between 1 and 50 or cm2stocks between 1 and 50 ) then 1 else 0 end entrada ,case when cmstocks>50 or (cm2stocks>50 and trfa =1) then 1 else 0 end saida ,stneg validatestock ,tiposaft ,veserie useserialnumber ,foserie assetin ,ftserie assetout ,veserie assets ,trfarm assetstransfer ,grelha usegridfields from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos =5
20240710@152344.2420 a20kc46rcd7cje491lbhtnuvh1 Query : use flama_phc
20240710@152344.2461 a20kc46rcd7cje491lbhtnuvh1 Query : select top 1 ~inactivo valor from fl where no = '100500' and estab = 0 order by inactivo desc
20240710@152344.2691 a20kc46rcd7cje491lbhtnuvh1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='840';
20240710@152344.2706 a20kc46rcd7cje491lbhtnuvh1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='840';
20240710@153611.3038 1edj9tkcejpae7nb07u7rtim6u Query : use flama_phc
20240710@153611.3043 1edj9tkcejpae7nb07u7rtim6u Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240710@153611.3059 1edj9tkcejpae7nb07u7rtim6u Query : use flama_phc
20240710@153611.3062 1edj9tkcejpae7nb07u7rtim6u Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240710@153844.5029 nf5u5g5osvonbbh1uqqm6eivfi Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240710@153844.5044 nf5u5g5osvonbbh1uqqm6eivfi Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240710@153844.5061 nf5u5g5osvonbbh1uqqm6eivfi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='841';
20240710@153844.5100 nf5u5g5osvonbbh1uqqm6eivfi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='841';
20240710@153844.5116 nf5u5g5osvonbbh1uqqm6eivfi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='841';
20240710@153844.5128 nf5u5g5osvonbbh1uqqm6eivfi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='841';
20240710@153844.6582 h57jhbrfkeqm72r2ggrjtmm188 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240710@153844.6596 h57jhbrfkeqm72r2ggrjtmm188 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240710@153844.6613 h57jhbrfkeqm72r2ggrjtmm188 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='842';
20240710@153844.6657 h57jhbrfkeqm72r2ggrjtmm188 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='842';
20240710@153844.6681 h57jhbrfkeqm72r2ggrjtmm188 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='842';
20240710@153844.6693 h57jhbrfkeqm72r2ggrjtmm188 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='842';
20240710@153844.6706 h57jhbrfkeqm72r2ggrjtmm188 Query : use flama_phc
20240710@153844.6709 h57jhbrfkeqm72r2ggrjtmm188 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240710@153844.6725 h57jhbrfkeqm72r2ggrjtmm188 Query : select no, estab,szadrsdesc from szadrs where u_coddest=39
20240710@153844.6815 h57jhbrfkeqm72r2ggrjtmm188 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.679.00.01'
20240710@153844.6935 h57jhbrfkeqm72r2ggrjtmm188 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.679.00.01'
20240710@153844.6945 h57jhbrfkeqm72r2ggrjtmm188 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.675.00.01'
20240710@153844.7201 h57jhbrfkeqm72r2ggrjtmm188 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.4980.00.1'
20240710@153844.8337 h57jhbrfkeqm72r2ggrjtmm188 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.4980.00.1'
20240710@153844.8350 h57jhbrfkeqm72r2ggrjtmm188 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.4902.00.1'
20240710@153844.8480 h57jhbrfkeqm72r2ggrjtmm188 Query : use flama_phc
20240710@153844.8483 h57jhbrfkeqm72r2ggrjtmm188 Query : select top 1 1 valor from ts where ts.ndos = 5
20240710@153844.8495 h57jhbrfkeqm72r2ggrjtmm188 Query : use flama_phc
20240710@153844.8498 h57jhbrfkeqm72r2ggrjtmm188 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')
20240710@153844.8518 h57jhbrfkeqm72r2ggrjtmm188 Query : select top 1 assinadoc issigned ,ts.stocks ,ts.bdempresas origin ,case when (cmstocks between 1 and 50 or cm2stocks between 1 and 50 ) then 1 else 0 end entrada ,case when cmstocks>50 or (cm2stocks>50 and trfa =1) then 1 else 0 end saida ,stneg validatestock ,tiposaft ,veserie useserialnumber ,foserie assetin ,ftserie assetout ,veserie assets ,trfarm assetstransfer ,grelha usegridfields from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos =5
20240710@153844.8537 h57jhbrfkeqm72r2ggrjtmm188 Query : use flama_phc
20240710@153844.8541 h57jhbrfkeqm72r2ggrjtmm188 Query : select top 1 ~inactivo valor from fl where no = '100500' and estab = 0 order by inactivo desc
20240710@153844.8555 h57jhbrfkeqm72r2ggrjtmm188 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='842';
20240710@153844.8571 h57jhbrfkeqm72r2ggrjtmm188 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='842';
20240710@161908.6763 5tbr90vn7ce1qu15f901rskmts Query : use flama_phc
20240710@161908.6768 5tbr90vn7ce1qu15f901rskmts Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240710@161908.6788 5tbr90vn7ce1qu15f901rskmts Query : use flama_phc
20240710@161908.6791 5tbr90vn7ce1qu15f901rskmts Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240710@163608.5942 e54bjcas7m8t9r949o3gaih1pj Query : use flama_phc
20240710@163608.5947 e54bjcas7m8t9r949o3gaih1pj Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240710@163608.5999 e54bjcas7m8t9r949o3gaih1pj Query : use flama_phc
20240710@163608.6002 e54bjcas7m8t9r949o3gaih1pj Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240710@171915.4809 59fj1qhjl5gqang3er62pute7j Query : use flama_phc
20240710@171915.4813 59fj1qhjl5gqang3er62pute7j Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240710@171915.4832 59fj1qhjl5gqang3er62pute7j Query : use flama_phc
20240710@171915.4835 59fj1qhjl5gqang3er62pute7j Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240710@173615.5944 3vj95mdp7agd9lpqbhp5gjnr4o Query : use flama_phc
20240710@173615.5949 3vj95mdp7agd9lpqbhp5gjnr4o Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240710@173615.5967 3vj95mdp7agd9lpqbhp5gjnr4o Query : use flama_phc
20240710@173615.5970 3vj95mdp7agd9lpqbhp5gjnr4o Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240710@181911.5601 g3b7t88no6csgeik44p6c92il7 Query : use flama_phc
20240710@181911.5606 g3b7t88no6csgeik44p6c92il7 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240710@181911.5664 g3b7t88no6csgeik44p6c92il7 Query : use flama_phc
20240710@181911.5668 g3b7t88no6csgeik44p6c92il7 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240710@183611.4513 sg8bu5eh7i9go1oe4dq6t85pae Query : use flama_phc
20240710@183611.4517 sg8bu5eh7i9go1oe4dq6t85pae Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240710@183611.4535 sg8bu5eh7i9go1oe4dq6t85pae Query : use flama_phc
20240710@183611.4538 sg8bu5eh7i9go1oe4dq6t85pae Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240710@191917.9342 sais3vcuf25ltgvjci8fep3i3v Query : use flama_phc
20240710@191917.9347 sais3vcuf25ltgvjci8fep3i3v Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240710@191917.9365 sais3vcuf25ltgvjci8fep3i3v Query : use flama_phc
20240710@191917.9368 sais3vcuf25ltgvjci8fep3i3v Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240710@193617.7582 aeec9hbutqr0775ca4g4mrpkbn Query : use flama_phc
20240710@193617.7587 aeec9hbutqr0775ca4g4mrpkbn Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240710@193617.7605 aeec9hbutqr0775ca4g4mrpkbn Query : use flama_phc
20240710@193617.7608 aeec9hbutqr0775ca4g4mrpkbn Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240710@201912.7870 8s3fulunljogqr9gp1281q32mm Query : use flama_phc
20240710@201912.7920 8s3fulunljogqr9gp1281q32mm Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240710@201912.8090 8s3fulunljogqr9gp1281q32mm Query : use flama_phc
20240710@201912.8130 8s3fulunljogqr9gp1281q32mm Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240710@202110.4627 32ebe1dmi8orfosp9qk9neklqk Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240710@202110.4664 32ebe1dmi8orfosp9qk9neklqk Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240710@202110.4762 32ebe1dmi8orfosp9qk9neklqk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='843';
20240710@202110.4809 32ebe1dmi8orfosp9qk9neklqk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='843';
20240710@202110.4826 32ebe1dmi8orfosp9qk9neklqk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='843';
20240710@202110.4840 32ebe1dmi8orfosp9qk9neklqk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='843';
20240710@202110.4855 32ebe1dmi8orfosp9qk9neklqk Query : use flama_phc
20240710@202110.4858 32ebe1dmi8orfosp9qk9neklqk Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240710@202110.4914 32ebe1dmi8orfosp9qk9neklqk Query : use flama_phc
20240710@202110.4917 32ebe1dmi8orfosp9qk9neklqk Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240710@202110.5069 32ebe1dmi8orfosp9qk9neklqk 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'
20240710@202110.5278 32ebe1dmi8orfosp9qk9neklqk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404578 and bi.ref ='324.1685.00.1' and bi.lordem =1
20240710@202110.5645 32ebe1dmi8orfosp9qk9neklqk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.698.00.01'
20240710@202110.5884 32ebe1dmi8orfosp9qk9neklqk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404578 and bi.ref ='324.698.00.01' and bi.lordem =2
20240710@202110.6246 32ebe1dmi8orfosp9qk9neklqk Query : use flama_phc
20240710@202110.6253 32ebe1dmi8orfosp9qk9neklqk Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240710@202110.6272 32ebe1dmi8orfosp9qk9neklqk Query : use flama_phc
20240710@202110.6275 32ebe1dmi8orfosp9qk9neklqk Query : select top 1 1 valor from td where td.ndoc = 39
20240710@202110.6290 32ebe1dmi8orfosp9qk9neklqk Query : use flama_phc
20240710@202110.6293 32ebe1dmi8orfosp9qk9neklqk 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')
20240710@202110.7008 smc8p3628ljpgf74mef6sq709s Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240710@202110.7021 smc8p3628ljpgf74mef6sq709s Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240710@202110.7039 smc8p3628ljpgf74mef6sq709s Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='844';
20240710@202110.7152 smc8p3628ljpgf74mef6sq709s Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='844';
20240710@202110.7342 smc8p3628ljpgf74mef6sq709s Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='844';
20240710@202110.7491 smc8p3628ljpgf74mef6sq709s Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='844';
20240710@202110.7506 smc8p3628ljpgf74mef6sq709s Query : use flama_phc
20240710@202110.7509 smc8p3628ljpgf74mef6sq709s Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240710@202110.7523 smc8p3628ljpgf74mef6sq709s Query : use flama_phc
20240710@202110.7566 smc8p3628ljpgf74mef6sq709s Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240710@202110.7608 smc8p3628ljpgf74mef6sq709s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.698.00.01'
20240710@202110.7619 smc8p3628ljpgf74mef6sq709s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404579 and bi.ref ='324.698.00.01' and bi.lordem =1
20240710@202110.9743 smc8p3628ljpgf74mef6sq709s Query : use flama_phc
20240710@202110.9747 smc8p3628ljpgf74mef6sq709s Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240710@202110.9761 smc8p3628ljpgf74mef6sq709s Query : use flama_phc
20240710@202110.9764 smc8p3628ljpgf74mef6sq709s Query : select top 1 1 valor from td where td.ndoc = 39
20240710@202110.9775 smc8p3628ljpgf74mef6sq709s Query : use flama_phc
20240710@202110.9777 smc8p3628ljpgf74mef6sq709s 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')
20240710@202111.2540 jm1mmonaluqmmhppfe5eolcf3e Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240710@202111.2670 jm1mmonaluqmmhppfe5eolcf3e Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240710@202111.2850 jm1mmonaluqmmhppfe5eolcf3e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='845';
20240710@202111.3250 jm1mmonaluqmmhppfe5eolcf3e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='845';
20240710@202111.3410 jm1mmonaluqmmhppfe5eolcf3e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='845';
20240710@202111.3530 jm1mmonaluqmmhppfe5eolcf3e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='845';
20240710@202111.3660 jm1mmonaluqmmhppfe5eolcf3e Query : use flama_phc
20240710@202111.3680 jm1mmonaluqmmhppfe5eolcf3e Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240710@202111.3830 jm1mmonaluqmmhppfe5eolcf3e Query : use flama_phc
20240710@202111.3850 jm1mmonaluqmmhppfe5eolcf3e Query : select no, estab,szadrsdesc from szadrs where u_coddest=6737
20240710@202111.4590 jm1mmonaluqmmhppfe5eolcf3e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9902.00.1'
20240710@202111.6350 jm1mmonaluqmmhppfe5eolcf3e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404585 and bi.ref ='328.9902.00.1' and bi.lordem =1
20240710@202111.1000 jm1mmonaluqmmhppfe5eolcf3e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9902.00.1'
20240710@202111.1010 jm1mmonaluqmmhppfe5eolcf3e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404585 and bi.ref ='328.9902.00.1' and bi.lordem =1
20240710@202111.1018 jm1mmonaluqmmhppfe5eolcf3e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9902.00.1'
20240710@202111.1027 jm1mmonaluqmmhppfe5eolcf3e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404585 and bi.ref ='328.9902.00.1' and bi.lordem =1
20240710@202111.1034 jm1mmonaluqmmhppfe5eolcf3e Query : use flama_phc
20240710@202111.1037 jm1mmonaluqmmhppfe5eolcf3e Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240710@202111.1050 jm1mmonaluqmmhppfe5eolcf3e Query : use flama_phc
20240710@202111.1053 jm1mmonaluqmmhppfe5eolcf3e Query : select top 1 1 valor from td where td.ndoc = 39
20240710@202111.1064 jm1mmonaluqmmhppfe5eolcf3e Query : use flama_phc
20240710@202111.1066 jm1mmonaluqmmhppfe5eolcf3e 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')
20240710@202111.2097 bj0967mr2bmggf9q8fdgmgbqod Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240710@202111.2119 bj0967mr2bmggf9q8fdgmgbqod Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240710@202111.2152 bj0967mr2bmggf9q8fdgmgbqod Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='846';
20240710@202111.2287 bj0967mr2bmggf9q8fdgmgbqod Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='846';
20240710@202111.2314 bj0967mr2bmggf9q8fdgmgbqod Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='846';
20240710@202111.2328 bj0967mr2bmggf9q8fdgmgbqod Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='846';
20240710@202111.2342 bj0967mr2bmggf9q8fdgmgbqod Query : use flama_phc
20240710@202111.2396 bj0967mr2bmggf9q8fdgmgbqod Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240710@202111.2704 bj0967mr2bmggf9q8fdgmgbqod Query : use flama_phc
20240710@202111.2707 bj0967mr2bmggf9q8fdgmgbqod Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240710@202111.2761 bj0967mr2bmggf9q8fdgmgbqod Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.698.00.01'
20240710@202111.2772 bj0967mr2bmggf9q8fdgmgbqod Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404586 and bi.ref ='324.698.00.01' and bi.lordem =1
20240710@202111.3133 bj0967mr2bmggf9q8fdgmgbqod Query : use flama_phc
20240710@202111.3136 bj0967mr2bmggf9q8fdgmgbqod Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240710@202111.3150 bj0967mr2bmggf9q8fdgmgbqod Query : use flama_phc
20240710@202111.3153 bj0967mr2bmggf9q8fdgmgbqod Query : select top 1 1 valor from td where td.ndoc = 39
20240710@202111.3164 bj0967mr2bmggf9q8fdgmgbqod Query : use flama_phc
20240710@202111.3167 bj0967mr2bmggf9q8fdgmgbqod 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')
20240710@202111.3703 kree84jnf7o2cnu96vka559lqb Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240710@202111.3737 kree84jnf7o2cnu96vka559lqb Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240710@202111.3756 kree84jnf7o2cnu96vka559lqb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='847';
20240710@202111.3798 kree84jnf7o2cnu96vka559lqb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='847';
20240710@202111.3815 kree84jnf7o2cnu96vka559lqb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='847';
20240710@202111.3827 kree84jnf7o2cnu96vka559lqb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='847';
20240710@202111.3841 kree84jnf7o2cnu96vka559lqb Query : use flama_phc
20240710@202111.3845 kree84jnf7o2cnu96vka559lqb Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240710@202111.3867 kree84jnf7o2cnu96vka559lqb Query : use flama_phc
20240710@202111.3870 kree84jnf7o2cnu96vka559lqb Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240710@202111.3900 kree84jnf7o2cnu96vka559lqb Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '326.595.00.01'
20240710@202111.4118 kree84jnf7o2cnu96vka559lqb Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404587 and bi.ref ='326.595.00.01' and bi.lordem =1
20240710@202111.4866 kree84jnf7o2cnu96vka559lqb Query : use flama_phc
20240710@202111.4869 kree84jnf7o2cnu96vka559lqb Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240710@202111.4884 kree84jnf7o2cnu96vka559lqb Query : use flama_phc
20240710@202111.4887 kree84jnf7o2cnu96vka559lqb Query : select top 1 1 valor from td where td.ndoc = 39
20240710@202111.4897 kree84jnf7o2cnu96vka559lqb Query : use flama_phc
20240710@202111.4940 kree84jnf7o2cnu96vka559lqb 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')
20240710@202111.5441 otc5krlvok4kk4cvbdpn4mk4s0 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240710@202111.5585 otc5krlvok4kk4cvbdpn4mk4s0 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240710@202111.5617 otc5krlvok4kk4cvbdpn4mk4s0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='848';
20240710@202111.5659 otc5krlvok4kk4cvbdpn4mk4s0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='848';
20240710@202111.5700 otc5krlvok4kk4cvbdpn4mk4s0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='848';
20240710@202111.5715 otc5krlvok4kk4cvbdpn4mk4s0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='848';
20240710@202111.5729 otc5krlvok4kk4cvbdpn4mk4s0 Query : use flama_phc
20240710@202111.5733 otc5krlvok4kk4cvbdpn4mk4s0 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240710@202111.5748 otc5krlvok4kk4cvbdpn4mk4s0 Query : use flama_phc
20240710@202111.5751 otc5krlvok4kk4cvbdpn4mk4s0 Query : select no, estab,szadrsdesc from szadrs where u_coddest=435
20240710@202111.5829 otc5krlvok4kk4cvbdpn4mk4s0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1670.00.1'
20240710@202111.6185 otc5krlvok4kk4cvbdpn4mk4s0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404588 and bi.ref ='324.1670.00.1' and bi.lordem =1
20240710@202111.7304 otc5krlvok4kk4cvbdpn4mk4s0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1670.00.1'
20240710@202111.7967 otc5krlvok4kk4cvbdpn4mk4s0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404588 and bi.ref ='324.1670.00.1' and bi.lordem =1
20240710@202111.7997 otc5krlvok4kk4cvbdpn4mk4s0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1670.00.1'
20240710@202111.8008 otc5krlvok4kk4cvbdpn4mk4s0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404588 and bi.ref ='324.1670.00.1' and bi.lordem =2
20240710@202111.8379 otc5krlvok4kk4cvbdpn4mk4s0 Query : use flama_phc
20240710@202111.8382 otc5krlvok4kk4cvbdpn4mk4s0 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240710@202111.8397 otc5krlvok4kk4cvbdpn4mk4s0 Query : use flama_phc
20240710@202111.8399 otc5krlvok4kk4cvbdpn4mk4s0 Query : select top 1 1 valor from td where td.ndoc = 39
20240710@202111.8410 otc5krlvok4kk4cvbdpn4mk4s0 Query : use flama_phc
20240710@202111.8413 otc5krlvok4kk4cvbdpn4mk4s0 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')
20240710@202111.9273 9eb2nh952c6dh3s26meigi5b72 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240710@202111.9287 9eb2nh952c6dh3s26meigi5b72 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240710@202111.9306 9eb2nh952c6dh3s26meigi5b72 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='849';
20240710@202111.9351 9eb2nh952c6dh3s26meigi5b72 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='849';
20240710@202111.9367 9eb2nh952c6dh3s26meigi5b72 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='849';
20240710@202111.9381 9eb2nh952c6dh3s26meigi5b72 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='849';
20240710@202111.9395 9eb2nh952c6dh3s26meigi5b72 Query : use flama_phc
20240710@202111.9398 9eb2nh952c6dh3s26meigi5b72 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240710@202111.9414 9eb2nh952c6dh3s26meigi5b72 Query : use flama_phc
20240710@202111.9417 9eb2nh952c6dh3s26meigi5b72 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2150
20240710@202111.9497 9eb2nh952c6dh3s26meigi5b72 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1670.00.1'
20240710@202111.9784 9eb2nh952c6dh3s26meigi5b72 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404589 and bi.ref ='324.1670.00.1' and bi.lordem =1
20240710@202112.1980 9eb2nh952c6dh3s26meigi5b72 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9902.00.1'
20240710@202112.2090 9eb2nh952c6dh3s26meigi5b72 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404589 and bi.ref ='328.9902.00.1' and bi.lordem =2
20240710@202112.1490 9eb2nh952c6dh3s26meigi5b72 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '321.162.40.00'
20240710@202112.1662 9eb2nh952c6dh3s26meigi5b72 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404589 and bi.ref ='321.162.40.00' and bi.lordem =3
20240710@202112.2015 9eb2nh952c6dh3s26meigi5b72 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '325.1670.3015'
20240710@202112.2190 9eb2nh952c6dh3s26meigi5b72 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404589 and bi.ref ='325.1670.3015' and bi.lordem =4
20240710@202112.2556 9eb2nh952c6dh3s26meigi5b72 Query : use flama_phc
20240710@202112.2559 9eb2nh952c6dh3s26meigi5b72 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240710@202112.2574 9eb2nh952c6dh3s26meigi5b72 Query : use flama_phc
20240710@202112.2577 9eb2nh952c6dh3s26meigi5b72 Query : select top 1 1 valor from td where td.ndoc = 39
20240710@202112.2587 9eb2nh952c6dh3s26meigi5b72 Query : use flama_phc
20240710@202112.2590 9eb2nh952c6dh3s26meigi5b72 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')
20240710@202112.3072 ej7btrh65anp8mv1qn4128jngk Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240710@202112.3087 ej7btrh65anp8mv1qn4128jngk Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240710@202112.3105 ej7btrh65anp8mv1qn4128jngk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='850';
20240710@202112.3149 ej7btrh65anp8mv1qn4128jngk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='850';
20240710@202112.3166 ej7btrh65anp8mv1qn4128jngk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='850';
20240710@202112.3179 ej7btrh65anp8mv1qn4128jngk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='850';
20240710@202112.3192 ej7btrh65anp8mv1qn4128jngk Query : use flama_phc
20240710@202112.3195 ej7btrh65anp8mv1qn4128jngk Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240710@202112.3209 ej7btrh65anp8mv1qn4128jngk Query : use flama_phc
20240710@202112.3212 ej7btrh65anp8mv1qn4128jngk Query : select no, estab,szadrsdesc from szadrs where u_coddest=2679
20240710@202112.3300 ej7btrh65anp8mv1qn4128jngk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1705.00.1'
20240710@202112.3506 ej7btrh65anp8mv1qn4128jngk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404590 and bi.ref ='324.1705.00.1' and bi.lordem =1
20240710@202112.5217 ej7btrh65anp8mv1qn4128jngk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1705.00.1'
20240710@202112.5969 ej7btrh65anp8mv1qn4128jngk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404590 and bi.ref ='324.1705.00.1' and bi.lordem =1
20240710@202112.5977 ej7btrh65anp8mv1qn4128jngk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20240710@202112.6148 ej7btrh65anp8mv1qn4128jngk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404590 and bi.ref ='324.4970.00.1' and bi.lordem =3
20240710@202112.6494 ej7btrh65anp8mv1qn4128jngk 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'
20240710@202112.6663 ej7btrh65anp8mv1qn4128jngk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404590 and bi.ref ='324.1816.00.1' and bi.lordem =5
20240710@202112.7011 ej7btrh65anp8mv1qn4128jngk 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'
20240710@202112.7022 ej7btrh65anp8mv1qn4128jngk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404590 and bi.ref ='324.1816.00.1' and bi.lordem =5
20240710@202112.7029 ej7btrh65anp8mv1qn4128jngk 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'
20240710@202112.7038 ej7btrh65anp8mv1qn4128jngk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404590 and bi.ref ='324.1816.00.1' and bi.lordem =5
20240710@202112.7044 ej7btrh65anp8mv1qn4128jngk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.719.00.01'
20240710@202112.7217 ej7btrh65anp8mv1qn4128jngk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404590 and bi.ref ='324.719.00.01' and bi.lordem =7
20240710@202112.7775 ej7btrh65anp8mv1qn4128jngk Query : use flama_phc
20240710@202112.7877 ej7btrh65anp8mv1qn4128jngk Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240710@202112.7946 ej7btrh65anp8mv1qn4128jngk Query : use flama_phc
20240710@202112.7951 ej7btrh65anp8mv1qn4128jngk Query : select top 1 1 valor from td where td.ndoc = 39
20240710@202112.7961 ej7btrh65anp8mv1qn4128jngk Query : use flama_phc
20240710@202112.7964 ej7btrh65anp8mv1qn4128jngk 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')
20240710@202112.9262 ipfqd6h4fk19do8kdbt5reg5pa Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240710@202112.9395 ipfqd6h4fk19do8kdbt5reg5pa Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240710@202112.9487 ipfqd6h4fk19do8kdbt5reg5pa Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='851';
20240710@202112.9563 ipfqd6h4fk19do8kdbt5reg5pa Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='851';
20240710@202112.9580 ipfqd6h4fk19do8kdbt5reg5pa Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='851';
20240710@202112.9592 ipfqd6h4fk19do8kdbt5reg5pa Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='851';
20240710@202112.9604 ipfqd6h4fk19do8kdbt5reg5pa Query : use flama_phc
20240710@202112.9607 ipfqd6h4fk19do8kdbt5reg5pa Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240710@202112.9621 ipfqd6h4fk19do8kdbt5reg5pa Query : use flama_phc
20240710@202112.9624 ipfqd6h4fk19do8kdbt5reg5pa Query : select no, estab,szadrsdesc from szadrs where u_coddest=832
20240710@202112.9705 ipfqd6h4fk19do8kdbt5reg5pa Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4906.00.1'
20240710@202112.9877 ipfqd6h4fk19do8kdbt5reg5pa Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404591 and bi.ref ='324.4906.00.1' and bi.lordem =1
20240710@202113.2290 ipfqd6h4fk19do8kdbt5reg5pa Query : use flama_phc
20240710@202113.2320 ipfqd6h4fk19do8kdbt5reg5pa Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240710@202113.2460 ipfqd6h4fk19do8kdbt5reg5pa Query : use flama_phc
20240710@202113.2480 ipfqd6h4fk19do8kdbt5reg5pa Query : select top 1 1 valor from td where td.ndoc = 39
20240710@202113.2700 ipfqd6h4fk19do8kdbt5reg5pa Query : use flama_phc
20240710@202113.2730 ipfqd6h4fk19do8kdbt5reg5pa 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')
20240710@202113.7550 mndcklum3irng52vt40s56bdj4 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240710@202113.7700 mndcklum3irng52vt40s56bdj4 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240710@202113.7870 mndcklum3irng52vt40s56bdj4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='852';
20240710@202113.8930 mndcklum3irng52vt40s56bdj4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='852';
20240710@202113.9110 mndcklum3irng52vt40s56bdj4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='852';
20240710@202113.9250 mndcklum3irng52vt40s56bdj4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='852';
20240710@202113.9380 mndcklum3irng52vt40s56bdj4 Query : use flama_phc
20240710@202113.9410 mndcklum3irng52vt40s56bdj4 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240710@202113.9820 mndcklum3irng52vt40s56bdj4 Query : use flama_phc
20240710@202113.9850 mndcklum3irng52vt40s56bdj4 Query : select no, estab,szadrsdesc from szadrs where u_coddest=746
20240710@202113.1077 mndcklum3irng52vt40s56bdj4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5540.00.1'
20240710@202113.1254 mndcklum3irng52vt40s56bdj4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404592 and bi.ref ='324.5540.00.1' and bi.lordem =1
20240710@202113.1617 mndcklum3irng52vt40s56bdj4 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'
20240710@202113.1628 mndcklum3irng52vt40s56bdj4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404592 and bi.ref ='324.1816.00.1' and bi.lordem =2
20240710@202113.2007 mndcklum3irng52vt40s56bdj4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2231.00.1'
20240710@202113.2181 mndcklum3irng52vt40s56bdj4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404592 and bi.ref ='324.2231.00.1' and bi.lordem =3
20240710@202113.2541 mndcklum3irng52vt40s56bdj4 Query : use flama_phc
20240710@202113.2544 mndcklum3irng52vt40s56bdj4 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240710@202113.2558 mndcklum3irng52vt40s56bdj4 Query : use flama_phc
20240710@202113.2561 mndcklum3irng52vt40s56bdj4 Query : select top 1 1 valor from td where td.ndoc = 39
20240710@202113.2572 mndcklum3irng52vt40s56bdj4 Query : use flama_phc
20240710@202113.2575 mndcklum3irng52vt40s56bdj4 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')
20240710@202113.4033 tabqmfielh393p1uigf82rqru5 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240710@202113.4047 tabqmfielh393p1uigf82rqru5 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240710@202113.4065 tabqmfielh393p1uigf82rqru5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='853';
20240710@202113.4106 tabqmfielh393p1uigf82rqru5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='853';
20240710@202113.4122 tabqmfielh393p1uigf82rqru5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='853';
20240710@202113.4134 tabqmfielh393p1uigf82rqru5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='853';
20240710@202113.4147 tabqmfielh393p1uigf82rqru5 Query : use flama_phc
20240710@202113.4150 tabqmfielh393p1uigf82rqru5 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240710@202113.4164 tabqmfielh393p1uigf82rqru5 Query : use flama_phc
20240710@202113.4166 tabqmfielh393p1uigf82rqru5 Query : select no, estab,szadrsdesc from szadrs where u_coddest=3966
20240710@202113.4244 tabqmfielh393p1uigf82rqru5 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'
20240710@202113.4722 tabqmfielh393p1uigf82rqru5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404593 and bi.ref ='324.2066.00.1' and bi.lordem =1
20240710@202113.5147 tabqmfielh393p1uigf82rqru5 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'
20240710@202113.5368 tabqmfielh393p1uigf82rqru5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404593 and bi.ref ='324.1716.00.1' and bi.lordem =3
20240710@202113.5764 tabqmfielh393p1uigf82rqru5 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'
20240710@202113.5946 tabqmfielh393p1uigf82rqru5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404593 and bi.ref ='324.1417.00.1' and bi.lordem =5
20240710@202113.6422 tabqmfielh393p1uigf82rqru5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1705.00.1'
20240710@202113.6522 tabqmfielh393p1uigf82rqru5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404593 and bi.ref ='324.1705.00.1' and bi.lordem =7
20240710@202113.6891 tabqmfielh393p1uigf82rqru5 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'
20240710@202113.7064 tabqmfielh393p1uigf82rqru5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404593 and bi.ref ='324.2224.00.1' and bi.lordem =9
20240710@202113.7461 tabqmfielh393p1uigf82rqru5 Query : use flama_phc
20240710@202113.7464 tabqmfielh393p1uigf82rqru5 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240710@202113.7478 tabqmfielh393p1uigf82rqru5 Query : use flama_phc
20240710@202113.7481 tabqmfielh393p1uigf82rqru5 Query : select top 1 1 valor from td where td.ndoc = 39
20240710@202113.7491 tabqmfielh393p1uigf82rqru5 Query : use flama_phc
20240710@202113.7494 tabqmfielh393p1uigf82rqru5 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')
20240710@202113.7962 q6t8q5qvcgf37g3bma23bm34v7 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240710@202113.7975 q6t8q5qvcgf37g3bma23bm34v7 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240710@202113.7993 q6t8q5qvcgf37g3bma23bm34v7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='854';
20240710@202113.8033 q6t8q5qvcgf37g3bma23bm34v7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='854';
20240710@202113.8049 q6t8q5qvcgf37g3bma23bm34v7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='854';
20240710@202113.8060 q6t8q5qvcgf37g3bma23bm34v7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='854';
20240710@202113.8073 q6t8q5qvcgf37g3bma23bm34v7 Query : use flama_phc
20240710@202113.8076 q6t8q5qvcgf37g3bma23bm34v7 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240710@202113.8090 q6t8q5qvcgf37g3bma23bm34v7 Query : use flama_phc
20240710@202113.8093 q6t8q5qvcgf37g3bma23bm34v7 Query : select no, estab,szadrsdesc from szadrs where u_coddest=3674
20240710@202113.8168 q6t8q5qvcgf37g3bma23bm34v7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5343.00.1'
20240710@202113.8358 q6t8q5qvcgf37g3bma23bm34v7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404594 and bi.ref ='324.5343.00.1' and bi.lordem =1
20240710@202113.8747 q6t8q5qvcgf37g3bma23bm34v7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5343.00.1'
20240710@202113.8758 q6t8q5qvcgf37g3bma23bm34v7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404594 and bi.ref ='324.5343.00.1' and bi.lordem =1
20240710@202113.8766 q6t8q5qvcgf37g3bma23bm34v7 Query : use flama_phc
20240710@202113.8769 q6t8q5qvcgf37g3bma23bm34v7 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240710@202113.8783 q6t8q5qvcgf37g3bma23bm34v7 Query : use flama_phc
20240710@202113.8786 q6t8q5qvcgf37g3bma23bm34v7 Query : select top 1 1 valor from td where td.ndoc = 39
20240710@202113.8796 q6t8q5qvcgf37g3bma23bm34v7 Query : use flama_phc
20240710@202113.8799 q6t8q5qvcgf37g3bma23bm34v7 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')
20240710@202113.9299 ghgnp0bqodhtceo2c4k59485oj Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240710@202113.9313 ghgnp0bqodhtceo2c4k59485oj Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240710@202113.9331 ghgnp0bqodhtceo2c4k59485oj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='855';
20240710@202113.9373 ghgnp0bqodhtceo2c4k59485oj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='855';
20240710@202113.9390 ghgnp0bqodhtceo2c4k59485oj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='855';
20240710@202113.9402 ghgnp0bqodhtceo2c4k59485oj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='855';
20240710@202113.9415 ghgnp0bqodhtceo2c4k59485oj Query : use flama_phc
20240710@202113.9418 ghgnp0bqodhtceo2c4k59485oj Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240710@202113.9433 ghgnp0bqodhtceo2c4k59485oj Query : use flama_phc
20240710@202113.9436 ghgnp0bqodhtceo2c4k59485oj Query : select no, estab,szadrsdesc from szadrs where u_coddest=4385
20240710@202113.9512 ghgnp0bqodhtceo2c4k59485oj 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'
20240710@202113.9523 ghgnp0bqodhtceo2c4k59485oj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404595 and bi.ref ='324.2066.00.1' and bi.lordem =1
20240710@202113.9892 ghgnp0bqodhtceo2c4k59485oj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5365.00.1'
20240710@202114.5800 ghgnp0bqodhtceo2c4k59485oj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404595 and bi.ref ='324.5365.00.1' and bi.lordem =2
20240710@202114.4050 ghgnp0bqodhtceo2c4k59485oj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20240710@202114.5740 ghgnp0bqodhtceo2c4k59485oj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404595 and bi.ref ='324.692.00.01' and bi.lordem =3
20240710@202114.9460 ghgnp0bqodhtceo2c4k59485oj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1646.00.1'
20240710@202114.1162 ghgnp0bqodhtceo2c4k59485oj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404595 and bi.ref ='324.1646.00.1' and bi.lordem =4
20240710@202114.1533 ghgnp0bqodhtceo2c4k59485oj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.691.00.01'
20240710@202114.1701 ghgnp0bqodhtceo2c4k59485oj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404595 and bi.ref ='324.691.00.01' and bi.lordem =5
20240710@202114.2047 ghgnp0bqodhtceo2c4k59485oj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.642.00.01'
20240710@202114.2243 ghgnp0bqodhtceo2c4k59485oj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404595 and bi.ref ='324.642.00.01' and bi.lordem =6
20240710@202114.2646 ghgnp0bqodhtceo2c4k59485oj Query : use flama_phc
20240710@202114.2649 ghgnp0bqodhtceo2c4k59485oj Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240710@202114.2663 ghgnp0bqodhtceo2c4k59485oj Query : use flama_phc
20240710@202114.2666 ghgnp0bqodhtceo2c4k59485oj Query : select top 1 1 valor from td where td.ndoc = 39
20240710@202114.2676 ghgnp0bqodhtceo2c4k59485oj Query : use flama_phc
20240710@202114.2679 ghgnp0bqodhtceo2c4k59485oj 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')
20240710@202114.3496 dbmf8r000rk92ao8etsjbh1h74 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240710@202114.3511 dbmf8r000rk92ao8etsjbh1h74 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240710@202114.3533 dbmf8r000rk92ao8etsjbh1h74 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='856';
20240710@202114.3587 dbmf8r000rk92ao8etsjbh1h74 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='856';
20240710@202114.3606 dbmf8r000rk92ao8etsjbh1h74 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='856';
20240710@202114.3619 dbmf8r000rk92ao8etsjbh1h74 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='856';
20240710@202114.3636 dbmf8r000rk92ao8etsjbh1h74 Query : use flama_phc
20240710@202114.3640 dbmf8r000rk92ao8etsjbh1h74 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240710@202114.3656 dbmf8r000rk92ao8etsjbh1h74 Query : use flama_phc
20240710@202114.3659 dbmf8r000rk92ao8etsjbh1h74 Query : select no, estab,szadrsdesc from szadrs where u_coddest=3145
20240710@202114.3757 dbmf8r000rk92ao8etsjbh1h74 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8261.00.1'
20240710@202114.3928 dbmf8r000rk92ao8etsjbh1h74 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404596 and bi.ref ='327.8261.00.1' and bi.lordem =1
20240710@202114.4271 dbmf8r000rk92ao8etsjbh1h74 Query : use flama_phc
20240710@202114.4275 dbmf8r000rk92ao8etsjbh1h74 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240710@202114.4288 dbmf8r000rk92ao8etsjbh1h74 Query : use flama_phc
20240710@202114.4291 dbmf8r000rk92ao8etsjbh1h74 Query : select top 1 1 valor from td where td.ndoc = 39
20240710@202114.4302 dbmf8r000rk92ao8etsjbh1h74 Query : use flama_phc
20240710@202114.4305 dbmf8r000rk92ao8etsjbh1h74 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')
20240710@202114.5162 u3864q3me8n5i1r80873qqpdd0 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240710@202114.5177 u3864q3me8n5i1r80873qqpdd0 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240710@202114.5196 u3864q3me8n5i1r80873qqpdd0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='857';
20240710@202114.5238 u3864q3me8n5i1r80873qqpdd0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='857';
20240710@202114.5254 u3864q3me8n5i1r80873qqpdd0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='857';
20240710@202114.5266 u3864q3me8n5i1r80873qqpdd0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='857';
20240710@202114.5279 u3864q3me8n5i1r80873qqpdd0 Query : use flama_phc
20240710@202114.5282 u3864q3me8n5i1r80873qqpdd0 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240710@202114.5297 u3864q3me8n5i1r80873qqpdd0 Query : use flama_phc
20240710@202114.5299 u3864q3me8n5i1r80873qqpdd0 Query : select no, estab,szadrsdesc from szadrs where u_coddest=1763
20240710@202114.5373 u3864q3me8n5i1r80873qqpdd0 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'
20240710@202114.5556 u3864q3me8n5i1r80873qqpdd0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404597 and bi.ref ='304.4320.00.1' and bi.lordem =1
20240710@202114.5959 u3864q3me8n5i1r80873qqpdd0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1879.00.1'
20240710@202114.6131 u3864q3me8n5i1r80873qqpdd0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404597 and bi.ref ='324.1879.00.1' and bi.lordem =2
20240710@202114.6662 u3864q3me8n5i1r80873qqpdd0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1416.00.1'
20240710@202114.6677 u3864q3me8n5i1r80873qqpdd0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404597 and bi.ref ='324.1416.00.1' and bi.lordem =3
20240710@202114.8254 u3864q3me8n5i1r80873qqpdd0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.938.00.01'
20240710@202114.8512 u3864q3me8n5i1r80873qqpdd0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404597 and bi.ref ='324.938.00.01' and bi.lordem =4
20240710@202114.8869 u3864q3me8n5i1r80873qqpdd0 Query : use flama_phc
20240710@202114.8874 u3864q3me8n5i1r80873qqpdd0 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240710@202114.8888 u3864q3me8n5i1r80873qqpdd0 Query : use flama_phc
20240710@202114.8891 u3864q3me8n5i1r80873qqpdd0 Query : select top 1 1 valor from td where td.ndoc = 39
20240710@202114.8901 u3864q3me8n5i1r80873qqpdd0 Query : use flama_phc
20240710@202114.8904 u3864q3me8n5i1r80873qqpdd0 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')
20240710@202114.9384 l7e7l4llrkpk1bp3jog7fcg4fm Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240710@202114.9397 l7e7l4llrkpk1bp3jog7fcg4fm Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240710@202114.9415 l7e7l4llrkpk1bp3jog7fcg4fm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='858';
20240710@202114.9458 l7e7l4llrkpk1bp3jog7fcg4fm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='858';
20240710@202114.9474 l7e7l4llrkpk1bp3jog7fcg4fm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='858';
20240710@202114.9486 l7e7l4llrkpk1bp3jog7fcg4fm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='858';
20240710@202114.9499 l7e7l4llrkpk1bp3jog7fcg4fm Query : use flama_phc
20240710@202114.9502 l7e7l4llrkpk1bp3jog7fcg4fm Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240710@202114.9517 l7e7l4llrkpk1bp3jog7fcg4fm Query : use flama_phc
20240710@202114.9520 l7e7l4llrkpk1bp3jog7fcg4fm Query : select no, estab,szadrsdesc from szadrs where u_coddest=2014
20240710@202114.9594 l7e7l4llrkpk1bp3jog7fcg4fm 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'
20240710@202114.9768 l7e7l4llrkpk1bp3jog7fcg4fm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2045 and bo.obrano = 2404598 and bi.ref ='327.8253.00.1' and bi.lordem =1
20240710@202115.1200 l7e7l4llrkpk1bp3jog7fcg4fm Query : use flama_phc
20240710@202115.1230 l7e7l4llrkpk1bp3jog7fcg4fm Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240710@202115.1390 l7e7l4llrkpk1bp3jog7fcg4fm Query : use flama_phc
20240710@202115.1420 l7e7l4llrkpk1bp3jog7fcg4fm Query : select top 1 1 valor from td where td.ndoc = 39
20240710@202115.1540 l7e7l4llrkpk1bp3jog7fcg4fm Query : use flama_phc
20240710@202115.1570 l7e7l4llrkpk1bp3jog7fcg4fm 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')
20240710@202115.6350 aj5be2qo1ohetqcg9ope1n6qbf Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240710@202115.6480 aj5be2qo1ohetqcg9ope1n6qbf Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240710@202115.6660 aj5be2qo1ohetqcg9ope1n6qbf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='859';
20240710@202115.7090 aj5be2qo1ohetqcg9ope1n6qbf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='859';
20240710@202115.7250 aj5be2qo1ohetqcg9ope1n6qbf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='859';
20240710@202115.7400 aj5be2qo1ohetqcg9ope1n6qbf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='859';
20240710@202115.7700 aj5be2qo1ohetqcg9ope1n6qbf Query : use flama_phc
20240710@202115.7770 aj5be2qo1ohetqcg9ope1n6qbf Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240710@202115.7930 aj5be2qo1ohetqcg9ope1n6qbf Query : use flama_phc
20240710@202115.7960 aj5be2qo1ohetqcg9ope1n6qbf Query : select no, estab,szadrsdesc from szadrs where u_coddest=4790
20240710@202115.8790 aj5be2qo1ohetqcg9ope1n6qbf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1670.00.1'
20240710@202115.8910 aj5be2qo1ohetqcg9ope1n6qbf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404600 and bi.ref ='324.1670.00.1' and bi.lordem =1
20240710@202115.1345 aj5be2qo1ohetqcg9ope1n6qbf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1670.00.1'
20240710@202115.1355 aj5be2qo1ohetqcg9ope1n6qbf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404600 and bi.ref ='324.1670.00.1' and bi.lordem =1
20240710@202115.1362 aj5be2qo1ohetqcg9ope1n6qbf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1670.00.1'
20240710@202115.1371 aj5be2qo1ohetqcg9ope1n6qbf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404600 and bi.ref ='324.1670.00.1' and bi.lordem =1
20240710@202115.1378 aj5be2qo1ohetqcg9ope1n6qbf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1670.00.1'
20240710@202115.1388 aj5be2qo1ohetqcg9ope1n6qbf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404600 and bi.ref ='324.1670.00.1' and bi.lordem =1
20240710@202115.1394 aj5be2qo1ohetqcg9ope1n6qbf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1608.00.1'
20240710@202115.1637 aj5be2qo1ohetqcg9ope1n6qbf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404600 and bi.ref ='324.1608.00.1' and bi.lordem =2
20240710@202115.2043 aj5be2qo1ohetqcg9ope1n6qbf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1667.00.1'
20240710@202115.2213 aj5be2qo1ohetqcg9ope1n6qbf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404600 and bi.ref ='324.1667.00.1' and bi.lordem =3
20240710@202115.2559 aj5be2qo1ohetqcg9ope1n6qbf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1667.00.1'
20240710@202115.2570 aj5be2qo1ohetqcg9ope1n6qbf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404600 and bi.ref ='324.1667.00.1' and bi.lordem =3
20240710@202115.2577 aj5be2qo1ohetqcg9ope1n6qbf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1667.00.1'
20240710@202115.2586 aj5be2qo1ohetqcg9ope1n6qbf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404600 and bi.ref ='324.1667.00.1' and bi.lordem =3
20240710@202115.2593 aj5be2qo1ohetqcg9ope1n6qbf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1667.00.1'
20240710@202115.2601 aj5be2qo1ohetqcg9ope1n6qbf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404600 and bi.ref ='324.1667.00.1' and bi.lordem =3
20240710@202115.2608 aj5be2qo1ohetqcg9ope1n6qbf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '325.1670.3015'
20240710@202115.2617 aj5be2qo1ohetqcg9ope1n6qbf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404600 and bi.ref ='325.1670.3015' and bi.lordem =4
20240710@202115.2984 aj5be2qo1ohetqcg9ope1n6qbf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1646.00.1'
20240710@202115.2994 aj5be2qo1ohetqcg9ope1n6qbf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404600 and bi.ref ='324.1646.00.1' and bi.lordem =5
20240710@202115.3341 aj5be2qo1ohetqcg9ope1n6qbf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1646.00.1'
20240710@202115.3351 aj5be2qo1ohetqcg9ope1n6qbf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404600 and bi.ref ='324.1646.00.1' and bi.lordem =5
20240710@202115.3358 aj5be2qo1ohetqcg9ope1n6qbf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1646.00.1'
20240710@202115.3367 aj5be2qo1ohetqcg9ope1n6qbf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404600 and bi.ref ='324.1646.00.1' and bi.lordem =5
20240710@202115.3374 aj5be2qo1ohetqcg9ope1n6qbf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1646.00.1'
20240710@202115.3382 aj5be2qo1ohetqcg9ope1n6qbf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404600 and bi.ref ='324.1646.00.1' and bi.lordem =5
20240710@202115.3389 aj5be2qo1ohetqcg9ope1n6qbf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1684.00.1'
20240710@202115.3576 aj5be2qo1ohetqcg9ope1n6qbf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404600 and bi.ref ='324.1684.00.1' and bi.lordem =7
20240710@202115.3917 aj5be2qo1ohetqcg9ope1n6qbf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1684.00.1'
20240710@202115.3928 aj5be2qo1ohetqcg9ope1n6qbf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404600 and bi.ref ='324.1684.00.1' and bi.lordem =7
20240710@202115.3935 aj5be2qo1ohetqcg9ope1n6qbf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1684.00.1'
20240710@202115.3944 aj5be2qo1ohetqcg9ope1n6qbf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404600 and bi.ref ='324.1684.00.1' and bi.lordem =7
20240710@202115.3951 aj5be2qo1ohetqcg9ope1n6qbf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1684.00.1'
20240710@202115.3961 aj5be2qo1ohetqcg9ope1n6qbf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404600 and bi.ref ='324.1684.00.1' and bi.lordem =7
20240710@202115.3968 aj5be2qo1ohetqcg9ope1n6qbf Query : use flama_phc
20240710@202115.3972 aj5be2qo1ohetqcg9ope1n6qbf Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240710@202115.3986 aj5be2qo1ohetqcg9ope1n6qbf Query : use flama_phc
20240710@202115.3989 aj5be2qo1ohetqcg9ope1n6qbf Query : select top 1 1 valor from td where td.ndoc = 39
20240710@202115.3999 aj5be2qo1ohetqcg9ope1n6qbf Query : use flama_phc
20240710@202115.4002 aj5be2qo1ohetqcg9ope1n6qbf 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')
20240710@203611.8544 qbptjmu8i45rk1jsfer2nudu7n Query : use flama_phc
20240710@203611.8548 qbptjmu8i45rk1jsfer2nudu7n Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240710@203611.8567 qbptjmu8i45rk1jsfer2nudu7n Query : use flama_phc
20240710@203611.8570 qbptjmu8i45rk1jsfer2nudu7n Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240710@211910.1648 md8dn7ccslfte5gm6kstc4qtkj Query : use flama_phc
20240710@211910.1653 md8dn7ccslfte5gm6kstc4qtkj Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240710@211910.1673 md8dn7ccslfte5gm6kstc4qtkj Query : use flama_phc
20240710@211910.1676 md8dn7ccslfte5gm6kstc4qtkj Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240710@213610.2423 ph7cpgh9un9oapkhi0hbsk6a9f Query : use flama_phc
20240710@213610.2428 ph7cpgh9un9oapkhi0hbsk6a9f Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240710@213610.2447 ph7cpgh9un9oapkhi0hbsk6a9f Query : use flama_phc
20240710@213610.2450 ph7cpgh9un9oapkhi0hbsk6a9f Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240710@221915.1835 mevv303tmui2po86snoi1e86a8 Query : use flama_phc
20240710@221915.1841 mevv303tmui2po86snoi1e86a8 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240710@221915.1859 mevv303tmui2po86snoi1e86a8 Query : use flama_phc
20240710@221915.1862 mevv303tmui2po86snoi1e86a8 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240710@223614.9479 jib7a1neladuibs36r204qc8b0 Query : use flama_phc
20240710@223614.9485 jib7a1neladuibs36r204qc8b0 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240710@223614.9503 jib7a1neladuibs36r204qc8b0 Query : use flama_phc
20240710@223614.9506 jib7a1neladuibs36r204qc8b0 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240710@231910.8906 ituit1qfpufc976cao7fo9srtv Query : use flama_phc
20240710@231910.8911 ituit1qfpufc976cao7fo9srtv Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240710@231910.8930 ituit1qfpufc976cao7fo9srtv Query : use flama_phc
20240710@231910.8933 ituit1qfpufc976cao7fo9srtv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240710@233610.7207 5d0b7mt9min3brlithkvc6svrf Query : use flama_phc
20240710@233610.7213 5d0b7mt9min3brlithkvc6svrf Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240710@233610.7231 5d0b7mt9min3brlithkvc6svrf Query : use flama_phc
20240710@233610.7233 5d0b7mt9min3brlithkvc6svrf Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240711@071912.6350 65sna95m3ib2723nc7abin6s6s Query : use flama_phc
20240711@071912.6357 65sna95m3ib2723nc7abin6s6s Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240711@071912.6885 65sna95m3ib2723nc7abin6s6s Query : use flama_phc
20240711@071912.7005 65sna95m3ib2723nc7abin6s6s Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240711@073647.8671 itdnu9fnjncufc35g6n1cp6k41 Query : use flama_phc
20240711@073647.8676 itdnu9fnjncufc35g6n1cp6k41 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240711@073647.8694 itdnu9fnjncufc35g6n1cp6k41 Query : use flama_phc
20240711@073647.8696 itdnu9fnjncufc35g6n1cp6k41 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240711@081909.9460 0123plu1cjku1uhq48u6vhqrt9 Query : use flama_phc
20240711@081909.9467 0123plu1cjku1uhq48u6vhqrt9 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240711@081909.9529 0123plu1cjku1uhq48u6vhqrt9 Query : use flama_phc
20240711@081909.9533 0123plu1cjku1uhq48u6vhqrt9 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240711@083609.9530 tu1ca9q66ke91eah6j0mhsrakd Query : use flama_phc
20240711@083609.9568 tu1ca9q66ke91eah6j0mhsrakd Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240711@083609.9585 tu1ca9q66ke91eah6j0mhsrakd Query : use flama_phc
20240711@083609.9588 tu1ca9q66ke91eah6j0mhsrakd Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240711@091913.5393 tupere7jdmiteln6r7eentisin Query : use flama_phc
20240711@091913.5398 tupere7jdmiteln6r7eentisin Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240711@091913.5459 tupere7jdmiteln6r7eentisin Query : use flama_phc
20240711@091913.5462 tupere7jdmiteln6r7eentisin Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240711@093613.2452 jpk26ba6afbki8mr7vuo5j3ppl Query : use flama_phc
20240711@093613.2457 jpk26ba6afbki8mr7vuo5j3ppl Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240711@093613.2513 jpk26ba6afbki8mr7vuo5j3ppl Query : use flama_phc
20240711@093613.2516 jpk26ba6afbki8mr7vuo5j3ppl Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240711@101910.6460 5ohe3bame21flvlhlqc9or6oub Query : use flama_phc
20240711@101910.6465 5ohe3bame21flvlhlqc9or6oub Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240711@101910.6518 5ohe3bame21flvlhlqc9or6oub Query : use flama_phc
20240711@101910.6521 5ohe3bame21flvlhlqc9or6oub Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240711@103610.6505 ahv7smmf1jror2cj6urfpdb3s0 Query : use flama_phc
20240711@103610.6510 ahv7smmf1jror2cj6urfpdb3s0 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240711@103610.6564 ahv7smmf1jror2cj6urfpdb3s0 Query : use flama_phc
20240711@103610.6567 ahv7smmf1jror2cj6urfpdb3s0 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240711@111910.6028 nu4e0mob2saa6492i7bepp2odf Query : use flama_phc
20240711@111910.6033 nu4e0mob2saa6492i7bepp2odf Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240711@111910.6051 nu4e0mob2saa6492i7bepp2odf Query : use flama_phc
20240711@111910.6054 nu4e0mob2saa6492i7bepp2odf Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240711@113610.6458 r652a2c9hb9imao4q57mmvmllq Query : use flama_phc
20240711@113610.6987 r652a2c9hb9imao4q57mmvmllq Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240711@113610.7053 r652a2c9hb9imao4q57mmvmllq Query : use flama_phc
20240711@113610.7079 r652a2c9hb9imao4q57mmvmllq Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240711@121911.8648 386or0ol9t6vnh9d3mj3rvaqb6 Query : use flama_phc
20240711@121911.8656 386or0ol9t6vnh9d3mj3rvaqb6 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240711@121911.8675 386or0ol9t6vnh9d3mj3rvaqb6 Query : use flama_phc
20240711@121911.8678 386or0ol9t6vnh9d3mj3rvaqb6 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240711@123611.9318 e3jvjhbh3ld3u23qih0u7d7voo Query : use flama_phc
20240711@123611.9323 e3jvjhbh3ld3u23qih0u7d7voo Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240711@123611.9340 e3jvjhbh3ld3u23qih0u7d7voo Query : use flama_phc
20240711@123611.9342 e3jvjhbh3ld3u23qih0u7d7voo Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240711@131911.1384 i6evmkgbbffraddr5u4qan183d Query : use flama_phc
20240711@131911.1389 i6evmkgbbffraddr5u4qan183d Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240711@131911.1454 i6evmkgbbffraddr5u4qan183d Query : use flama_phc
20240711@131911.1457 i6evmkgbbffraddr5u4qan183d Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240711@133611.1948 fudqc6nfv8d04fqnugniish0cd Query : use flama_phc
20240711@133611.1953 fudqc6nfv8d04fqnugniish0cd Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240711@133611.1971 fudqc6nfv8d04fqnugniish0cd Query : use flama_phc
20240711@133611.1974 fudqc6nfv8d04fqnugniish0cd Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240711@141910.9600 l0embuknp03ub4vcc6o0ubb6si Query : use flama_phc
20240711@141910.1010 l0embuknp03ub4vcc6o0ubb6si Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240711@141910.1170 l0embuknp03ub4vcc6o0ubb6si Query : use flama_phc
20240711@141910.1200 l0embuknp03ub4vcc6o0ubb6si Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240711@143610.5160 u28rvc9ukshdrib2e8n5lft4cg Query : use flama_phc
20240711@143610.5200 u28rvc9ukshdrib2e8n5lft4cg Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240711@143610.5390 u28rvc9ukshdrib2e8n5lft4cg Query : use flama_phc
20240711@143610.5410 u28rvc9ukshdrib2e8n5lft4cg Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240711@151911.8520 nq6gjhg96lkg5mh6uskvrnkvmc Query : use flama_phc
20240711@151911.8531 nq6gjhg96lkg5mh6uskvrnkvmc Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240711@151911.8549 nq6gjhg96lkg5mh6uskvrnkvmc Query : use flama_phc
20240711@151911.8552 nq6gjhg96lkg5mh6uskvrnkvmc Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240711@153612.1754 ne9cajmjuosq1hd8rgrjk25tij Query : use flama_phc
20240711@153612.1762 ne9cajmjuosq1hd8rgrjk25tij Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240711@153612.1956 ne9cajmjuosq1hd8rgrjk25tij Query : use flama_phc
20240711@153612.2023 ne9cajmjuosq1hd8rgrjk25tij Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240711@161923.3377 711qqlbctgnp434fo0m7i54cuc Query : use flama_phc
20240711@161923.3381 711qqlbctgnp434fo0m7i54cuc Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240711@161923.3422 711qqlbctgnp434fo0m7i54cuc Query : use flama_phc
20240711@161923.3533 711qqlbctgnp434fo0m7i54cuc Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240711@163623.6572 m495a5p9f31jr05ghuff2k53lm Query : use flama_phc
20240711@163623.6578 m495a5p9f31jr05ghuff2k53lm Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240711@163623.6596 m495a5p9f31jr05ghuff2k53lm Query : use flama_phc
20240711@163623.6600 m495a5p9f31jr05ghuff2k53lm Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240711@171909.4530 0su36ghg060v7hgfoot2sd2b1i Query : use flama_phc
20240711@171909.4535 0su36ghg060v7hgfoot2sd2b1i Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240711@171909.4594 0su36ghg060v7hgfoot2sd2b1i Query : use flama_phc
20240711@171909.4597 0su36ghg060v7hgfoot2sd2b1i Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240711@173609.7539 46m6gul1h8hbk1sisms79tdppa Query : use flama_phc
20240711@173609.7544 46m6gul1h8hbk1sisms79tdppa Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240711@173609.7562 46m6gul1h8hbk1sisms79tdppa Query : use flama_phc
20240711@173609.7564 46m6gul1h8hbk1sisms79tdppa Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240711@181913.9127 0ourp6hdkge38em3mj01e6gvs9 Query : use flama_phc
20240711@181913.9131 0ourp6hdkge38em3mj01e6gvs9 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240711@181913.9148 0ourp6hdkge38em3mj01e6gvs9 Query : use flama_phc
20240711@181913.9151 0ourp6hdkge38em3mj01e6gvs9 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240711@183614.4680 liv13tqfv98grdppgl9rt1g5pb Query : use flama_phc
20240711@183614.4730 liv13tqfv98grdppgl9rt1g5pb Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240711@183614.4910 liv13tqfv98grdppgl9rt1g5pb Query : use flama_phc
20240711@183614.4940 liv13tqfv98grdppgl9rt1g5pb Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240711@191958.2247 k800a55gcct5bui9c2kquur5l7 Query : use flama_phc
20240711@191958.2254 k800a55gcct5bui9c2kquur5l7 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240711@191958.2279 k800a55gcct5bui9c2kquur5l7 Query : use flama_phc
20240711@191958.2283 k800a55gcct5bui9c2kquur5l7 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240711@193658.3926 k0p2rju04jsvuge8icjpdgbm40 Query : use flama_phc
20240711@193658.3934 k0p2rju04jsvuge8icjpdgbm40 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240711@193658.3954 k0p2rju04jsvuge8icjpdgbm40 Query : use flama_phc
20240711@193658.3957 k0p2rju04jsvuge8icjpdgbm40 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240711@201915.6307 en34bqgr1rhkij1v3emo3dbcu9 Query : use flama_phc
20240711@201915.6312 en34bqgr1rhkij1v3emo3dbcu9 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240711@201915.6333 en34bqgr1rhkij1v3emo3dbcu9 Query : use flama_phc
20240711@201915.6335 en34bqgr1rhkij1v3emo3dbcu9 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240711@203615.5720 5ra157mc318aeljst1u8ec2p05 Query : use flama_phc
20240711@203615.5724 5ra157mc318aeljst1u8ec2p05 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240711@203615.5741 5ra157mc318aeljst1u8ec2p05 Query : use flama_phc
20240711@203615.5744 5ra157mc318aeljst1u8ec2p05 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240711@211910.5771 rnaagdqe4u4ledc0ujjk4m2ue1 Query : use flama_phc
20240711@211910.5776 rnaagdqe4u4ledc0ujjk4m2ue1 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240711@211910.5793 rnaagdqe4u4ledc0ujjk4m2ue1 Query : use flama_phc
20240711@211910.5796 rnaagdqe4u4ledc0ujjk4m2ue1 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240711@212437.6717 p8bemsefvlu114qabmv2gc6c0f Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240711@212437.6750 p8bemsefvlu114qabmv2gc6c0f Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240711@212437.6868 p8bemsefvlu114qabmv2gc6c0f Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='866';
20240711@212437.6914 p8bemsefvlu114qabmv2gc6c0f Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='866';
20240711@212437.6996 p8bemsefvlu114qabmv2gc6c0f Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='866';
20240711@212437.7011 p8bemsefvlu114qabmv2gc6c0f Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='866';
20240711@212437.7025 p8bemsefvlu114qabmv2gc6c0f Query : use flama_phc
20240711@212437.7028 p8bemsefvlu114qabmv2gc6c0f Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240711@212437.7076 p8bemsefvlu114qabmv2gc6c0f Query : use flama_phc
20240711@212437.7079 p8bemsefvlu114qabmv2gc6c0f Query : select no, estab,szadrsdesc from szadrs where u_coddest=2332
20240711@212437.7142 p8bemsefvlu114qabmv2gc6c0f Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5540.00.1'
20240711@212437.7306 p8bemsefvlu114qabmv2gc6c0f Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404602 and bi.ref ='324.5540.00.1' and bi.lordem =1
20240711@212437.7580 p8bemsefvlu114qabmv2gc6c0f Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5365.00.1'
20240711@212437.7733 p8bemsefvlu114qabmv2gc6c0f Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404602 and bi.ref ='324.5365.00.1' and bi.lordem =2
20240711@212437.8393 p8bemsefvlu114qabmv2gc6c0f Query : use flama_phc
20240711@212437.9057 p8bemsefvlu114qabmv2gc6c0f Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240711@212437.9200 p8bemsefvlu114qabmv2gc6c0f Query : use flama_phc
20240711@212437.9203 p8bemsefvlu114qabmv2gc6c0f Query : select top 1 1 valor from td where td.ndoc = 39
20240711@212437.9252 p8bemsefvlu114qabmv2gc6c0f Query : use flama_phc
20240711@212437.9255 p8bemsefvlu114qabmv2gc6c0f 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')
20240711@212437.9500 p8bemsefvlu114qabmv2gc6c0f 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 = 39
20240711@212437.9595 p8bemsefvlu114qabmv2gc6c0f Query : use flama_phc
20240711@212437.9598 p8bemsefvlu114qabmv2gc6c0f Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240711@212437.9635 p8bemsefvlu114qabmv2gc6c0f Query : use flama_phc
20240711@212437.9637 p8bemsefvlu114qabmv2gc6c0f Query : select szadrsstamp valor from szadrs where szadrsdesc='virgilio pereira neves'
20240711@212437.9650 p8bemsefvlu114qabmv2gc6c0f Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='866';
20240711@212437.9664 p8bemsefvlu114qabmv2gc6c0f Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='866';
20240711@212438.1570 eor2rhk75s3eqs9tlgn2brrklm Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240711@212438.1700 eor2rhk75s3eqs9tlgn2brrklm Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240711@212438.1920 eor2rhk75s3eqs9tlgn2brrklm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='867';
20240711@212438.2310 eor2rhk75s3eqs9tlgn2brrklm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='867';
20240711@212438.2480 eor2rhk75s3eqs9tlgn2brrklm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='867';
20240711@212438.2600 eor2rhk75s3eqs9tlgn2brrklm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='867';
20240711@212438.2740 eor2rhk75s3eqs9tlgn2brrklm Query : use flama_phc
20240711@212438.2770 eor2rhk75s3eqs9tlgn2brrklm Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240711@212438.2930 eor2rhk75s3eqs9tlgn2brrklm Query : use flama_phc
20240711@212438.2960 eor2rhk75s3eqs9tlgn2brrklm Query : select no, estab,szadrsdesc from szadrs where u_coddest=2270
20240711@212438.3670 eor2rhk75s3eqs9tlgn2brrklm 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'
20240711@212438.5210 eor2rhk75s3eqs9tlgn2brrklm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404603 and bi.ref ='324.1676.00.1' and bi.lordem =1
20240711@212438.7870 eor2rhk75s3eqs9tlgn2brrklm 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'
20240711@212438.7980 eor2rhk75s3eqs9tlgn2brrklm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404603 and bi.ref ='324.1676.00.1' and bi.lordem =2
20240711@212438.1055 eor2rhk75s3eqs9tlgn2brrklm Query : use flama_phc
20240711@212438.1058 eor2rhk75s3eqs9tlgn2brrklm Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240711@212438.1073 eor2rhk75s3eqs9tlgn2brrklm Query : use flama_phc
20240711@212438.1076 eor2rhk75s3eqs9tlgn2brrklm Query : select top 1 1 valor from td where td.ndoc = 39
20240711@212438.1087 eor2rhk75s3eqs9tlgn2brrklm Query : use flama_phc
20240711@212438.1090 eor2rhk75s3eqs9tlgn2brrklm 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')
20240711@212438.1110 eor2rhk75s3eqs9tlgn2brrklm 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 = 39
20240711@212438.1125 eor2rhk75s3eqs9tlgn2brrklm Query : use flama_phc
20240711@212438.1128 eor2rhk75s3eqs9tlgn2brrklm Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240711@212438.1139 eor2rhk75s3eqs9tlgn2brrklm Query : use flama_phc
20240711@212438.1142 eor2rhk75s3eqs9tlgn2brrklm Query : select szadrsstamp valor from szadrs where szadrsdesc='carlos luis unipessoal lda'
20240711@212438.1154 eor2rhk75s3eqs9tlgn2brrklm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='867';
20240711@212438.1168 eor2rhk75s3eqs9tlgn2brrklm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='867';
20240711@212438.1655 63r18kcaag3dsaqtlnuv2tnikv Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240711@212438.1667 63r18kcaag3dsaqtlnuv2tnikv Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240711@212438.1684 63r18kcaag3dsaqtlnuv2tnikv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='868';
20240711@212438.1722 63r18kcaag3dsaqtlnuv2tnikv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='868';
20240711@212438.1737 63r18kcaag3dsaqtlnuv2tnikv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='868';
20240711@212438.1749 63r18kcaag3dsaqtlnuv2tnikv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='868';
20240711@212438.1763 63r18kcaag3dsaqtlnuv2tnikv Query : use flama_phc
20240711@212438.1766 63r18kcaag3dsaqtlnuv2tnikv Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240711@212438.1780 63r18kcaag3dsaqtlnuv2tnikv Query : use flama_phc
20240711@212438.1783 63r18kcaag3dsaqtlnuv2tnikv Query : select no, estab,szadrsdesc from szadrs where u_coddest=339
20240711@212438.1844 63r18kcaag3dsaqtlnuv2tnikv 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'
20240711@212438.2000 63r18kcaag3dsaqtlnuv2tnikv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404604 and bi.ref ='324.1816.00.1' and bi.lordem =1
20240711@212438.2254 63r18kcaag3dsaqtlnuv2tnikv 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'
20240711@212438.2265 63r18kcaag3dsaqtlnuv2tnikv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404604 and bi.ref ='324.1816.00.1' and bi.lordem =1
20240711@212438.2272 63r18kcaag3dsaqtlnuv2tnikv 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'
20240711@212438.2283 63r18kcaag3dsaqtlnuv2tnikv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404604 and bi.ref ='324.1816.00.1' and bi.lordem =2
20240711@212438.2536 63r18kcaag3dsaqtlnuv2tnikv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.691.00.01'
20240711@212438.2686 63r18kcaag3dsaqtlnuv2tnikv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404604 and bi.ref ='324.691.00.01' and bi.lordem =3
20240711@212438.2941 63r18kcaag3dsaqtlnuv2tnikv Query : use flama_phc
20240711@212438.2944 63r18kcaag3dsaqtlnuv2tnikv Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240711@212438.2958 63r18kcaag3dsaqtlnuv2tnikv Query : use flama_phc
20240711@212438.2961 63r18kcaag3dsaqtlnuv2tnikv Query : select top 1 1 valor from td where td.ndoc = 39
20240711@212438.2971 63r18kcaag3dsaqtlnuv2tnikv Query : use flama_phc
20240711@212438.2974 63r18kcaag3dsaqtlnuv2tnikv 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')
20240711@212438.2992 63r18kcaag3dsaqtlnuv2tnikv 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 = 39
20240711@212438.3007 63r18kcaag3dsaqtlnuv2tnikv Query : use flama_phc
20240711@212438.3010 63r18kcaag3dsaqtlnuv2tnikv Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240711@212438.3021 63r18kcaag3dsaqtlnuv2tnikv Query : use flama_phc
20240711@212438.3024 63r18kcaag3dsaqtlnuv2tnikv Query : select szadrsstamp valor from szadrs where szadrsdesc='electrÃo, lda.'
20240711@212438.3038 63r18kcaag3dsaqtlnuv2tnikv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='868';
20240711@212438.3055 63r18kcaag3dsaqtlnuv2tnikv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='868';
20240711@212438.3885 92bhpdir4nd06c548t4o59scor Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240711@212438.3897 92bhpdir4nd06c548t4o59scor Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240711@212438.3914 92bhpdir4nd06c548t4o59scor Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='869';
20240711@212438.3954 92bhpdir4nd06c548t4o59scor Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='869';
20240711@212438.3969 92bhpdir4nd06c548t4o59scor Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='869';
20240711@212438.3981 92bhpdir4nd06c548t4o59scor Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='869';
20240711@212438.5111 92bhpdir4nd06c548t4o59scor Query : use flama_phc
20240711@212438.5115 92bhpdir4nd06c548t4o59scor Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240711@212438.5131 92bhpdir4nd06c548t4o59scor Query : use flama_phc
20240711@212438.5134 92bhpdir4nd06c548t4o59scor Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240711@212438.5197 92bhpdir4nd06c548t4o59scor Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4006.00.2'
20240711@212438.5378 92bhpdir4nd06c548t4o59scor Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404607 and bi.ref ='304.4006.00.2' and bi.lordem =1
20240711@212438.5633 92bhpdir4nd06c548t4o59scor Query : use flama_phc
20240711@212438.5636 92bhpdir4nd06c548t4o59scor Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240711@212438.5651 92bhpdir4nd06c548t4o59scor Query : use flama_phc
20240711@212438.5655 92bhpdir4nd06c548t4o59scor Query : select top 1 1 valor from td where td.ndoc = 39
20240711@212438.5665 92bhpdir4nd06c548t4o59scor Query : use flama_phc
20240711@212438.5668 92bhpdir4nd06c548t4o59scor 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')
20240711@212438.5687 92bhpdir4nd06c548t4o59scor 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 = 39
20240711@212438.5702 92bhpdir4nd06c548t4o59scor Query : use flama_phc
20240711@212438.5705 92bhpdir4nd06c548t4o59scor Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240711@212438.5722 92bhpdir4nd06c548t4o59scor Query : use flama_phc
20240711@212438.5725 92bhpdir4nd06c548t4o59scor Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240711@212438.5738 92bhpdir4nd06c548t4o59scor Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='869';
20240711@212438.5752 92bhpdir4nd06c548t4o59scor Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='869';
20240711@212438.6215 d1u546p0s8t2qhe4ndvteqofie Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240711@212438.6227 d1u546p0s8t2qhe4ndvteqofie Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240711@212438.6244 d1u546p0s8t2qhe4ndvteqofie Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='870';
20240711@212438.6282 d1u546p0s8t2qhe4ndvteqofie Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='870';
20240711@212438.6299 d1u546p0s8t2qhe4ndvteqofie Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='870';
20240711@212438.6311 d1u546p0s8t2qhe4ndvteqofie Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='870';
20240711@212438.6324 d1u546p0s8t2qhe4ndvteqofie Query : use flama_phc
20240711@212438.6327 d1u546p0s8t2qhe4ndvteqofie Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240711@212438.6342 d1u546p0s8t2qhe4ndvteqofie Query : use flama_phc
20240711@212438.6345 d1u546p0s8t2qhe4ndvteqofie Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240711@212438.6372 d1u546p0s8t2qhe4ndvteqofie 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'
20240711@212438.6541 d1u546p0s8t2qhe4ndvteqofie Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404608 and bi.ref ='304.4320.00.1' and bi.lordem =1
20240711@212438.6796 d1u546p0s8t2qhe4ndvteqofie 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'
20240711@212438.6808 d1u546p0s8t2qhe4ndvteqofie Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404608 and bi.ref ='304.4320.00.1' and bi.lordem =1
20240711@212438.6815 d1u546p0s8t2qhe4ndvteqofie 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'
20240711@212438.6825 d1u546p0s8t2qhe4ndvteqofie Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404608 and bi.ref ='304.4320.00.1' and bi.lordem =1
20240711@212438.6832 d1u546p0s8t2qhe4ndvteqofie 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'
20240711@212438.6842 d1u546p0s8t2qhe4ndvteqofie Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404608 and bi.ref ='304.4320.00.1' and bi.lordem =1
20240711@212438.6848 d1u546p0s8t2qhe4ndvteqofie 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'
20240711@212438.6858 d1u546p0s8t2qhe4ndvteqofie Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404608 and bi.ref ='304.4320.00.1' and bi.lordem =1
20240711@212438.6865 d1u546p0s8t2qhe4ndvteqofie Query : use flama_phc
20240711@212438.6869 d1u546p0s8t2qhe4ndvteqofie Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240711@212438.6882 d1u546p0s8t2qhe4ndvteqofie Query : use flama_phc
20240711@212438.6885 d1u546p0s8t2qhe4ndvteqofie Query : select top 1 1 valor from td where td.ndoc = 39
20240711@212438.6897 d1u546p0s8t2qhe4ndvteqofie Query : use flama_phc
20240711@212438.6899 d1u546p0s8t2qhe4ndvteqofie 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')
20240711@212438.6918 d1u546p0s8t2qhe4ndvteqofie 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 = 39
20240711@212438.6934 d1u546p0s8t2qhe4ndvteqofie Query : use flama_phc
20240711@212438.6937 d1u546p0s8t2qhe4ndvteqofie Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240711@212438.6947 d1u546p0s8t2qhe4ndvteqofie Query : use flama_phc
20240711@212438.6950 d1u546p0s8t2qhe4ndvteqofie Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240711@212438.6961 d1u546p0s8t2qhe4ndvteqofie Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='870';
20240711@212438.6981 d1u546p0s8t2qhe4ndvteqofie Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='870';
20240711@212438.7455 3312kdpfletl1g2dksh5o75pdd Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240711@212438.7468 3312kdpfletl1g2dksh5o75pdd Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240711@212438.7485 3312kdpfletl1g2dksh5o75pdd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='871';
20240711@212438.7524 3312kdpfletl1g2dksh5o75pdd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='871';
20240711@212438.7540 3312kdpfletl1g2dksh5o75pdd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='871';
20240711@212438.7552 3312kdpfletl1g2dksh5o75pdd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='871';
20240711@212438.7578 3312kdpfletl1g2dksh5o75pdd Query : use flama_phc
20240711@212438.7581 3312kdpfletl1g2dksh5o75pdd Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240711@212438.7597 3312kdpfletl1g2dksh5o75pdd Query : use flama_phc
20240711@212438.7600 3312kdpfletl1g2dksh5o75pdd Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240711@212438.7627 3312kdpfletl1g2dksh5o75pdd 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'
20240711@212438.7638 3312kdpfletl1g2dksh5o75pdd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404609 and bi.ref ='304.4320.00.1' and bi.lordem =1
20240711@212438.7895 3312kdpfletl1g2dksh5o75pdd 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'
20240711@212438.7906 3312kdpfletl1g2dksh5o75pdd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404609 and bi.ref ='304.4320.00.1' and bi.lordem =1
20240711@212438.7920 3312kdpfletl1g2dksh5o75pdd 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'
20240711@212438.7930 3312kdpfletl1g2dksh5o75pdd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404609 and bi.ref ='304.4320.00.1' and bi.lordem =1
20240711@212438.7938 3312kdpfletl1g2dksh5o75pdd Query : use flama_phc
20240711@212438.7941 3312kdpfletl1g2dksh5o75pdd Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240711@212438.7954 3312kdpfletl1g2dksh5o75pdd Query : use flama_phc
20240711@212438.7957 3312kdpfletl1g2dksh5o75pdd Query : select top 1 1 valor from td where td.ndoc = 39
20240711@212438.7967 3312kdpfletl1g2dksh5o75pdd Query : use flama_phc
20240711@212438.7970 3312kdpfletl1g2dksh5o75pdd 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')
20240711@212438.7989 3312kdpfletl1g2dksh5o75pdd 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 = 39
20240711@212438.8004 3312kdpfletl1g2dksh5o75pdd Query : use flama_phc
20240711@212438.8008 3312kdpfletl1g2dksh5o75pdd Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240711@212438.8022 3312kdpfletl1g2dksh5o75pdd Query : use flama_phc
20240711@212438.8025 3312kdpfletl1g2dksh5o75pdd Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240711@212438.8036 3312kdpfletl1g2dksh5o75pdd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='871';
20240711@212438.8050 3312kdpfletl1g2dksh5o75pdd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='871';
20240711@212438.9547 mfkgdfj4hftde781p0lfvdjrr9 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240711@212438.9560 mfkgdfj4hftde781p0lfvdjrr9 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240711@212438.9577 mfkgdfj4hftde781p0lfvdjrr9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='872';
20240711@212438.9618 mfkgdfj4hftde781p0lfvdjrr9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='872';
20240711@212438.9634 mfkgdfj4hftde781p0lfvdjrr9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='872';
20240711@212438.9646 mfkgdfj4hftde781p0lfvdjrr9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='872';
20240711@212438.9667 mfkgdfj4hftde781p0lfvdjrr9 Query : use flama_phc
20240711@212438.9670 mfkgdfj4hftde781p0lfvdjrr9 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240711@212438.9685 mfkgdfj4hftde781p0lfvdjrr9 Query : use flama_phc
20240711@212438.9688 mfkgdfj4hftde781p0lfvdjrr9 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240711@212438.9716 mfkgdfj4hftde781p0lfvdjrr9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4007.00.2'
20240711@212438.9889 mfkgdfj4hftde781p0lfvdjrr9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404610 and bi.ref ='304.4007.00.2' and bi.lordem =1
20240711@212439.1530 mfkgdfj4hftde781p0lfvdjrr9 Query : use flama_phc
20240711@212439.1560 mfkgdfj4hftde781p0lfvdjrr9 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240711@212439.1700 mfkgdfj4hftde781p0lfvdjrr9 Query : use flama_phc
20240711@212439.1730 mfkgdfj4hftde781p0lfvdjrr9 Query : select top 1 1 valor from td where td.ndoc = 39
20240711@212439.1900 mfkgdfj4hftde781p0lfvdjrr9 Query : use flama_phc
20240711@212439.1930 mfkgdfj4hftde781p0lfvdjrr9 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')
20240711@212439.2120 mfkgdfj4hftde781p0lfvdjrr9 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 = 39
20240711@212439.2270 mfkgdfj4hftde781p0lfvdjrr9 Query : use flama_phc
20240711@212439.2300 mfkgdfj4hftde781p0lfvdjrr9 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240711@212439.2410 mfkgdfj4hftde781p0lfvdjrr9 Query : use flama_phc
20240711@212439.2440 mfkgdfj4hftde781p0lfvdjrr9 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240711@212439.2550 mfkgdfj4hftde781p0lfvdjrr9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='872';
20240711@212439.2690 mfkgdfj4hftde781p0lfvdjrr9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='872';
20240711@212439.9740 7d3gvipbnukb64olnmmqgmcfld Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240711@212439.9880 7d3gvipbnukb64olnmmqgmcfld Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240711@212439.1005 7d3gvipbnukb64olnmmqgmcfld Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='873';
20240711@212439.1047 7d3gvipbnukb64olnmmqgmcfld Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='873';
20240711@212439.1074 7d3gvipbnukb64olnmmqgmcfld Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='873';
20240711@212439.1089 7d3gvipbnukb64olnmmqgmcfld Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='873';
20240711@212439.1111 7d3gvipbnukb64olnmmqgmcfld Query : use flama_phc
20240711@212439.1114 7d3gvipbnukb64olnmmqgmcfld Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240711@212439.1129 7d3gvipbnukb64olnmmqgmcfld Query : use flama_phc
20240711@212439.1132 7d3gvipbnukb64olnmmqgmcfld Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240711@212439.1161 7d3gvipbnukb64olnmmqgmcfld Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4860.00.1'
20240711@212439.1520 7d3gvipbnukb64olnmmqgmcfld Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404611 and bi.ref ='304.4860.00.1' and bi.lordem =1
20240711@212439.2072 7d3gvipbnukb64olnmmqgmcfld Query : use flama_phc
20240711@212439.2089 7d3gvipbnukb64olnmmqgmcfld Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240711@212439.2105 7d3gvipbnukb64olnmmqgmcfld Query : use flama_phc
20240711@212439.2108 7d3gvipbnukb64olnmmqgmcfld Query : select top 1 1 valor from td where td.ndoc = 39
20240711@212439.2120 7d3gvipbnukb64olnmmqgmcfld Query : use flama_phc
20240711@212439.2122 7d3gvipbnukb64olnmmqgmcfld 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')
20240711@212439.2143 7d3gvipbnukb64olnmmqgmcfld 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 = 39
20240711@212439.2159 7d3gvipbnukb64olnmmqgmcfld Query : use flama_phc
20240711@212439.2162 7d3gvipbnukb64olnmmqgmcfld Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240711@212439.2174 7d3gvipbnukb64olnmmqgmcfld Query : use flama_phc
20240711@212439.2177 7d3gvipbnukb64olnmmqgmcfld Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240711@212439.2189 7d3gvipbnukb64olnmmqgmcfld Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='873';
20240711@212439.2203 7d3gvipbnukb64olnmmqgmcfld Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='873';
20240711@212439.2714 lfkdsvq9k5mvk43rhrt138eur9 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240711@212439.2728 lfkdsvq9k5mvk43rhrt138eur9 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240711@212439.2747 lfkdsvq9k5mvk43rhrt138eur9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='874';
20240711@212439.2788 lfkdsvq9k5mvk43rhrt138eur9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='874';
20240711@212439.2805 lfkdsvq9k5mvk43rhrt138eur9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='874';
20240711@212439.2817 lfkdsvq9k5mvk43rhrt138eur9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='874';
20240711@212439.2831 lfkdsvq9k5mvk43rhrt138eur9 Query : use flama_phc
20240711@212439.2834 lfkdsvq9k5mvk43rhrt138eur9 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240711@212439.2849 lfkdsvq9k5mvk43rhrt138eur9 Query : use flama_phc
20240711@212439.2852 lfkdsvq9k5mvk43rhrt138eur9 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240711@212439.2881 lfkdsvq9k5mvk43rhrt138eur9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1705.00.1'
20240711@212439.3040 lfkdsvq9k5mvk43rhrt138eur9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404612 and bi.ref ='324.1705.00.1' and bi.lordem =1
20240711@212439.3297 lfkdsvq9k5mvk43rhrt138eur9 Query : use flama_phc
20240711@212439.3300 lfkdsvq9k5mvk43rhrt138eur9 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240711@212439.3314 lfkdsvq9k5mvk43rhrt138eur9 Query : use flama_phc
20240711@212439.3317 lfkdsvq9k5mvk43rhrt138eur9 Query : select top 1 1 valor from td where td.ndoc = 39
20240711@212439.3327 lfkdsvq9k5mvk43rhrt138eur9 Query : use flama_phc
20240711@212439.3330 lfkdsvq9k5mvk43rhrt138eur9 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')
20240711@212439.3349 lfkdsvq9k5mvk43rhrt138eur9 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 = 39
20240711@212439.3364 lfkdsvq9k5mvk43rhrt138eur9 Query : use flama_phc
20240711@212439.3368 lfkdsvq9k5mvk43rhrt138eur9 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240711@212439.3380 lfkdsvq9k5mvk43rhrt138eur9 Query : use flama_phc
20240711@212439.3382 lfkdsvq9k5mvk43rhrt138eur9 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240711@212439.3394 lfkdsvq9k5mvk43rhrt138eur9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='874';
20240711@212439.3410 lfkdsvq9k5mvk43rhrt138eur9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='874';
20240711@212439.3906 c83rn2v7rfq7cfchf730jndc4s Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240711@212439.3920 c83rn2v7rfq7cfchf730jndc4s Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240711@212439.3938 c83rn2v7rfq7cfchf730jndc4s Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='875';
20240711@212439.3990 c83rn2v7rfq7cfchf730jndc4s Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='875';
20240711@212439.4008 c83rn2v7rfq7cfchf730jndc4s Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='875';
20240711@212439.4022 c83rn2v7rfq7cfchf730jndc4s Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='875';
20240711@212439.4037 c83rn2v7rfq7cfchf730jndc4s Query : use flama_phc
20240711@212439.4040 c83rn2v7rfq7cfchf730jndc4s Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240711@212439.4055 c83rn2v7rfq7cfchf730jndc4s Query : use flama_phc
20240711@212439.4058 c83rn2v7rfq7cfchf730jndc4s Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240711@212439.4099 c83rn2v7rfq7cfchf730jndc4s 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'
20240711@212439.4282 c83rn2v7rfq7cfchf730jndc4s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404613 and bi.ref ='324.2221.00.1' and bi.lordem =1
20240711@212439.4650 c83rn2v7rfq7cfchf730jndc4s Query : use flama_phc
20240711@212439.4659 c83rn2v7rfq7cfchf730jndc4s Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240711@212439.4673 c83rn2v7rfq7cfchf730jndc4s Query : use flama_phc
20240711@212439.4676 c83rn2v7rfq7cfchf730jndc4s Query : select top 1 1 valor from td where td.ndoc = 39
20240711@212439.4687 c83rn2v7rfq7cfchf730jndc4s Query : use flama_phc
20240711@212439.4690 c83rn2v7rfq7cfchf730jndc4s 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')
20240711@212439.4711 c83rn2v7rfq7cfchf730jndc4s 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 = 39
20240711@212439.4727 c83rn2v7rfq7cfchf730jndc4s Query : use flama_phc
20240711@212439.4730 c83rn2v7rfq7cfchf730jndc4s Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240711@212439.4740 c83rn2v7rfq7cfchf730jndc4s Query : use flama_phc
20240711@212439.4743 c83rn2v7rfq7cfchf730jndc4s Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240711@212439.4755 c83rn2v7rfq7cfchf730jndc4s Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='875';
20240711@212439.4769 c83rn2v7rfq7cfchf730jndc4s Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='875';
20240711@212439.5298 u89jfquf5m9mt9485c0viifdqr Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240711@212439.5311 u89jfquf5m9mt9485c0viifdqr Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240711@212439.5328 u89jfquf5m9mt9485c0viifdqr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='876';
20240711@212439.5370 u89jfquf5m9mt9485c0viifdqr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='876';
20240711@212439.5389 u89jfquf5m9mt9485c0viifdqr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='876';
20240711@212439.5404 u89jfquf5m9mt9485c0viifdqr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='876';
20240711@212439.5424 u89jfquf5m9mt9485c0viifdqr Query : use flama_phc
20240711@212439.5428 u89jfquf5m9mt9485c0viifdqr Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240711@212439.5444 u89jfquf5m9mt9485c0viifdqr Query : use flama_phc
20240711@212439.5447 u89jfquf5m9mt9485c0viifdqr Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240711@212439.5488 u89jfquf5m9mt9485c0viifdqr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4902.00.1'
20240711@212439.5799 u89jfquf5m9mt9485c0viifdqr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404614 and bi.ref ='324.4902.00.1' and bi.lordem =1
20240711@212439.6093 u89jfquf5m9mt9485c0viifdqr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4902.00.1'
20240711@212439.6105 u89jfquf5m9mt9485c0viifdqr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404614 and bi.ref ='324.4902.00.1' and bi.lordem =1
20240711@212439.6112 u89jfquf5m9mt9485c0viifdqr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4902.00.1'
20240711@212439.6126 u89jfquf5m9mt9485c0viifdqr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404614 and bi.ref ='324.4902.00.1' and bi.lordem =1
20240711@212439.6133 u89jfquf5m9mt9485c0viifdqr Query : use flama_phc
20240711@212439.6136 u89jfquf5m9mt9485c0viifdqr Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240711@212439.6150 u89jfquf5m9mt9485c0viifdqr Query : use flama_phc
20240711@212439.6153 u89jfquf5m9mt9485c0viifdqr Query : select top 1 1 valor from td where td.ndoc = 39
20240711@212439.6163 u89jfquf5m9mt9485c0viifdqr Query : use flama_phc
20240711@212439.6166 u89jfquf5m9mt9485c0viifdqr 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')
20240711@212439.6184 u89jfquf5m9mt9485c0viifdqr 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 = 39
20240711@212439.6200 u89jfquf5m9mt9485c0viifdqr Query : use flama_phc
20240711@212439.6203 u89jfquf5m9mt9485c0viifdqr Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240711@212439.6213 u89jfquf5m9mt9485c0viifdqr Query : use flama_phc
20240711@212439.6216 u89jfquf5m9mt9485c0viifdqr Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240711@212439.6231 u89jfquf5m9mt9485c0viifdqr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='876';
20240711@212439.6244 u89jfquf5m9mt9485c0viifdqr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='876';
20240711@212439.6714 igvsqcs56mrklmn6phblnu3bt1 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240711@212439.6728 igvsqcs56mrklmn6phblnu3bt1 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240711@212439.6746 igvsqcs56mrklmn6phblnu3bt1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='877';
20240711@212439.6785 igvsqcs56mrklmn6phblnu3bt1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='877';
20240711@212439.6802 igvsqcs56mrklmn6phblnu3bt1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='877';
20240711@212439.6815 igvsqcs56mrklmn6phblnu3bt1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='877';
20240711@212439.6839 igvsqcs56mrklmn6phblnu3bt1 Query : use flama_phc
20240711@212439.6843 igvsqcs56mrklmn6phblnu3bt1 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240711@212439.6857 igvsqcs56mrklmn6phblnu3bt1 Query : use flama_phc
20240711@212439.6860 igvsqcs56mrklmn6phblnu3bt1 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240711@212439.6889 igvsqcs56mrklmn6phblnu3bt1 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'
20240711@212439.7041 igvsqcs56mrklmn6phblnu3bt1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404615 and bi.ref ='304.422.00.07' and bi.lordem =1
20240711@212439.7308 igvsqcs56mrklmn6phblnu3bt1 Query : use flama_phc
20240711@212439.7312 igvsqcs56mrklmn6phblnu3bt1 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240711@212439.7325 igvsqcs56mrklmn6phblnu3bt1 Query : use flama_phc
20240711@212439.7328 igvsqcs56mrklmn6phblnu3bt1 Query : select top 1 1 valor from td where td.ndoc = 39
20240711@212439.7339 igvsqcs56mrklmn6phblnu3bt1 Query : use flama_phc
20240711@212439.7341 igvsqcs56mrklmn6phblnu3bt1 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')
20240711@212439.7360 igvsqcs56mrklmn6phblnu3bt1 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 = 39
20240711@212439.7376 igvsqcs56mrklmn6phblnu3bt1 Query : use flama_phc
20240711@212439.7379 igvsqcs56mrklmn6phblnu3bt1 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240711@212439.7390 igvsqcs56mrklmn6phblnu3bt1 Query : use flama_phc
20240711@212439.7392 igvsqcs56mrklmn6phblnu3bt1 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240711@212439.7403 igvsqcs56mrklmn6phblnu3bt1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='877';
20240711@212439.7417 igvsqcs56mrklmn6phblnu3bt1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='877';
20240711@212439.9019 b32b3rdlcjk4gue3nu61e3rq8e Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240711@212439.9033 b32b3rdlcjk4gue3nu61e3rq8e Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240711@212439.9049 b32b3rdlcjk4gue3nu61e3rq8e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='878';
20240711@212439.9087 b32b3rdlcjk4gue3nu61e3rq8e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='878';
20240711@212439.9102 b32b3rdlcjk4gue3nu61e3rq8e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='878';
20240711@212439.9121 b32b3rdlcjk4gue3nu61e3rq8e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='878';
20240711@212439.9135 b32b3rdlcjk4gue3nu61e3rq8e Query : use flama_phc
20240711@212439.9137 b32b3rdlcjk4gue3nu61e3rq8e Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240711@212439.9151 b32b3rdlcjk4gue3nu61e3rq8e Query : use flama_phc
20240711@212439.9154 b32b3rdlcjk4gue3nu61e3rq8e Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240711@212439.9182 b32b3rdlcjk4gue3nu61e3rq8e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1406.00.1'
20240711@212439.9344 b32b3rdlcjk4gue3nu61e3rq8e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404616 and bi.ref ='324.1406.00.1' and bi.lordem =1
20240711@212439.9609 b32b3rdlcjk4gue3nu61e3rq8e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1406.00.1'
20240711@212439.9620 b32b3rdlcjk4gue3nu61e3rq8e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404616 and bi.ref ='324.1406.00.1' and bi.lordem =1
20240711@212439.9627 b32b3rdlcjk4gue3nu61e3rq8e Query : use flama_phc
20240711@212439.9630 b32b3rdlcjk4gue3nu61e3rq8e Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240711@212439.9643 b32b3rdlcjk4gue3nu61e3rq8e Query : use flama_phc
20240711@212439.9646 b32b3rdlcjk4gue3nu61e3rq8e Query : select top 1 1 valor from td where td.ndoc = 39
20240711@212439.9657 b32b3rdlcjk4gue3nu61e3rq8e Query : use flama_phc
20240711@212439.9660 b32b3rdlcjk4gue3nu61e3rq8e 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')
20240711@212439.9677 b32b3rdlcjk4gue3nu61e3rq8e 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 = 39
20240711@212439.9693 b32b3rdlcjk4gue3nu61e3rq8e Query : use flama_phc
20240711@212439.9695 b32b3rdlcjk4gue3nu61e3rq8e Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240711@212439.9706 b32b3rdlcjk4gue3nu61e3rq8e Query : use flama_phc
20240711@212439.9709 b32b3rdlcjk4gue3nu61e3rq8e Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240711@212439.9720 b32b3rdlcjk4gue3nu61e3rq8e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='878';
20240711@212439.9734 b32b3rdlcjk4gue3nu61e3rq8e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='878';
20240711@212440.2240 qb20nhjikvmlpa4mgo9gj1qjto Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240711@212440.2380 qb20nhjikvmlpa4mgo9gj1qjto Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240711@212440.2580 qb20nhjikvmlpa4mgo9gj1qjto Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='879';
20240711@212440.2990 qb20nhjikvmlpa4mgo9gj1qjto Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='879';
20240711@212440.3170 qb20nhjikvmlpa4mgo9gj1qjto Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='879';
20240711@212440.3290 qb20nhjikvmlpa4mgo9gj1qjto Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='879';
20240711@212440.3450 qb20nhjikvmlpa4mgo9gj1qjto Query : use flama_phc
20240711@212440.3480 qb20nhjikvmlpa4mgo9gj1qjto Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240711@212440.3630 qb20nhjikvmlpa4mgo9gj1qjto Query : use flama_phc
20240711@212440.3660 qb20nhjikvmlpa4mgo9gj1qjto Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240711@212440.3940 qb20nhjikvmlpa4mgo9gj1qjto Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4967.00.1'
20240711@212440.5530 qb20nhjikvmlpa4mgo9gj1qjto Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404617 and bi.ref ='324.4967.00.1' and bi.lordem =1
20240711@212440.8550 qb20nhjikvmlpa4mgo9gj1qjto Query : use flama_phc
20240711@212440.8580 qb20nhjikvmlpa4mgo9gj1qjto Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240711@212440.8720 qb20nhjikvmlpa4mgo9gj1qjto Query : use flama_phc
20240711@212440.8750 qb20nhjikvmlpa4mgo9gj1qjto Query : select top 1 1 valor from td where td.ndoc = 39
20240711@212440.8850 qb20nhjikvmlpa4mgo9gj1qjto Query : use flama_phc
20240711@212440.8870 qb20nhjikvmlpa4mgo9gj1qjto 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')
20240711@212440.9050 qb20nhjikvmlpa4mgo9gj1qjto 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 = 39
20240711@212440.9200 qb20nhjikvmlpa4mgo9gj1qjto Query : use flama_phc
20240711@212440.9230 qb20nhjikvmlpa4mgo9gj1qjto Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240711@212440.9330 qb20nhjikvmlpa4mgo9gj1qjto Query : use flama_phc
20240711@212440.9360 qb20nhjikvmlpa4mgo9gj1qjto Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240711@212440.9470 qb20nhjikvmlpa4mgo9gj1qjto Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='879';
20240711@212440.9610 qb20nhjikvmlpa4mgo9gj1qjto Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='879';
20240711@212440.1462 e7jidr9j56nvv38pa7muk5i0aa Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240711@212440.1477 e7jidr9j56nvv38pa7muk5i0aa Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240711@212440.1495 e7jidr9j56nvv38pa7muk5i0aa Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='880';
20240711@212440.1534 e7jidr9j56nvv38pa7muk5i0aa Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='880';
20240711@212440.1551 e7jidr9j56nvv38pa7muk5i0aa Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='880';
20240711@212440.1563 e7jidr9j56nvv38pa7muk5i0aa Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='880';
20240711@212440.1576 e7jidr9j56nvv38pa7muk5i0aa Query : use flama_phc
20240711@212440.1579 e7jidr9j56nvv38pa7muk5i0aa Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240711@212440.1593 e7jidr9j56nvv38pa7muk5i0aa Query : use flama_phc
20240711@212440.1596 e7jidr9j56nvv38pa7muk5i0aa Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240711@212440.1624 e7jidr9j56nvv38pa7muk5i0aa Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4968.00.1'
20240711@212440.1778 e7jidr9j56nvv38pa7muk5i0aa Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404618 and bi.ref ='324.4968.00.1' and bi.lordem =1
20240711@212440.2050 e7jidr9j56nvv38pa7muk5i0aa Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4968.00.1'
20240711@212440.2060 e7jidr9j56nvv38pa7muk5i0aa Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404618 and bi.ref ='324.4968.00.1' and bi.lordem =1
20240711@212440.2067 e7jidr9j56nvv38pa7muk5i0aa Query : use flama_phc
20240711@212440.2070 e7jidr9j56nvv38pa7muk5i0aa Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240711@212440.2083 e7jidr9j56nvv38pa7muk5i0aa Query : use flama_phc
20240711@212440.2086 e7jidr9j56nvv38pa7muk5i0aa Query : select top 1 1 valor from td where td.ndoc = 39
20240711@212440.2096 e7jidr9j56nvv38pa7muk5i0aa Query : use flama_phc
20240711@212440.2099 e7jidr9j56nvv38pa7muk5i0aa 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')
20240711@212440.2116 e7jidr9j56nvv38pa7muk5i0aa 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 = 39
20240711@212440.2131 e7jidr9j56nvv38pa7muk5i0aa Query : use flama_phc
20240711@212440.2134 e7jidr9j56nvv38pa7muk5i0aa Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240711@212440.2144 e7jidr9j56nvv38pa7muk5i0aa Query : use flama_phc
20240711@212440.2147 e7jidr9j56nvv38pa7muk5i0aa Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240711@212440.2157 e7jidr9j56nvv38pa7muk5i0aa Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='880';
20240711@212440.2170 e7jidr9j56nvv38pa7muk5i0aa Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='880';
20240711@212440.3531 rsljpfb9d329i3qorvlkbg5mj3 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240711@212440.3546 rsljpfb9d329i3qorvlkbg5mj3 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240711@212440.3565 rsljpfb9d329i3qorvlkbg5mj3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='881';
20240711@212440.3604 rsljpfb9d329i3qorvlkbg5mj3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='881';
20240711@212440.3620 rsljpfb9d329i3qorvlkbg5mj3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='881';
20240711@212440.3631 rsljpfb9d329i3qorvlkbg5mj3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='881';
20240711@212440.3644 rsljpfb9d329i3qorvlkbg5mj3 Query : use flama_phc
20240711@212440.3647 rsljpfb9d329i3qorvlkbg5mj3 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240711@212440.3661 rsljpfb9d329i3qorvlkbg5mj3 Query : use flama_phc
20240711@212440.3664 rsljpfb9d329i3qorvlkbg5mj3 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240711@212440.3691 rsljpfb9d329i3qorvlkbg5mj3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4988.00.1'
20240711@212440.3843 rsljpfb9d329i3qorvlkbg5mj3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404619 and bi.ref ='324.4988.00.1' and bi.lordem =1
20240711@212440.4096 rsljpfb9d329i3qorvlkbg5mj3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4988.00.1'
20240711@212440.4109 rsljpfb9d329i3qorvlkbg5mj3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404619 and bi.ref ='324.4988.00.1' and bi.lordem =1
20240711@212440.4116 rsljpfb9d329i3qorvlkbg5mj3 Query : use flama_phc
20240711@212440.4119 rsljpfb9d329i3qorvlkbg5mj3 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240711@212440.4133 rsljpfb9d329i3qorvlkbg5mj3 Query : use flama_phc
20240711@212440.4135 rsljpfb9d329i3qorvlkbg5mj3 Query : select top 1 1 valor from td where td.ndoc = 39
20240711@212440.4146 rsljpfb9d329i3qorvlkbg5mj3 Query : use flama_phc
20240711@212440.4149 rsljpfb9d329i3qorvlkbg5mj3 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')
20240711@212440.4168 rsljpfb9d329i3qorvlkbg5mj3 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 = 39
20240711@212440.4184 rsljpfb9d329i3qorvlkbg5mj3 Query : use flama_phc
20240711@212440.4187 rsljpfb9d329i3qorvlkbg5mj3 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240711@212440.4198 rsljpfb9d329i3qorvlkbg5mj3 Query : use flama_phc
20240711@212440.4201 rsljpfb9d329i3qorvlkbg5mj3 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240711@212440.4213 rsljpfb9d329i3qorvlkbg5mj3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='881';
20240711@212440.4227 rsljpfb9d329i3qorvlkbg5mj3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='881';
20240711@212440.4719 i4rajeqfd8lgd1o2g4lcneje9m Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240711@212440.4733 i4rajeqfd8lgd1o2g4lcneje9m Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240711@212440.4751 i4rajeqfd8lgd1o2g4lcneje9m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='882';
20240711@212440.4791 i4rajeqfd8lgd1o2g4lcneje9m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='882';
20240711@212440.4817 i4rajeqfd8lgd1o2g4lcneje9m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='882';
20240711@212440.4829 i4rajeqfd8lgd1o2g4lcneje9m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='882';
20240711@212440.4843 i4rajeqfd8lgd1o2g4lcneje9m Query : use flama_phc
20240711@212440.4846 i4rajeqfd8lgd1o2g4lcneje9m Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240711@212440.4861 i4rajeqfd8lgd1o2g4lcneje9m Query : use flama_phc
20240711@212440.4864 i4rajeqfd8lgd1o2g4lcneje9m Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240711@212440.4892 i4rajeqfd8lgd1o2g4lcneje9m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2041.00.1'
20240711@212440.5047 i4rajeqfd8lgd1o2g4lcneje9m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404620 and bi.ref ='324.2041.00.1' and bi.lordem =1
20240711@212440.5303 i4rajeqfd8lgd1o2g4lcneje9m Query : use flama_phc
20240711@212440.5306 i4rajeqfd8lgd1o2g4lcneje9m Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240711@212440.5319 i4rajeqfd8lgd1o2g4lcneje9m Query : use flama_phc
20240711@212440.5323 i4rajeqfd8lgd1o2g4lcneje9m Query : select top 1 1 valor from td where td.ndoc = 39
20240711@212440.5350 i4rajeqfd8lgd1o2g4lcneje9m Query : use flama_phc
20240711@212440.5353 i4rajeqfd8lgd1o2g4lcneje9m 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')
20240711@212440.5372 i4rajeqfd8lgd1o2g4lcneje9m 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 = 39
20240711@212440.5388 i4rajeqfd8lgd1o2g4lcneje9m Query : use flama_phc
20240711@212440.5390 i4rajeqfd8lgd1o2g4lcneje9m Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240711@212440.5402 i4rajeqfd8lgd1o2g4lcneje9m Query : use flama_phc
20240711@212440.5405 i4rajeqfd8lgd1o2g4lcneje9m Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240711@212440.5416 i4rajeqfd8lgd1o2g4lcneje9m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='882';
20240711@212440.5430 i4rajeqfd8lgd1o2g4lcneje9m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='882';
20240711@212440.5932 0oljdfsstv3l40nd3asi4i3p5k Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240711@212440.5945 0oljdfsstv3l40nd3asi4i3p5k Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240711@212440.5963 0oljdfsstv3l40nd3asi4i3p5k Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='883';
20240711@212440.6002 0oljdfsstv3l40nd3asi4i3p5k Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='883';
20240711@212440.6029 0oljdfsstv3l40nd3asi4i3p5k Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='883';
20240711@212440.6041 0oljdfsstv3l40nd3asi4i3p5k Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='883';
20240711@212440.6058 0oljdfsstv3l40nd3asi4i3p5k Query : use flama_phc
20240711@212440.6061 0oljdfsstv3l40nd3asi4i3p5k Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240711@212440.6076 0oljdfsstv3l40nd3asi4i3p5k Query : use flama_phc
20240711@212440.6078 0oljdfsstv3l40nd3asi4i3p5k Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240711@212440.6108 0oljdfsstv3l40nd3asi4i3p5k 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'
20240711@212440.6264 0oljdfsstv3l40nd3asi4i3p5k Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404621 and bi.ref ='324.2223.00.1' and bi.lordem =1
20240711@212440.6514 0oljdfsstv3l40nd3asi4i3p5k Query : use flama_phc
20240711@212440.6517 0oljdfsstv3l40nd3asi4i3p5k Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240711@212440.6530 0oljdfsstv3l40nd3asi4i3p5k Query : use flama_phc
20240711@212440.6533 0oljdfsstv3l40nd3asi4i3p5k Query : select top 1 1 valor from td where td.ndoc = 39
20240711@212440.6543 0oljdfsstv3l40nd3asi4i3p5k Query : use flama_phc
20240711@212440.6546 0oljdfsstv3l40nd3asi4i3p5k 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')
20240711@212440.6565 0oljdfsstv3l40nd3asi4i3p5k 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 = 39
20240711@212440.6581 0oljdfsstv3l40nd3asi4i3p5k Query : use flama_phc
20240711@212440.6584 0oljdfsstv3l40nd3asi4i3p5k Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240711@212440.6595 0oljdfsstv3l40nd3asi4i3p5k Query : use flama_phc
20240711@212440.6598 0oljdfsstv3l40nd3asi4i3p5k Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240711@212440.6609 0oljdfsstv3l40nd3asi4i3p5k Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='883';
20240711@212440.6624 0oljdfsstv3l40nd3asi4i3p5k Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='883';
20240711@212440.7084 ecdmn582sqg5fo263t7p6kql2p Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240711@212440.7106 ecdmn582sqg5fo263t7p6kql2p Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240711@212440.7124 ecdmn582sqg5fo263t7p6kql2p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='884';
20240711@212440.7167 ecdmn582sqg5fo263t7p6kql2p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='884';
20240711@212440.7184 ecdmn582sqg5fo263t7p6kql2p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='884';
20240711@212440.7199 ecdmn582sqg5fo263t7p6kql2p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='884';
20240711@212440.7218 ecdmn582sqg5fo263t7p6kql2p Query : use flama_phc
20240711@212440.7221 ecdmn582sqg5fo263t7p6kql2p Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240711@212440.7236 ecdmn582sqg5fo263t7p6kql2p Query : use flama_phc
20240711@212440.7239 ecdmn582sqg5fo263t7p6kql2p Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240711@212440.7270 ecdmn582sqg5fo263t7p6kql2p Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4751.00.1'
20240711@212440.7423 ecdmn582sqg5fo263t7p6kql2p Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404622 and bi.ref ='324.4751.00.1' and bi.lordem =1
20240711@212440.7676 ecdmn582sqg5fo263t7p6kql2p Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4751.00.1'
20240711@212440.7686 ecdmn582sqg5fo263t7p6kql2p Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404622 and bi.ref ='324.4751.00.1' and bi.lordem =1
20240711@212440.7694 ecdmn582sqg5fo263t7p6kql2p Query : use flama_phc
20240711@212440.7697 ecdmn582sqg5fo263t7p6kql2p Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240711@212440.7710 ecdmn582sqg5fo263t7p6kql2p Query : use flama_phc
20240711@212440.7714 ecdmn582sqg5fo263t7p6kql2p Query : select top 1 1 valor from td where td.ndoc = 39
20240711@212440.7724 ecdmn582sqg5fo263t7p6kql2p Query : use flama_phc
20240711@212440.7727 ecdmn582sqg5fo263t7p6kql2p 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')
20240711@212440.7747 ecdmn582sqg5fo263t7p6kql2p 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 = 39
20240711@212440.7763 ecdmn582sqg5fo263t7p6kql2p Query : use flama_phc
20240711@212440.7766 ecdmn582sqg5fo263t7p6kql2p Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240711@212440.7777 ecdmn582sqg5fo263t7p6kql2p Query : use flama_phc
20240711@212440.7780 ecdmn582sqg5fo263t7p6kql2p Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240711@212440.7791 ecdmn582sqg5fo263t7p6kql2p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='884';
20240711@212440.7805 ecdmn582sqg5fo263t7p6kql2p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='884';
20240711@212440.8286 ibv4pj65kj32t7sff538fvi1q4 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240711@212440.8299 ibv4pj65kj32t7sff538fvi1q4 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240711@212440.8316 ibv4pj65kj32t7sff538fvi1q4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='885';
20240711@212440.8355 ibv4pj65kj32t7sff538fvi1q4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='885';
20240711@212440.8370 ibv4pj65kj32t7sff538fvi1q4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='885';
20240711@212440.8383 ibv4pj65kj32t7sff538fvi1q4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='885';
20240711@212440.8396 ibv4pj65kj32t7sff538fvi1q4 Query : use flama_phc
20240711@212440.8399 ibv4pj65kj32t7sff538fvi1q4 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240711@212440.8414 ibv4pj65kj32t7sff538fvi1q4 Query : use flama_phc
20240711@212440.8417 ibv4pj65kj32t7sff538fvi1q4 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240711@212440.8445 ibv4pj65kj32t7sff538fvi1q4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4906.00.1'
20240711@212440.8601 ibv4pj65kj32t7sff538fvi1q4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404623 and bi.ref ='324.4906.00.1' and bi.lordem =1
20240711@212440.8851 ibv4pj65kj32t7sff538fvi1q4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4906.00.1'
20240711@212440.8868 ibv4pj65kj32t7sff538fvi1q4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404623 and bi.ref ='324.4906.00.1' and bi.lordem =1
20240711@212440.8876 ibv4pj65kj32t7sff538fvi1q4 Query : use flama_phc
20240711@212440.8880 ibv4pj65kj32t7sff538fvi1q4 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240711@212440.8895 ibv4pj65kj32t7sff538fvi1q4 Query : use flama_phc
20240711@212440.8898 ibv4pj65kj32t7sff538fvi1q4 Query : select top 1 1 valor from td where td.ndoc = 39
20240711@212440.8908 ibv4pj65kj32t7sff538fvi1q4 Query : use flama_phc
20240711@212440.8911 ibv4pj65kj32t7sff538fvi1q4 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')
20240711@212440.8931 ibv4pj65kj32t7sff538fvi1q4 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 = 39
20240711@212440.8946 ibv4pj65kj32t7sff538fvi1q4 Query : use flama_phc
20240711@212440.8949 ibv4pj65kj32t7sff538fvi1q4 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240711@212440.8961 ibv4pj65kj32t7sff538fvi1q4 Query : use flama_phc
20240711@212440.8963 ibv4pj65kj32t7sff538fvi1q4 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240711@212440.8975 ibv4pj65kj32t7sff538fvi1q4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='885';
20240711@212440.8988 ibv4pj65kj32t7sff538fvi1q4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='885';
20240711@212440.9452 srb24d9c91b2bi74qk865osplr Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240711@212440.9465 srb24d9c91b2bi74qk865osplr Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240711@212440.9483 srb24d9c91b2bi74qk865osplr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='886';
20240711@212440.9525 srb24d9c91b2bi74qk865osplr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='886';
20240711@212440.9540 srb24d9c91b2bi74qk865osplr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='886';
20240711@212440.9555 srb24d9c91b2bi74qk865osplr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='886';
20240711@212440.9568 srb24d9c91b2bi74qk865osplr Query : use flama_phc
20240711@212440.9571 srb24d9c91b2bi74qk865osplr Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240711@212440.9586 srb24d9c91b2bi74qk865osplr Query : use flama_phc
20240711@212440.9589 srb24d9c91b2bi74qk865osplr Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240711@212440.9617 srb24d9c91b2bi74qk865osplr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.686.00.01'
20240711@212440.9773 srb24d9c91b2bi74qk865osplr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404624 and bi.ref ='324.686.00.01' and bi.lordem =1
20240711@212441.4600 srb24d9c91b2bi74qk865osplr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.686.00.01'
20240711@212441.5700 srb24d9c91b2bi74qk865osplr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404624 and bi.ref ='324.686.00.01' and bi.lordem =1
20240711@212441.6400 srb24d9c91b2bi74qk865osplr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.686.00.01'
20240711@212441.9400 srb24d9c91b2bi74qk865osplr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404624 and bi.ref ='324.686.00.01' and bi.lordem =1
20240711@212441.1020 srb24d9c91b2bi74qk865osplr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.686.00.01'
20240711@212441.1120 srb24d9c91b2bi74qk865osplr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404624 and bi.ref ='324.686.00.01' and bi.lordem =1
20240711@212441.1200 srb24d9c91b2bi74qk865osplr Query : use flama_phc
20240711@212441.1230 srb24d9c91b2bi74qk865osplr Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240711@212441.1370 srb24d9c91b2bi74qk865osplr Query : use flama_phc
20240711@212441.1390 srb24d9c91b2bi74qk865osplr Query : select top 1 1 valor from td where td.ndoc = 39
20240711@212441.1500 srb24d9c91b2bi74qk865osplr Query : use flama_phc
20240711@212441.1530 srb24d9c91b2bi74qk865osplr 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')
20240711@212441.1720 srb24d9c91b2bi74qk865osplr 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 = 39
20240711@212441.1870 srb24d9c91b2bi74qk865osplr Query : use flama_phc
20240711@212441.1900 srb24d9c91b2bi74qk865osplr Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240711@212441.2010 srb24d9c91b2bi74qk865osplr Query : use flama_phc
20240711@212441.2040 srb24d9c91b2bi74qk865osplr Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240711@212441.2150 srb24d9c91b2bi74qk865osplr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='886';
20240711@212441.2290 srb24d9c91b2bi74qk865osplr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='886';
20240711@212441.1590 i14832r3av3pt57kdmus38bc8b Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240711@212441.1603 i14832r3av3pt57kdmus38bc8b Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240711@212441.1622 i14832r3av3pt57kdmus38bc8b Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='887';
20240711@212441.1660 i14832r3av3pt57kdmus38bc8b Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='887';
20240711@212441.1675 i14832r3av3pt57kdmus38bc8b Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='887';
20240711@212441.1687 i14832r3av3pt57kdmus38bc8b Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='887';
20240711@212441.1701 i14832r3av3pt57kdmus38bc8b Query : use flama_phc
20240711@212441.1704 i14832r3av3pt57kdmus38bc8b Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240711@212441.1720 i14832r3av3pt57kdmus38bc8b Query : use flama_phc
20240711@212441.1723 i14832r3av3pt57kdmus38bc8b Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240711@212441.1752 i14832r3av3pt57kdmus38bc8b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.988.00.01'
20240711@212441.1909 i14832r3av3pt57kdmus38bc8b Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404625 and bi.ref ='324.988.00.01' and bi.lordem =1
20240711@212441.2166 i14832r3av3pt57kdmus38bc8b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.988.00.01'
20240711@212441.2178 i14832r3av3pt57kdmus38bc8b Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404625 and bi.ref ='324.988.00.01' and bi.lordem =1
20240711@212441.2185 i14832r3av3pt57kdmus38bc8b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.988.00.01'
20240711@212441.2197 i14832r3av3pt57kdmus38bc8b Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404625 and bi.ref ='324.988.00.01' and bi.lordem =1
20240711@212441.2204 i14832r3av3pt57kdmus38bc8b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.988.00.01'
20240711@212441.2214 i14832r3av3pt57kdmus38bc8b Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404625 and bi.ref ='324.988.00.01' and bi.lordem =1
20240711@212441.2221 i14832r3av3pt57kdmus38bc8b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.988.00.01'
20240711@212441.2237 i14832r3av3pt57kdmus38bc8b Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404625 and bi.ref ='324.988.00.01' and bi.lordem =1
20240711@212441.2245 i14832r3av3pt57kdmus38bc8b Query : use flama_phc
20240711@212441.2248 i14832r3av3pt57kdmus38bc8b Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240711@212441.2262 i14832r3av3pt57kdmus38bc8b Query : use flama_phc
20240711@212441.2265 i14832r3av3pt57kdmus38bc8b Query : select top 1 1 valor from td where td.ndoc = 39
20240711@212441.2280 i14832r3av3pt57kdmus38bc8b Query : use flama_phc
20240711@212441.2283 i14832r3av3pt57kdmus38bc8b 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')
20240711@212441.2303 i14832r3av3pt57kdmus38bc8b 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 = 39
20240711@212441.2320 i14832r3av3pt57kdmus38bc8b Query : use flama_phc
20240711@212441.2323 i14832r3av3pt57kdmus38bc8b Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240711@212441.2334 i14832r3av3pt57kdmus38bc8b Query : use flama_phc
20240711@212441.2337 i14832r3av3pt57kdmus38bc8b Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240711@212441.2349 i14832r3av3pt57kdmus38bc8b Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='887';
20240711@212441.2366 i14832r3av3pt57kdmus38bc8b Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='887';
20240711@212441.2835 5s2u947oa38kq5dg80u2bmbg21 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240711@212441.2848 5s2u947oa38kq5dg80u2bmbg21 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240711@212441.2866 5s2u947oa38kq5dg80u2bmbg21 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='888';
20240711@212441.2905 5s2u947oa38kq5dg80u2bmbg21 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='888';
20240711@212441.2921 5s2u947oa38kq5dg80u2bmbg21 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='888';
20240711@212441.2933 5s2u947oa38kq5dg80u2bmbg21 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='888';
20240711@212441.2946 5s2u947oa38kq5dg80u2bmbg21 Query : use flama_phc
20240711@212441.2949 5s2u947oa38kq5dg80u2bmbg21 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240711@212441.2964 5s2u947oa38kq5dg80u2bmbg21 Query : use flama_phc
20240711@212441.2974 5s2u947oa38kq5dg80u2bmbg21 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240711@212441.3002 5s2u947oa38kq5dg80u2bmbg21 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.497.00.01'
20240711@212441.3158 5s2u947oa38kq5dg80u2bmbg21 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404626 and bi.ref ='324.497.00.01' and bi.lordem =1
20240711@212441.3420 5s2u947oa38kq5dg80u2bmbg21 Query : use flama_phc
20240711@212441.3423 5s2u947oa38kq5dg80u2bmbg21 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240711@212441.3437 5s2u947oa38kq5dg80u2bmbg21 Query : use flama_phc
20240711@212441.3440 5s2u947oa38kq5dg80u2bmbg21 Query : select top 1 1 valor from td where td.ndoc = 39
20240711@212441.3451 5s2u947oa38kq5dg80u2bmbg21 Query : use flama_phc
20240711@212441.3454 5s2u947oa38kq5dg80u2bmbg21 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')
20240711@212441.3473 5s2u947oa38kq5dg80u2bmbg21 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 = 39
20240711@212441.3488 5s2u947oa38kq5dg80u2bmbg21 Query : use flama_phc
20240711@212441.3491 5s2u947oa38kq5dg80u2bmbg21 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240711@212441.3563 5s2u947oa38kq5dg80u2bmbg21 Query : use flama_phc
20240711@212441.3567 5s2u947oa38kq5dg80u2bmbg21 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240711@212441.3578 5s2u947oa38kq5dg80u2bmbg21 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='888';
20240711@212441.3659 5s2u947oa38kq5dg80u2bmbg21 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='888';
20240711@212441.4457 hqlerqck0hbo9hclgplkjpo1i0 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240711@212441.4512 hqlerqck0hbo9hclgplkjpo1i0 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240711@212441.4530 hqlerqck0hbo9hclgplkjpo1i0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='889';
20240711@212441.4570 hqlerqck0hbo9hclgplkjpo1i0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='889';
20240711@212441.4585 hqlerqck0hbo9hclgplkjpo1i0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='889';
20240711@212441.4597 hqlerqck0hbo9hclgplkjpo1i0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='889';
20240711@212441.4610 hqlerqck0hbo9hclgplkjpo1i0 Query : use flama_phc
20240711@212441.4613 hqlerqck0hbo9hclgplkjpo1i0 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240711@212441.4627 hqlerqck0hbo9hclgplkjpo1i0 Query : use flama_phc
20240711@212441.4630 hqlerqck0hbo9hclgplkjpo1i0 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240711@212441.4657 hqlerqck0hbo9hclgplkjpo1i0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240711@212441.4812 hqlerqck0hbo9hclgplkjpo1i0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404627 and bi.ref ='324.675.00.01' and bi.lordem =1
20240711@212441.5062 hqlerqck0hbo9hclgplkjpo1i0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240711@212441.5073 hqlerqck0hbo9hclgplkjpo1i0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404627 and bi.ref ='324.675.00.01' and bi.lordem =1
20240711@212441.5080 hqlerqck0hbo9hclgplkjpo1i0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240711@212441.5090 hqlerqck0hbo9hclgplkjpo1i0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404627 and bi.ref ='324.675.00.01' and bi.lordem =1
20240711@212441.5097 hqlerqck0hbo9hclgplkjpo1i0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240711@212441.5106 hqlerqck0hbo9hclgplkjpo1i0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404627 and bi.ref ='324.675.00.01' and bi.lordem =1
20240711@212441.5113 hqlerqck0hbo9hclgplkjpo1i0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240711@212441.5123 hqlerqck0hbo9hclgplkjpo1i0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404627 and bi.ref ='324.675.00.01' and bi.lordem =1
20240711@212441.5130 hqlerqck0hbo9hclgplkjpo1i0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240711@212441.5139 hqlerqck0hbo9hclgplkjpo1i0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404627 and bi.ref ='324.675.00.01' and bi.lordem =1
20240711@212441.5146 hqlerqck0hbo9hclgplkjpo1i0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240711@212441.5155 hqlerqck0hbo9hclgplkjpo1i0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404627 and bi.ref ='324.675.00.01' and bi.lordem =1
20240711@212441.5162 hqlerqck0hbo9hclgplkjpo1i0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240711@212441.5180 hqlerqck0hbo9hclgplkjpo1i0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404627 and bi.ref ='324.675.00.01' and bi.lordem =1
20240711@212441.5186 hqlerqck0hbo9hclgplkjpo1i0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240711@212441.5197 hqlerqck0hbo9hclgplkjpo1i0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404627 and bi.ref ='324.675.00.01' and bi.lordem =1
20240711@212441.5205 hqlerqck0hbo9hclgplkjpo1i0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240711@212441.5214 hqlerqck0hbo9hclgplkjpo1i0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404627 and bi.ref ='324.675.00.01' and bi.lordem =1
20240711@212441.5221 hqlerqck0hbo9hclgplkjpo1i0 Query : use flama_phc
20240711@212441.5224 hqlerqck0hbo9hclgplkjpo1i0 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240711@212441.5236 hqlerqck0hbo9hclgplkjpo1i0 Query : use flama_phc
20240711@212441.5239 hqlerqck0hbo9hclgplkjpo1i0 Query : select top 1 1 valor from td where td.ndoc = 39
20240711@212441.5253 hqlerqck0hbo9hclgplkjpo1i0 Query : use flama_phc
20240711@212441.5256 hqlerqck0hbo9hclgplkjpo1i0 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')
20240711@212441.5274 hqlerqck0hbo9hclgplkjpo1i0 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 = 39
20240711@212441.5294 hqlerqck0hbo9hclgplkjpo1i0 Query : use flama_phc
20240711@212441.5296 hqlerqck0hbo9hclgplkjpo1i0 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240711@212441.5308 hqlerqck0hbo9hclgplkjpo1i0 Query : use flama_phc
20240711@212441.5310 hqlerqck0hbo9hclgplkjpo1i0 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240711@212441.5321 hqlerqck0hbo9hclgplkjpo1i0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='889';
20240711@212441.5334 hqlerqck0hbo9hclgplkjpo1i0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='889';
20240711@212441.6153 b1pavdi7802b1v9k15pm6mlip7 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240711@212441.6166 b1pavdi7802b1v9k15pm6mlip7 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240711@212441.6184 b1pavdi7802b1v9k15pm6mlip7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='890';
20240711@212441.6222 b1pavdi7802b1v9k15pm6mlip7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='890';
20240711@212441.6237 b1pavdi7802b1v9k15pm6mlip7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='890';
20240711@212441.6249 b1pavdi7802b1v9k15pm6mlip7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='890';
20240711@212441.6262 b1pavdi7802b1v9k15pm6mlip7 Query : use flama_phc
20240711@212441.6265 b1pavdi7802b1v9k15pm6mlip7 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240711@212441.6279 b1pavdi7802b1v9k15pm6mlip7 Query : use flama_phc
20240711@212441.6281 b1pavdi7802b1v9k15pm6mlip7 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240711@212441.6309 b1pavdi7802b1v9k15pm6mlip7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.711.00.01'
20240711@212441.6459 b1pavdi7802b1v9k15pm6mlip7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404628 and bi.ref ='324.711.00.01' and bi.lordem =1
20240711@212441.6704 b1pavdi7802b1v9k15pm6mlip7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.711.00.01'
20240711@212441.6715 b1pavdi7802b1v9k15pm6mlip7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404628 and bi.ref ='324.711.00.01' and bi.lordem =1
20240711@212441.6722 b1pavdi7802b1v9k15pm6mlip7 Query : use flama_phc
20240711@212441.6725 b1pavdi7802b1v9k15pm6mlip7 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240711@212441.6742 b1pavdi7802b1v9k15pm6mlip7 Query : use flama_phc
20240711@212441.6745 b1pavdi7802b1v9k15pm6mlip7 Query : select top 1 1 valor from td where td.ndoc = 39
20240711@212441.6755 b1pavdi7802b1v9k15pm6mlip7 Query : use flama_phc
20240711@212441.6758 b1pavdi7802b1v9k15pm6mlip7 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')
20240711@212441.6776 b1pavdi7802b1v9k15pm6mlip7 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 = 39
20240711@212441.6790 b1pavdi7802b1v9k15pm6mlip7 Query : use flama_phc
20240711@212441.6793 b1pavdi7802b1v9k15pm6mlip7 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240711@212441.6804 b1pavdi7802b1v9k15pm6mlip7 Query : use flama_phc
20240711@212441.6807 b1pavdi7802b1v9k15pm6mlip7 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240711@212441.6819 b1pavdi7802b1v9k15pm6mlip7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='890';
20240711@212441.6832 b1pavdi7802b1v9k15pm6mlip7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='890';
20240711@212441.7303 p52jo2b81jk6cr7cej02nilf36 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240711@212441.7316 p52jo2b81jk6cr7cej02nilf36 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240711@212441.7333 p52jo2b81jk6cr7cej02nilf36 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='891';
20240711@212441.7375 p52jo2b81jk6cr7cej02nilf36 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='891';
20240711@212441.7390 p52jo2b81jk6cr7cej02nilf36 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='891';
20240711@212441.7402 p52jo2b81jk6cr7cej02nilf36 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='891';
20240711@212441.7416 p52jo2b81jk6cr7cej02nilf36 Query : use flama_phc
20240711@212441.7419 p52jo2b81jk6cr7cej02nilf36 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240711@212441.7433 p52jo2b81jk6cr7cej02nilf36 Query : use flama_phc
20240711@212441.7435 p52jo2b81jk6cr7cej02nilf36 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240711@212441.7463 p52jo2b81jk6cr7cej02nilf36 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2222.00.1'
20240711@212441.7909 p52jo2b81jk6cr7cej02nilf36 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404629 and bi.ref ='324.2222.00.1' and bi.lordem =1
20240711@212441.8166 p52jo2b81jk6cr7cej02nilf36 Query : use flama_phc
20240711@212441.8169 p52jo2b81jk6cr7cej02nilf36 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240711@212441.8182 p52jo2b81jk6cr7cej02nilf36 Query : use flama_phc
20240711@212441.8185 p52jo2b81jk6cr7cej02nilf36 Query : select top 1 1 valor from td where td.ndoc = 39
20240711@212441.8196 p52jo2b81jk6cr7cej02nilf36 Query : use flama_phc
20240711@212441.8199 p52jo2b81jk6cr7cej02nilf36 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')
20240711@212441.8433 p52jo2b81jk6cr7cej02nilf36 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 = 39
20240711@212441.8537 p52jo2b81jk6cr7cej02nilf36 Query : use flama_phc
20240711@212441.8541 p52jo2b81jk6cr7cej02nilf36 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240711@212441.8552 p52jo2b81jk6cr7cej02nilf36 Query : use flama_phc
20240711@212441.8555 p52jo2b81jk6cr7cej02nilf36 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240711@212441.8565 p52jo2b81jk6cr7cej02nilf36 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='891';
20240711@212441.8578 p52jo2b81jk6cr7cej02nilf36 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='891';
20240711@212441.9299 mndeb7f5p4tkggb53tfoc79n7h Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240711@212441.9312 mndeb7f5p4tkggb53tfoc79n7h Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240711@212441.9350 mndeb7f5p4tkggb53tfoc79n7h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='892';
20240711@212441.9390 mndeb7f5p4tkggb53tfoc79n7h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='892';
20240711@212441.9406 mndeb7f5p4tkggb53tfoc79n7h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='892';
20240711@212441.9418 mndeb7f5p4tkggb53tfoc79n7h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='892';
20240711@212441.9430 mndeb7f5p4tkggb53tfoc79n7h Query : use flama_phc
20240711@212441.9433 mndeb7f5p4tkggb53tfoc79n7h Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240711@212441.9448 mndeb7f5p4tkggb53tfoc79n7h Query : use flama_phc
20240711@212441.9450 mndeb7f5p4tkggb53tfoc79n7h Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240711@212441.9478 mndeb7f5p4tkggb53tfoc79n7h 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'
20240711@212441.9635 mndeb7f5p4tkggb53tfoc79n7h Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404630 and bi.ref ='324.2224.00.1' and bi.lordem =1
20240711@212441.9891 mndeb7f5p4tkggb53tfoc79n7h 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'
20240711@212441.9902 mndeb7f5p4tkggb53tfoc79n7h Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404630 and bi.ref ='324.2224.00.1' and bi.lordem =1
20240711@212441.9909 mndeb7f5p4tkggb53tfoc79n7h Query : use flama_phc
20240711@212441.9912 mndeb7f5p4tkggb53tfoc79n7h Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240711@212441.9924 mndeb7f5p4tkggb53tfoc79n7h Query : use flama_phc
20240711@212441.9927 mndeb7f5p4tkggb53tfoc79n7h Query : select top 1 1 valor from td where td.ndoc = 39
20240711@212441.9937 mndeb7f5p4tkggb53tfoc79n7h Query : use flama_phc
20240711@212441.9940 mndeb7f5p4tkggb53tfoc79n7h 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')
20240711@212441.9959 mndeb7f5p4tkggb53tfoc79n7h 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 = 39
20240711@212441.9974 mndeb7f5p4tkggb53tfoc79n7h Query : use flama_phc
20240711@212441.9976 mndeb7f5p4tkggb53tfoc79n7h Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240711@212441.9986 mndeb7f5p4tkggb53tfoc79n7h Query : use flama_phc
20240711@212441.9989 mndeb7f5p4tkggb53tfoc79n7h Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240711@212442.1000 mndeb7f5p4tkggb53tfoc79n7h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='892';
20240711@212442.1900 mndeb7f5p4tkggb53tfoc79n7h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='892';
20240711@212442.5530 0kro91imq32u14ck4tngg8hbeu Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240711@212442.5650 0kro91imq32u14ck4tngg8hbeu Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240711@212442.5820 0kro91imq32u14ck4tngg8hbeu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='893';
20240711@212442.6210 0kro91imq32u14ck4tngg8hbeu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='893';
20240711@212442.6370 0kro91imq32u14ck4tngg8hbeu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='893';
20240711@212442.6480 0kro91imq32u14ck4tngg8hbeu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='893';
20240711@212442.6620 0kro91imq32u14ck4tngg8hbeu Query : use flama_phc
20240711@212442.6650 0kro91imq32u14ck4tngg8hbeu Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240711@212442.6780 0kro91imq32u14ck4tngg8hbeu Query : use flama_phc
20240711@212442.6810 0kro91imq32u14ck4tngg8hbeu Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240711@212442.7080 0kro91imq32u14ck4tngg8hbeu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2231.00.1'
20240711@212442.8600 0kro91imq32u14ck4tngg8hbeu Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404631 and bi.ref ='324.2231.00.1' and bi.lordem =1
20240711@212442.1115 0kro91imq32u14ck4tngg8hbeu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2231.00.1'
20240711@212442.1126 0kro91imq32u14ck4tngg8hbeu Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404631 and bi.ref ='324.2231.00.1' and bi.lordem =1
20240711@212442.1133 0kro91imq32u14ck4tngg8hbeu Query : use flama_phc
20240711@212442.1136 0kro91imq32u14ck4tngg8hbeu Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240711@212442.1149 0kro91imq32u14ck4tngg8hbeu Query : use flama_phc
20240711@212442.1153 0kro91imq32u14ck4tngg8hbeu Query : select top 1 1 valor from td where td.ndoc = 39
20240711@212442.1163 0kro91imq32u14ck4tngg8hbeu Query : use flama_phc
20240711@212442.1166 0kro91imq32u14ck4tngg8hbeu 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')
20240711@212442.1185 0kro91imq32u14ck4tngg8hbeu 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 = 39
20240711@212442.1199 0kro91imq32u14ck4tngg8hbeu Query : use flama_phc
20240711@212442.1202 0kro91imq32u14ck4tngg8hbeu Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240711@212442.1213 0kro91imq32u14ck4tngg8hbeu Query : use flama_phc
20240711@212442.1216 0kro91imq32u14ck4tngg8hbeu Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240711@212442.1227 0kro91imq32u14ck4tngg8hbeu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='893';
20240711@212442.1241 0kro91imq32u14ck4tngg8hbeu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='893';
20240711@212442.2933 5kt4g7jsifor1fedae38h6koru Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240711@212442.2956 5kt4g7jsifor1fedae38h6koru Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240711@212442.3023 5kt4g7jsifor1fedae38h6koru Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='894';
20240711@212442.3181 5kt4g7jsifor1fedae38h6koru Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='894';
20240711@212442.3221 5kt4g7jsifor1fedae38h6koru Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='894';
20240711@212442.3238 5kt4g7jsifor1fedae38h6koru Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='894';
20240711@212442.3253 5kt4g7jsifor1fedae38h6koru Query : use flama_phc
20240711@212442.3256 5kt4g7jsifor1fedae38h6koru Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240711@212442.3270 5kt4g7jsifor1fedae38h6koru Query : use flama_phc
20240711@212442.3276 5kt4g7jsifor1fedae38h6koru Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240711@212442.3304 5kt4g7jsifor1fedae38h6koru Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4161.00.1'
20240711@212442.3464 5kt4g7jsifor1fedae38h6koru Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404632 and bi.ref ='324.4161.00.1' and bi.lordem =1
20240711@212442.3728 5kt4g7jsifor1fedae38h6koru Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4161.00.1'
20240711@212442.3739 5kt4g7jsifor1fedae38h6koru Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404632 and bi.ref ='324.4161.00.1' and bi.lordem =1
20240711@212442.3747 5kt4g7jsifor1fedae38h6koru Query : use flama_phc
20240711@212442.3750 5kt4g7jsifor1fedae38h6koru Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240711@212442.3763 5kt4g7jsifor1fedae38h6koru Query : use flama_phc
20240711@212442.3767 5kt4g7jsifor1fedae38h6koru Query : select top 1 1 valor from td where td.ndoc = 39
20240711@212442.3777 5kt4g7jsifor1fedae38h6koru Query : use flama_phc
20240711@212442.3780 5kt4g7jsifor1fedae38h6koru 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')
20240711@212442.3798 5kt4g7jsifor1fedae38h6koru 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 = 39
20240711@212442.3819 5kt4g7jsifor1fedae38h6koru Query : use flama_phc
20240711@212442.3822 5kt4g7jsifor1fedae38h6koru Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240711@212442.3833 5kt4g7jsifor1fedae38h6koru Query : use flama_phc
20240711@212442.3835 5kt4g7jsifor1fedae38h6koru Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240711@212442.3846 5kt4g7jsifor1fedae38h6koru Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='894';
20240711@212442.3859 5kt4g7jsifor1fedae38h6koru Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='894';
20240711@212442.4373 4nqk3uhtig1mtjaqhl5vo6iin9 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240711@212442.4387 4nqk3uhtig1mtjaqhl5vo6iin9 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240711@212442.4404 4nqk3uhtig1mtjaqhl5vo6iin9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='895';
20240711@212442.4446 4nqk3uhtig1mtjaqhl5vo6iin9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='895';
20240711@212442.4462 4nqk3uhtig1mtjaqhl5vo6iin9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='895';
20240711@212442.4474 4nqk3uhtig1mtjaqhl5vo6iin9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='895';
20240711@212442.4487 4nqk3uhtig1mtjaqhl5vo6iin9 Query : use flama_phc
20240711@212442.4490 4nqk3uhtig1mtjaqhl5vo6iin9 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240711@212442.4504 4nqk3uhtig1mtjaqhl5vo6iin9 Query : use flama_phc
20240711@212442.4507 4nqk3uhtig1mtjaqhl5vo6iin9 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240711@212442.4535 4nqk3uhtig1mtjaqhl5vo6iin9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4840.00.1'
20240711@212442.4692 4nqk3uhtig1mtjaqhl5vo6iin9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404633 and bi.ref ='324.4840.00.1' and bi.lordem =1
20240711@212442.4994 4nqk3uhtig1mtjaqhl5vo6iin9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4840.00.1'
20240711@212442.5005 4nqk3uhtig1mtjaqhl5vo6iin9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404633 and bi.ref ='324.4840.00.1' and bi.lordem =1
20240711@212442.5013 4nqk3uhtig1mtjaqhl5vo6iin9 Query : use flama_phc
20240711@212442.5016 4nqk3uhtig1mtjaqhl5vo6iin9 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240711@212442.5029 4nqk3uhtig1mtjaqhl5vo6iin9 Query : use flama_phc
20240711@212442.5032 4nqk3uhtig1mtjaqhl5vo6iin9 Query : select top 1 1 valor from td where td.ndoc = 39
20240711@212442.5042 4nqk3uhtig1mtjaqhl5vo6iin9 Query : use flama_phc
20240711@212442.5045 4nqk3uhtig1mtjaqhl5vo6iin9 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')
20240711@212442.5063 4nqk3uhtig1mtjaqhl5vo6iin9 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 = 39
20240711@212442.5078 4nqk3uhtig1mtjaqhl5vo6iin9 Query : use flama_phc
20240711@212442.5081 4nqk3uhtig1mtjaqhl5vo6iin9 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240711@212442.5092 4nqk3uhtig1mtjaqhl5vo6iin9 Query : use flama_phc
20240711@212442.5094 4nqk3uhtig1mtjaqhl5vo6iin9 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240711@212442.5105 4nqk3uhtig1mtjaqhl5vo6iin9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='895';
20240711@212442.5119 4nqk3uhtig1mtjaqhl5vo6iin9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='895';
20240711@212442.5597 b10qau4c4oeifqkf7n09tuuqlm Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240711@212442.5610 b10qau4c4oeifqkf7n09tuuqlm Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240711@212442.5627 b10qau4c4oeifqkf7n09tuuqlm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='896';
20240711@212442.5668 b10qau4c4oeifqkf7n09tuuqlm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='896';
20240711@212442.5684 b10qau4c4oeifqkf7n09tuuqlm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='896';
20240711@212442.5697 b10qau4c4oeifqkf7n09tuuqlm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='896';
20240711@212442.5710 b10qau4c4oeifqkf7n09tuuqlm Query : use flama_phc
20240711@212442.5713 b10qau4c4oeifqkf7n09tuuqlm Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240711@212442.5727 b10qau4c4oeifqkf7n09tuuqlm Query : use flama_phc
20240711@212442.5730 b10qau4c4oeifqkf7n09tuuqlm Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240711@212442.5761 b10qau4c4oeifqkf7n09tuuqlm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4965.00.1'
20240711@212442.5912 b10qau4c4oeifqkf7n09tuuqlm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404634 and bi.ref ='324.4965.00.1' and bi.lordem =1
20240711@212442.6162 b10qau4c4oeifqkf7n09tuuqlm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4965.00.1'
20240711@212442.6173 b10qau4c4oeifqkf7n09tuuqlm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404634 and bi.ref ='324.4965.00.1' and bi.lordem =1
20240711@212442.6180 b10qau4c4oeifqkf7n09tuuqlm Query : use flama_phc
20240711@212442.6183 b10qau4c4oeifqkf7n09tuuqlm Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240711@212442.6196 b10qau4c4oeifqkf7n09tuuqlm Query : use flama_phc
20240711@212442.6199 b10qau4c4oeifqkf7n09tuuqlm Query : select top 1 1 valor from td where td.ndoc = 39
20240711@212442.6208 b10qau4c4oeifqkf7n09tuuqlm Query : use flama_phc
20240711@212442.6211 b10qau4c4oeifqkf7n09tuuqlm 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')
20240711@212442.6230 b10qau4c4oeifqkf7n09tuuqlm 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 = 39
20240711@212442.6245 b10qau4c4oeifqkf7n09tuuqlm Query : use flama_phc
20240711@212442.6247 b10qau4c4oeifqkf7n09tuuqlm Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240711@212442.6258 b10qau4c4oeifqkf7n09tuuqlm Query : use flama_phc
20240711@212442.6261 b10qau4c4oeifqkf7n09tuuqlm Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240711@212442.6271 b10qau4c4oeifqkf7n09tuuqlm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='896';
20240711@212442.6285 b10qau4c4oeifqkf7n09tuuqlm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='896';
20240711@212442.6792 s4qdujbnk3m7meduo9fljjvt53 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240711@212442.6820 s4qdujbnk3m7meduo9fljjvt53 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240711@212442.6887 s4qdujbnk3m7meduo9fljjvt53 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='897';
20240711@212442.6928 s4qdujbnk3m7meduo9fljjvt53 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='897';
20240711@212442.6945 s4qdujbnk3m7meduo9fljjvt53 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='897';
20240711@212442.6956 s4qdujbnk3m7meduo9fljjvt53 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='897';
20240711@212442.6970 s4qdujbnk3m7meduo9fljjvt53 Query : use flama_phc
20240711@212442.6973 s4qdujbnk3m7meduo9fljjvt53 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240711@212442.6987 s4qdujbnk3m7meduo9fljjvt53 Query : use flama_phc
20240711@212442.6990 s4qdujbnk3m7meduo9fljjvt53 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240711@212442.7017 s4qdujbnk3m7meduo9fljjvt53 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20240711@212442.7166 s4qdujbnk3m7meduo9fljjvt53 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404635 and bi.ref ='324.4970.00.1' and bi.lordem =1
20240711@212442.7415 s4qdujbnk3m7meduo9fljjvt53 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20240711@212442.7425 s4qdujbnk3m7meduo9fljjvt53 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404635 and bi.ref ='324.4970.00.1' and bi.lordem =1
20240711@212442.7438 s4qdujbnk3m7meduo9fljjvt53 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20240711@212442.7447 s4qdujbnk3m7meduo9fljjvt53 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404635 and bi.ref ='324.4970.00.1' and bi.lordem =1
20240711@212442.7454 s4qdujbnk3m7meduo9fljjvt53 Query : use flama_phc
20240711@212442.7457 s4qdujbnk3m7meduo9fljjvt53 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240711@212442.7469 s4qdujbnk3m7meduo9fljjvt53 Query : use flama_phc
20240711@212442.7472 s4qdujbnk3m7meduo9fljjvt53 Query : select top 1 1 valor from td where td.ndoc = 39
20240711@212442.7482 s4qdujbnk3m7meduo9fljjvt53 Query : use flama_phc
20240711@212442.7485 s4qdujbnk3m7meduo9fljjvt53 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')
20240711@212442.7502 s4qdujbnk3m7meduo9fljjvt53 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 = 39
20240711@212442.7517 s4qdujbnk3m7meduo9fljjvt53 Query : use flama_phc
20240711@212442.7520 s4qdujbnk3m7meduo9fljjvt53 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240711@212442.7530 s4qdujbnk3m7meduo9fljjvt53 Query : use flama_phc
20240711@212442.7533 s4qdujbnk3m7meduo9fljjvt53 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240711@212442.7544 s4qdujbnk3m7meduo9fljjvt53 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='897';
20240711@212442.7561 s4qdujbnk3m7meduo9fljjvt53 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='897';
20240711@212442.8087 qquhnvt3e0imj2n4bjknjuhfqc Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240711@212442.8101 qquhnvt3e0imj2n4bjknjuhfqc Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240711@212442.8119 qquhnvt3e0imj2n4bjknjuhfqc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='898';
20240711@212442.8159 qquhnvt3e0imj2n4bjknjuhfqc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='898';
20240711@212442.8177 qquhnvt3e0imj2n4bjknjuhfqc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='898';
20240711@212442.8190 qquhnvt3e0imj2n4bjknjuhfqc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='898';
20240711@212442.8208 qquhnvt3e0imj2n4bjknjuhfqc Query : use flama_phc
20240711@212442.8211 qquhnvt3e0imj2n4bjknjuhfqc Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240711@212442.8226 qquhnvt3e0imj2n4bjknjuhfqc Query : use flama_phc
20240711@212442.8229 qquhnvt3e0imj2n4bjknjuhfqc Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240711@212442.8258 qquhnvt3e0imj2n4bjknjuhfqc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20240711@212442.8269 qquhnvt3e0imj2n4bjknjuhfqc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404636 and bi.ref ='324.4970.00.1' and bi.lordem =1
20240711@212442.8540 qquhnvt3e0imj2n4bjknjuhfqc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20240711@212442.8551 qquhnvt3e0imj2n4bjknjuhfqc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404636 and bi.ref ='324.4970.00.1' and bi.lordem =1
20240711@212442.8558 qquhnvt3e0imj2n4bjknjuhfqc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20240711@212442.8569 qquhnvt3e0imj2n4bjknjuhfqc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404636 and bi.ref ='324.4970.00.1' and bi.lordem =1
20240711@212442.8577 qquhnvt3e0imj2n4bjknjuhfqc Query : use flama_phc
20240711@212442.8579 qquhnvt3e0imj2n4bjknjuhfqc Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240711@212442.8600 qquhnvt3e0imj2n4bjknjuhfqc Query : use flama_phc
20240711@212442.8603 qquhnvt3e0imj2n4bjknjuhfqc Query : select top 1 1 valor from td where td.ndoc = 39
20240711@212442.8615 qquhnvt3e0imj2n4bjknjuhfqc Query : use flama_phc
20240711@212442.8619 qquhnvt3e0imj2n4bjknjuhfqc 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')
20240711@212442.8645 qquhnvt3e0imj2n4bjknjuhfqc 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 = 39
20240711@212442.8662 qquhnvt3e0imj2n4bjknjuhfqc Query : use flama_phc
20240711@212442.8665 qquhnvt3e0imj2n4bjknjuhfqc Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240711@212442.8676 qquhnvt3e0imj2n4bjknjuhfqc Query : use flama_phc
20240711@212442.8679 qquhnvt3e0imj2n4bjknjuhfqc Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240711@212442.8690 qquhnvt3e0imj2n4bjknjuhfqc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='898';
20240711@212442.8704 qquhnvt3e0imj2n4bjknjuhfqc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='898';
20240711@212442.9168 3qitnj282qnjl71geh2ojh1q11 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240711@212442.9183 3qitnj282qnjl71geh2ojh1q11 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240711@212442.9201 3qitnj282qnjl71geh2ojh1q11 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='899';
20240711@212442.9241 3qitnj282qnjl71geh2ojh1q11 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='899';
20240711@212442.9257 3qitnj282qnjl71geh2ojh1q11 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='899';
20240711@212442.9269 3qitnj282qnjl71geh2ojh1q11 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='899';
20240711@212442.9284 3qitnj282qnjl71geh2ojh1q11 Query : use flama_phc
20240711@212442.9287 3qitnj282qnjl71geh2ojh1q11 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240711@212442.9301 3qitnj282qnjl71geh2ojh1q11 Query : use flama_phc
20240711@212442.9305 3qitnj282qnjl71geh2ojh1q11 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240711@212442.9333 3qitnj282qnjl71geh2ojh1q11 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20240711@212442.9344 3qitnj282qnjl71geh2ojh1q11 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404637 and bi.ref ='324.4970.00.1' and bi.lordem =1
20240711@212442.9626 3qitnj282qnjl71geh2ojh1q11 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20240711@212442.9638 3qitnj282qnjl71geh2ojh1q11 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404637 and bi.ref ='324.4970.00.1' and bi.lordem =1
20240711@212442.9646 3qitnj282qnjl71geh2ojh1q11 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20240711@212442.9656 3qitnj282qnjl71geh2ojh1q11 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404637 and bi.ref ='324.4970.00.1' and bi.lordem =1
20240711@212442.9663 3qitnj282qnjl71geh2ojh1q11 Query : use flama_phc
20240711@212442.9667 3qitnj282qnjl71geh2ojh1q11 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240711@212442.9680 3qitnj282qnjl71geh2ojh1q11 Query : use flama_phc
20240711@212442.9683 3qitnj282qnjl71geh2ojh1q11 Query : select top 1 1 valor from td where td.ndoc = 39
20240711@212442.9694 3qitnj282qnjl71geh2ojh1q11 Query : use flama_phc
20240711@212442.9697 3qitnj282qnjl71geh2ojh1q11 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')
20240711@212442.9715 3qitnj282qnjl71geh2ojh1q11 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 = 39
20240711@212442.9732 3qitnj282qnjl71geh2ojh1q11 Query : use flama_phc
20240711@212442.9735 3qitnj282qnjl71geh2ojh1q11 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240711@212442.9746 3qitnj282qnjl71geh2ojh1q11 Query : use flama_phc
20240711@212442.9749 3qitnj282qnjl71geh2ojh1q11 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240711@212442.9761 3qitnj282qnjl71geh2ojh1q11 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='899';
20240711@212442.9779 3qitnj282qnjl71geh2ojh1q11 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='899';
20240711@212443.2560 ntsevaeaod705gv57kbvl9abmg Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240711@212443.2700 ntsevaeaod705gv57kbvl9abmg Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240711@212443.2890 ntsevaeaod705gv57kbvl9abmg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='900';
20240711@212443.3290 ntsevaeaod705gv57kbvl9abmg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='900';
20240711@212443.3450 ntsevaeaod705gv57kbvl9abmg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='900';
20240711@212443.3570 ntsevaeaod705gv57kbvl9abmg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='900';
20240711@212443.3710 ntsevaeaod705gv57kbvl9abmg Query : use flama_phc
20240711@212443.3740 ntsevaeaod705gv57kbvl9abmg Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240711@212443.3890 ntsevaeaod705gv57kbvl9abmg Query : use flama_phc
20240711@212443.3920 ntsevaeaod705gv57kbvl9abmg Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240711@212443.4210 ntsevaeaod705gv57kbvl9abmg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20240711@212443.5730 ntsevaeaod705gv57kbvl9abmg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404638 and bi.ref ='324.649.00.01' and bi.lordem =1
20240711@212443.8200 ntsevaeaod705gv57kbvl9abmg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20240711@212443.8360 ntsevaeaod705gv57kbvl9abmg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404638 and bi.ref ='324.649.00.01' and bi.lordem =1
20240711@212443.8430 ntsevaeaod705gv57kbvl9abmg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20240711@212443.8540 ntsevaeaod705gv57kbvl9abmg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404638 and bi.ref ='324.649.00.01' and bi.lordem =1
20240711@212443.8610 ntsevaeaod705gv57kbvl9abmg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20240711@212443.8710 ntsevaeaod705gv57kbvl9abmg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404638 and bi.ref ='324.649.00.01' and bi.lordem =1
20240711@212443.8780 ntsevaeaod705gv57kbvl9abmg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20240711@212443.8890 ntsevaeaod705gv57kbvl9abmg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404638 and bi.ref ='324.649.00.01' and bi.lordem =1
20240711@212443.8970 ntsevaeaod705gv57kbvl9abmg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20240711@212443.9080 ntsevaeaod705gv57kbvl9abmg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404638 and bi.ref ='324.649.00.01' and bi.lordem =1
20240711@212443.9140 ntsevaeaod705gv57kbvl9abmg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20240711@212443.9280 ntsevaeaod705gv57kbvl9abmg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404638 and bi.ref ='324.649.00.01' and bi.lordem =1
20240711@212443.9350 ntsevaeaod705gv57kbvl9abmg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20240711@212443.9450 ntsevaeaod705gv57kbvl9abmg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404638 and bi.ref ='324.649.00.01' and bi.lordem =1
20240711@212443.9530 ntsevaeaod705gv57kbvl9abmg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20240711@212443.9620 ntsevaeaod705gv57kbvl9abmg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404638 and bi.ref ='324.649.00.01' and bi.lordem =1
20240711@212443.9690 ntsevaeaod705gv57kbvl9abmg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20240711@212443.9780 ntsevaeaod705gv57kbvl9abmg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404638 and bi.ref ='324.649.00.01' and bi.lordem =1
20240711@212443.9850 ntsevaeaod705gv57kbvl9abmg Query : use flama_phc
20240711@212443.9880 ntsevaeaod705gv57kbvl9abmg Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240711@212443.1001 ntsevaeaod705gv57kbvl9abmg Query : use flama_phc
20240711@212443.1004 ntsevaeaod705gv57kbvl9abmg Query : select top 1 1 valor from td where td.ndoc = 39
20240711@212443.1015 ntsevaeaod705gv57kbvl9abmg Query : use flama_phc
20240711@212443.1017 ntsevaeaod705gv57kbvl9abmg 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')
20240711@212443.1038 ntsevaeaod705gv57kbvl9abmg 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 = 39
20240711@212443.1054 ntsevaeaod705gv57kbvl9abmg Query : use flama_phc
20240711@212443.1057 ntsevaeaod705gv57kbvl9abmg Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240711@212443.1068 ntsevaeaod705gv57kbvl9abmg Query : use flama_phc
20240711@212443.1071 ntsevaeaod705gv57kbvl9abmg Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240711@212443.1082 ntsevaeaod705gv57kbvl9abmg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='900';
20240711@212443.1095 ntsevaeaod705gv57kbvl9abmg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='900';
20240711@212443.2573 p8frh4vkit4judju1fddpklk63 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240711@212443.2587 p8frh4vkit4judju1fddpklk63 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240711@212443.2604 p8frh4vkit4judju1fddpklk63 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='901';
20240711@212443.2644 p8frh4vkit4judju1fddpklk63 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='901';
20240711@212443.2661 p8frh4vkit4judju1fddpklk63 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='901';
20240711@212443.2673 p8frh4vkit4judju1fddpklk63 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='901';
20240711@212443.2686 p8frh4vkit4judju1fddpklk63 Query : use flama_phc
20240711@212443.2689 p8frh4vkit4judju1fddpklk63 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240711@212443.2704 p8frh4vkit4judju1fddpklk63 Query : use flama_phc
20240711@212443.2707 p8frh4vkit4judju1fddpklk63 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240711@212443.2735 p8frh4vkit4judju1fddpklk63 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240711@212443.2892 p8frh4vkit4judju1fddpklk63 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404639 and bi.ref ='324.679.00.01' and bi.lordem =1
20240711@212443.3160 p8frh4vkit4judju1fddpklk63 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240711@212443.3171 p8frh4vkit4judju1fddpklk63 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404639 and bi.ref ='324.679.00.01' and bi.lordem =1
20240711@212443.3178 p8frh4vkit4judju1fddpklk63 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240711@212443.3188 p8frh4vkit4judju1fddpklk63 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404639 and bi.ref ='324.679.00.01' and bi.lordem =1
20240711@212443.3196 p8frh4vkit4judju1fddpklk63 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240711@212443.3206 p8frh4vkit4judju1fddpklk63 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404639 and bi.ref ='324.679.00.01' and bi.lordem =1
20240711@212443.3213 p8frh4vkit4judju1fddpklk63 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240711@212443.3223 p8frh4vkit4judju1fddpklk63 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404639 and bi.ref ='324.679.00.01' and bi.lordem =1
20240711@212443.3231 p8frh4vkit4judju1fddpklk63 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240711@212443.3241 p8frh4vkit4judju1fddpklk63 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404639 and bi.ref ='324.679.00.01' and bi.lordem =1
20240711@212443.3247 p8frh4vkit4judju1fddpklk63 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240711@212443.3257 p8frh4vkit4judju1fddpklk63 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404639 and bi.ref ='324.679.00.01' and bi.lordem =1
20240711@212443.3264 p8frh4vkit4judju1fddpklk63 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240711@212443.3274 p8frh4vkit4judju1fddpklk63 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404639 and bi.ref ='324.679.00.01' and bi.lordem =1
20240711@212443.3281 p8frh4vkit4judju1fddpklk63 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240711@212443.3290 p8frh4vkit4judju1fddpklk63 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404639 and bi.ref ='324.679.00.01' and bi.lordem =1
20240711@212443.3297 p8frh4vkit4judju1fddpklk63 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240711@212443.3307 p8frh4vkit4judju1fddpklk63 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404639 and bi.ref ='324.679.00.01' and bi.lordem =1
20240711@212443.3315 p8frh4vkit4judju1fddpklk63 Query : use flama_phc
20240711@212443.3318 p8frh4vkit4judju1fddpklk63 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240711@212443.3331 p8frh4vkit4judju1fddpklk63 Query : use flama_phc
20240711@212443.3333 p8frh4vkit4judju1fddpklk63 Query : select top 1 1 valor from td where td.ndoc = 39
20240711@212443.3343 p8frh4vkit4judju1fddpklk63 Query : use flama_phc
20240711@212443.3346 p8frh4vkit4judju1fddpklk63 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')
20240711@212443.3365 p8frh4vkit4judju1fddpklk63 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 = 39
20240711@212443.3387 p8frh4vkit4judju1fddpklk63 Query : use flama_phc
20240711@212443.3389 p8frh4vkit4judju1fddpklk63 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240711@212443.3400 p8frh4vkit4judju1fddpklk63 Query : use flama_phc
20240711@212443.3403 p8frh4vkit4judju1fddpklk63 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240711@212443.3413 p8frh4vkit4judju1fddpklk63 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='901';
20240711@212443.3426 p8frh4vkit4judju1fddpklk63 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='901';
20240711@212443.3907 l4g22me6n9fi4193f5ldoqvd6h Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240711@212443.3921 l4g22me6n9fi4193f5ldoqvd6h Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240711@212443.3938 l4g22me6n9fi4193f5ldoqvd6h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='902';
20240711@212443.3977 l4g22me6n9fi4193f5ldoqvd6h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='902';
20240711@212443.3995 l4g22me6n9fi4193f5ldoqvd6h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='902';
20240711@212443.4007 l4g22me6n9fi4193f5ldoqvd6h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='902';
20240711@212443.4021 l4g22me6n9fi4193f5ldoqvd6h Query : use flama_phc
20240711@212443.4024 l4g22me6n9fi4193f5ldoqvd6h Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240711@212443.4038 l4g22me6n9fi4193f5ldoqvd6h Query : use flama_phc
20240711@212443.4041 l4g22me6n9fi4193f5ldoqvd6h Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240711@212443.4103 l4g22me6n9fi4193f5ldoqvd6h Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1416.00.1'
20240711@212443.4252 l4g22me6n9fi4193f5ldoqvd6h Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404640 and bi.ref ='324.1416.00.1' and bi.lordem =1
20240711@212443.4553 l4g22me6n9fi4193f5ldoqvd6h Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1416.00.1'
20240711@212443.4563 l4g22me6n9fi4193f5ldoqvd6h Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404640 and bi.ref ='324.1416.00.1' and bi.lordem =1
20240711@212443.4570 l4g22me6n9fi4193f5ldoqvd6h Query : use flama_phc
20240711@212443.4573 l4g22me6n9fi4193f5ldoqvd6h Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240711@212443.4585 l4g22me6n9fi4193f5ldoqvd6h Query : use flama_phc
20240711@212443.4588 l4g22me6n9fi4193f5ldoqvd6h Query : select top 1 1 valor from td where td.ndoc = 39
20240711@212443.4599 l4g22me6n9fi4193f5ldoqvd6h Query : use flama_phc
20240711@212443.4601 l4g22me6n9fi4193f5ldoqvd6h 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')
20240711@212443.4619 l4g22me6n9fi4193f5ldoqvd6h 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 = 39
20240711@212443.4634 l4g22me6n9fi4193f5ldoqvd6h Query : use flama_phc
20240711@212443.4636 l4g22me6n9fi4193f5ldoqvd6h Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240711@212443.4647 l4g22me6n9fi4193f5ldoqvd6h Query : use flama_phc
20240711@212443.4649 l4g22me6n9fi4193f5ldoqvd6h Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240711@212443.4660 l4g22me6n9fi4193f5ldoqvd6h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='902';
20240711@212443.4673 l4g22me6n9fi4193f5ldoqvd6h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='902';
20240711@212443.5158 3vqbt4u8fr8eb5hdnr4ra45fvr Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240711@212443.5170 3vqbt4u8fr8eb5hdnr4ra45fvr Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240711@212443.5192 3vqbt4u8fr8eb5hdnr4ra45fvr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='903';
20240711@212443.5231 3vqbt4u8fr8eb5hdnr4ra45fvr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='903';
20240711@212443.5248 3vqbt4u8fr8eb5hdnr4ra45fvr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='903';
20240711@212443.5261 3vqbt4u8fr8eb5hdnr4ra45fvr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='903';
20240711@212443.5275 3vqbt4u8fr8eb5hdnr4ra45fvr Query : use flama_phc
20240711@212443.5278 3vqbt4u8fr8eb5hdnr4ra45fvr Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240711@212443.5293 3vqbt4u8fr8eb5hdnr4ra45fvr Query : use flama_phc
20240711@212443.5296 3vqbt4u8fr8eb5hdnr4ra45fvr Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240711@212443.5328 3vqbt4u8fr8eb5hdnr4ra45fvr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4910.00.1'
20240711@212443.5484 3vqbt4u8fr8eb5hdnr4ra45fvr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404641 and bi.ref ='324.4910.00.1' and bi.lordem =1
20240711@212443.5733 3vqbt4u8fr8eb5hdnr4ra45fvr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4910.00.1'
20240711@212443.5744 3vqbt4u8fr8eb5hdnr4ra45fvr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404641 and bi.ref ='324.4910.00.1' and bi.lordem =1
20240711@212443.5750 3vqbt4u8fr8eb5hdnr4ra45fvr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4910.00.1'
20240711@212443.5760 3vqbt4u8fr8eb5hdnr4ra45fvr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404641 and bi.ref ='324.4910.00.1' and bi.lordem =1
20240711@212443.5767 3vqbt4u8fr8eb5hdnr4ra45fvr Query : use flama_phc
20240711@212443.5769 3vqbt4u8fr8eb5hdnr4ra45fvr Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240711@212443.5783 3vqbt4u8fr8eb5hdnr4ra45fvr Query : use flama_phc
20240711@212443.5786 3vqbt4u8fr8eb5hdnr4ra45fvr Query : select top 1 1 valor from td where td.ndoc = 39
20240711@212443.5796 3vqbt4u8fr8eb5hdnr4ra45fvr Query : use flama_phc
20240711@212443.5800 3vqbt4u8fr8eb5hdnr4ra45fvr 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')
20240711@212443.5817 3vqbt4u8fr8eb5hdnr4ra45fvr 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 = 39
20240711@212443.5833 3vqbt4u8fr8eb5hdnr4ra45fvr Query : use flama_phc
20240711@212443.5837 3vqbt4u8fr8eb5hdnr4ra45fvr Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240711@212443.5849 3vqbt4u8fr8eb5hdnr4ra45fvr Query : use flama_phc
20240711@212443.5852 3vqbt4u8fr8eb5hdnr4ra45fvr Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240711@212443.5863 3vqbt4u8fr8eb5hdnr4ra45fvr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='903';
20240711@212443.5877 3vqbt4u8fr8eb5hdnr4ra45fvr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='903';
20240711@212443.6362 kt11lb2hr9iob02hfe7f4me79u Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240711@212443.6374 kt11lb2hr9iob02hfe7f4me79u Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240711@212443.6393 kt11lb2hr9iob02hfe7f4me79u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='904';
20240711@212443.6432 kt11lb2hr9iob02hfe7f4me79u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='904';
20240711@212443.6448 kt11lb2hr9iob02hfe7f4me79u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='904';
20240711@212443.6461 kt11lb2hr9iob02hfe7f4me79u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='904';
20240711@212443.6474 kt11lb2hr9iob02hfe7f4me79u Query : use flama_phc
20240711@212443.6477 kt11lb2hr9iob02hfe7f4me79u Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240711@212443.6492 kt11lb2hr9iob02hfe7f4me79u Query : use flama_phc
20240711@212443.6495 kt11lb2hr9iob02hfe7f4me79u Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240711@212443.6524 kt11lb2hr9iob02hfe7f4me79u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4966.00.1'
20240711@212443.6684 kt11lb2hr9iob02hfe7f4me79u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404642 and bi.ref ='324.4966.00.1' and bi.lordem =1
20240711@212443.6950 kt11lb2hr9iob02hfe7f4me79u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4966.00.1'
20240711@212443.6961 kt11lb2hr9iob02hfe7f4me79u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404642 and bi.ref ='324.4966.00.1' and bi.lordem =1
20240711@212443.6968 kt11lb2hr9iob02hfe7f4me79u Query : use flama_phc
20240711@212443.6971 kt11lb2hr9iob02hfe7f4me79u Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240711@212443.6984 kt11lb2hr9iob02hfe7f4me79u Query : use flama_phc
20240711@212443.6987 kt11lb2hr9iob02hfe7f4me79u Query : select top 1 1 valor from td where td.ndoc = 39
20240711@212443.6998 kt11lb2hr9iob02hfe7f4me79u Query : use flama_phc
20240711@212443.7001 kt11lb2hr9iob02hfe7f4me79u 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')
20240711@212443.7019 kt11lb2hr9iob02hfe7f4me79u 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 = 39
20240711@212443.7034 kt11lb2hr9iob02hfe7f4me79u Query : use flama_phc
20240711@212443.7037 kt11lb2hr9iob02hfe7f4me79u Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240711@212443.7050 kt11lb2hr9iob02hfe7f4me79u Query : use flama_phc
20240711@212443.7053 kt11lb2hr9iob02hfe7f4me79u Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240711@212443.7064 kt11lb2hr9iob02hfe7f4me79u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='904';
20240711@212443.7078 kt11lb2hr9iob02hfe7f4me79u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='904';
20240711@212443.7563 hkreb1g955r3tfrbgsian7rtrj Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240711@212443.7612 hkreb1g955r3tfrbgsian7rtrj Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240711@212443.7630 hkreb1g955r3tfrbgsian7rtrj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='905';
20240711@212443.7666 hkreb1g955r3tfrbgsian7rtrj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='905';
20240711@212443.7681 hkreb1g955r3tfrbgsian7rtrj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='905';
20240711@212443.7693 hkreb1g955r3tfrbgsian7rtrj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='905';
20240711@212443.7706 hkreb1g955r3tfrbgsian7rtrj Query : use flama_phc
20240711@212443.7709 hkreb1g955r3tfrbgsian7rtrj Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240711@212443.7723 hkreb1g955r3tfrbgsian7rtrj Query : use flama_phc
20240711@212443.7726 hkreb1g955r3tfrbgsian7rtrj Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240711@212443.7754 hkreb1g955r3tfrbgsian7rtrj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.727.00.01'
20240711@212443.7906 hkreb1g955r3tfrbgsian7rtrj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404643 and bi.ref ='324.727.00.01' and bi.lordem =1
20240711@212443.8156 hkreb1g955r3tfrbgsian7rtrj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.727.00.01'
20240711@212443.8167 hkreb1g955r3tfrbgsian7rtrj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404643 and bi.ref ='324.727.00.01' and bi.lordem =1
20240711@212443.8174 hkreb1g955r3tfrbgsian7rtrj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.727.00.01'
20240711@212443.8184 hkreb1g955r3tfrbgsian7rtrj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404643 and bi.ref ='324.727.00.01' and bi.lordem =1
20240711@212443.8191 hkreb1g955r3tfrbgsian7rtrj Query : use flama_phc
20240711@212443.8194 hkreb1g955r3tfrbgsian7rtrj Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240711@212443.8207 hkreb1g955r3tfrbgsian7rtrj Query : use flama_phc
20240711@212443.8210 hkreb1g955r3tfrbgsian7rtrj Query : select top 1 1 valor from td where td.ndoc = 39
20240711@212443.8220 hkreb1g955r3tfrbgsian7rtrj Query : use flama_phc
20240711@212443.8223 hkreb1g955r3tfrbgsian7rtrj 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')
20240711@212443.8241 hkreb1g955r3tfrbgsian7rtrj 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 = 39
20240711@212443.8257 hkreb1g955r3tfrbgsian7rtrj Query : use flama_phc
20240711@212443.8260 hkreb1g955r3tfrbgsian7rtrj Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240711@212443.8271 hkreb1g955r3tfrbgsian7rtrj Query : use flama_phc
20240711@212443.8273 hkreb1g955r3tfrbgsian7rtrj Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240711@212443.8284 hkreb1g955r3tfrbgsian7rtrj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='905';
20240711@212443.8298 hkreb1g955r3tfrbgsian7rtrj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='905';
20240711@212443.8775 ej3s42hhh8v69hieh7rtvuqcb8 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240711@212443.8788 ej3s42hhh8v69hieh7rtvuqcb8 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240711@212443.8805 ej3s42hhh8v69hieh7rtvuqcb8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='906';
20240711@212443.8843 ej3s42hhh8v69hieh7rtvuqcb8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='906';
20240711@212443.8860 ej3s42hhh8v69hieh7rtvuqcb8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='906';
20240711@212443.8871 ej3s42hhh8v69hieh7rtvuqcb8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='906';
20240711@212443.8885 ej3s42hhh8v69hieh7rtvuqcb8 Query : use flama_phc
20240711@212443.8887 ej3s42hhh8v69hieh7rtvuqcb8 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240711@212443.8902 ej3s42hhh8v69hieh7rtvuqcb8 Query : use flama_phc
20240711@212443.8905 ej3s42hhh8v69hieh7rtvuqcb8 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4743
20240711@212443.8966 ej3s42hhh8v69hieh7rtvuqcb8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240711@212443.9117 ej3s42hhh8v69hieh7rtvuqcb8 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404644 and bi.ref ='324.1831.00.2' and bi.lordem =1
20240711@212443.9378 ej3s42hhh8v69hieh7rtvuqcb8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4902.00.1'
20240711@212443.9389 ej3s42hhh8v69hieh7rtvuqcb8 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404644 and bi.ref ='324.4902.00.1' and bi.lordem =2
20240711@212443.9629 ej3s42hhh8v69hieh7rtvuqcb8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4840.00.1'
20240711@212443.9639 ej3s42hhh8v69hieh7rtvuqcb8 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404644 and bi.ref ='324.4840.00.1' and bi.lordem =3
20240711@212443.9891 ej3s42hhh8v69hieh7rtvuqcb8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4840.00.1'
20240711@212443.9902 ej3s42hhh8v69hieh7rtvuqcb8 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404644 and bi.ref ='324.4840.00.1' and bi.lordem =4
20240711@212444.1690 ej3s42hhh8v69hieh7rtvuqcb8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4840.00.1'
20240711@212444.1790 ej3s42hhh8v69hieh7rtvuqcb8 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404644 and bi.ref ='324.4840.00.1' and bi.lordem =4
20240711@212444.1860 ej3s42hhh8v69hieh7rtvuqcb8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1667.00.1'
20240711@212444.3450 ej3s42hhh8v69hieh7rtvuqcb8 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404644 and bi.ref ='324.1667.00.1' and bi.lordem =5
20240711@212444.6080 ej3s42hhh8v69hieh7rtvuqcb8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20240711@212444.6190 ej3s42hhh8v69hieh7rtvuqcb8 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404644 and bi.ref ='324.4970.00.1' and bi.lordem =6
20240711@212444.8680 ej3s42hhh8v69hieh7rtvuqcb8 Query : use flama_phc
20240711@212444.8710 ej3s42hhh8v69hieh7rtvuqcb8 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240711@212444.8830 ej3s42hhh8v69hieh7rtvuqcb8 Query : use flama_phc
20240711@212444.8860 ej3s42hhh8v69hieh7rtvuqcb8 Query : select top 1 1 valor from td where td.ndoc = 39
20240711@212444.8970 ej3s42hhh8v69hieh7rtvuqcb8 Query : use flama_phc
20240711@212444.9000 ej3s42hhh8v69hieh7rtvuqcb8 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')
20240711@212444.9190 ej3s42hhh8v69hieh7rtvuqcb8 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 = 39
20240711@212444.9350 ej3s42hhh8v69hieh7rtvuqcb8 Query : use flama_phc
20240711@212444.9380 ej3s42hhh8v69hieh7rtvuqcb8 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240711@212444.9490 ej3s42hhh8v69hieh7rtvuqcb8 Query : use flama_phc
20240711@212444.9520 ej3s42hhh8v69hieh7rtvuqcb8 Query : select szadrsstamp valor from szadrs where szadrsdesc='101597 - auchan retail portugal , sa'
20240711@212444.9640 ej3s42hhh8v69hieh7rtvuqcb8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='906';
20240711@212444.9790 ej3s42hhh8v69hieh7rtvuqcb8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='906';
20240711@212444.1462 ov5sp6fmvvvdh9t3ic7pg7n51o Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240711@212444.1475 ov5sp6fmvvvdh9t3ic7pg7n51o Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240711@212444.1493 ov5sp6fmvvvdh9t3ic7pg7n51o Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='907';
20240711@212444.1532 ov5sp6fmvvvdh9t3ic7pg7n51o Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='907';
20240711@212444.1548 ov5sp6fmvvvdh9t3ic7pg7n51o Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='907';
20240711@212444.1560 ov5sp6fmvvvdh9t3ic7pg7n51o Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='907';
20240711@212444.1574 ov5sp6fmvvvdh9t3ic7pg7n51o Query : use flama_phc
20240711@212444.1576 ov5sp6fmvvvdh9t3ic7pg7n51o Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240711@212444.1591 ov5sp6fmvvvdh9t3ic7pg7n51o Query : use flama_phc
20240711@212444.1594 ov5sp6fmvvvdh9t3ic7pg7n51o Query : select no, estab,szadrsdesc from szadrs where u_coddest=5546
20240711@212444.1653 ov5sp6fmvvvdh9t3ic7pg7n51o 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'
20240711@212444.1803 ov5sp6fmvvvdh9t3ic7pg7n51o Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404645 and bi.ref ='324.1824.00.1' and bi.lordem =1
20240711@212444.2081 ov5sp6fmvvvdh9t3ic7pg7n51o 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'
20240711@212444.2093 ov5sp6fmvvvdh9t3ic7pg7n51o Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404645 and bi.ref ='324.1824.00.1' and bi.lordem =1
20240711@212444.2100 ov5sp6fmvvvdh9t3ic7pg7n51o 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'
20240711@212444.2109 ov5sp6fmvvvdh9t3ic7pg7n51o Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404645 and bi.ref ='324.1824.00.1' and bi.lordem =1
20240711@212444.2116 ov5sp6fmvvvdh9t3ic7pg7n51o 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'
20240711@212444.2125 ov5sp6fmvvvdh9t3ic7pg7n51o Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404645 and bi.ref ='324.1824.00.1' and bi.lordem =1
20240711@212444.2134 ov5sp6fmvvvdh9t3ic7pg7n51o Query : use flama_phc
20240711@212444.2137 ov5sp6fmvvvdh9t3ic7pg7n51o Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240711@212444.2150 ov5sp6fmvvvdh9t3ic7pg7n51o Query : use flama_phc
20240711@212444.2153 ov5sp6fmvvvdh9t3ic7pg7n51o Query : select top 1 1 valor from td where td.ndoc = 39
20240711@212444.2163 ov5sp6fmvvvdh9t3ic7pg7n51o Query : use flama_phc
20240711@212444.2166 ov5sp6fmvvvdh9t3ic7pg7n51o 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')
20240711@212444.2184 ov5sp6fmvvvdh9t3ic7pg7n51o 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 = 39
20240711@212444.2200 ov5sp6fmvvvdh9t3ic7pg7n51o Query : use flama_phc
20240711@212444.2202 ov5sp6fmvvvdh9t3ic7pg7n51o Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240711@212444.2213 ov5sp6fmvvvdh9t3ic7pg7n51o Query : use flama_phc
20240711@212444.2216 ov5sp6fmvvvdh9t3ic7pg7n51o Query : select szadrsstamp valor from szadrs where szadrsdesc='199506 - itmp alimentar, s.a.'
20240711@212444.2228 ov5sp6fmvvvdh9t3ic7pg7n51o Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='907';
20240711@212444.2243 ov5sp6fmvvvdh9t3ic7pg7n51o Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='907';
20240711@212444.2754 puui65cpe4dqmnql3safli566b Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240711@212444.2768 puui65cpe4dqmnql3safli566b Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240711@212444.2785 puui65cpe4dqmnql3safli566b Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='908';
20240711@212444.2823 puui65cpe4dqmnql3safli566b Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='908';
20240711@212444.2838 puui65cpe4dqmnql3safli566b Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='908';
20240711@212444.2849 puui65cpe4dqmnql3safli566b Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='908';
20240711@212444.2862 puui65cpe4dqmnql3safli566b Query : use flama_phc
20240711@212444.2865 puui65cpe4dqmnql3safli566b Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240711@212444.2879 puui65cpe4dqmnql3safli566b Query : use flama_phc
20240711@212444.2882 puui65cpe4dqmnql3safli566b Query : select no, estab,szadrsdesc from szadrs where u_coddest=227
20240711@212444.2942 puui65cpe4dqmnql3safli566b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1690.00.1'
20240711@212444.3094 puui65cpe4dqmnql3safli566b Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404646 and bi.ref ='324.1690.00.1' and bi.lordem =1
20240711@212444.3352 puui65cpe4dqmnql3safli566b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20240711@212444.3499 puui65cpe4dqmnql3safli566b Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404646 and bi.ref ='324.692.00.01' and bi.lordem =2
20240711@212444.3808 puui65cpe4dqmnql3safli566b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20240711@212444.3819 puui65cpe4dqmnql3safli566b Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404646 and bi.ref ='324.692.00.01' and bi.lordem =2
20240711@212444.3826 puui65cpe4dqmnql3safli566b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2231.00.1'
20240711@212444.3836 puui65cpe4dqmnql3safli566b Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404646 and bi.ref ='324.2231.00.1' and bi.lordem =4
20240711@212444.5164 puui65cpe4dqmnql3safli566b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2231.00.1'
20240711@212444.5178 puui65cpe4dqmnql3safli566b Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404646 and bi.ref ='324.2231.00.1' and bi.lordem =4
20240711@212444.5186 puui65cpe4dqmnql3safli566b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2231.00.1'
20240711@212444.5195 puui65cpe4dqmnql3safli566b Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404646 and bi.ref ='324.2231.00.1' and bi.lordem =5
20240711@212444.5458 puui65cpe4dqmnql3safli566b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4988.00.1'
20240711@212444.5468 puui65cpe4dqmnql3safli566b Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404646 and bi.ref ='324.4988.00.1' and bi.lordem =6
20240711@212444.5723 puui65cpe4dqmnql3safli566b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1608.00.1'
20240711@212444.5878 puui65cpe4dqmnql3safli566b Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404646 and bi.ref ='324.1608.00.1' and bi.lordem =8
20240711@212444.6141 puui65cpe4dqmnql3safli566b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1608.00.1'
20240711@212444.6151 puui65cpe4dqmnql3safli566b Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2046 and bo.obrano = 2404646 and bi.ref ='324.1608.00.1' and bi.lordem =8
20240711@212444.6158 puui65cpe4dqmnql3safli566b Query : use flama_phc
20240711@212444.6161 puui65cpe4dqmnql3safli566b Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240711@212444.6174 puui65cpe4dqmnql3safli566b Query : use flama_phc
20240711@212444.6177 puui65cpe4dqmnql3safli566b Query : select top 1 1 valor from td where td.ndoc = 39
20240711@212444.6187 puui65cpe4dqmnql3safli566b Query : use flama_phc
20240711@212444.6190 puui65cpe4dqmnql3safli566b 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')
20240711@212444.6207 puui65cpe4dqmnql3safli566b 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 = 39
20240711@212444.6222 puui65cpe4dqmnql3safli566b Query : use flama_phc
20240711@212444.6225 puui65cpe4dqmnql3safli566b Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240711@212444.6235 puui65cpe4dqmnql3safli566b Query : use flama_phc
20240711@212444.6238 puui65cpe4dqmnql3safli566b Query : select szadrsstamp valor from szadrs where szadrsdesc='radiobela som, lda'
20240711@212444.6253 puui65cpe4dqmnql3safli566b Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='908';
20240711@212444.6266 puui65cpe4dqmnql3safli566b Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='908';
20240711@213610.8394 ah6paugd6a6f0b6er3ba4obaet Query : use flama_phc
20240711@213610.8399 ah6paugd6a6f0b6er3ba4obaet Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240711@213610.8418 ah6paugd6a6f0b6er3ba4obaet Query : use flama_phc
20240711@213610.8422 ah6paugd6a6f0b6er3ba4obaet Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240711@221913.6808 au1gdduqqb8a76me23rk82rk7b Query : use flama_phc
20240711@221913.6813 au1gdduqqb8a76me23rk82rk7b Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240711@221913.6833 au1gdduqqb8a76me23rk82rk7b Query : use flama_phc
20240711@221913.6835 au1gdduqqb8a76me23rk82rk7b Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240711@223613.5811 7cgaprdaos1jmfjj8rgk0is4t7 Query : use flama_phc
20240711@223613.5815 7cgaprdaos1jmfjj8rgk0is4t7 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240711@223613.5833 7cgaprdaos1jmfjj8rgk0is4t7 Query : use flama_phc
20240711@223613.5836 7cgaprdaos1jmfjj8rgk0is4t7 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240711@231913.7875 g3itkpgbd40gpmmico341ddh9i Query : use flama_phc
20240711@231913.7881 g3itkpgbd40gpmmico341ddh9i Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240711@231913.7901 g3itkpgbd40gpmmico341ddh9i Query : use flama_phc
20240711@231913.7904 g3itkpgbd40gpmmico341ddh9i Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240711@233614.1461 ri1u2gdr6457a7e5k7mvufkc3j Query : use flama_phc
20240711@233614.1466 ri1u2gdr6457a7e5k7mvufkc3j Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240711@233614.1483 ri1u2gdr6457a7e5k7mvufkc3j Query : use flama_phc
20240711@233614.1486 ri1u2gdr6457a7e5k7mvufkc3j Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240712@071920.6053 bn7a1v86gv8iqgluoupkgt96rv Query : use flama_phc
20240712@071920.6088 bn7a1v86gv8iqgluoupkgt96rv Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240712@071920.7290 bn7a1v86gv8iqgluoupkgt96rv Query : use flama_phc
20240712@071920.7356 bn7a1v86gv8iqgluoupkgt96rv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240712@073641.3517 uge7edduesugie1grp2al09r0m Query : use flama_phc
20240712@073641.3524 uge7edduesugie1grp2al09r0m Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240712@073641.3560 uge7edduesugie1grp2al09r0m Query : use flama_phc
20240712@073641.3563 uge7edduesugie1grp2al09r0m Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240712@081910.3496 q273hd1lmcrjh5ten36np1tg30 Query : use flama_phc
20240712@081910.3500 q273hd1lmcrjh5ten36np1tg30 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240712@081910.3550 q273hd1lmcrjh5ten36np1tg30 Query : use flama_phc
20240712@081910.3553 q273hd1lmcrjh5ten36np1tg30 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240712@083610.6992 d3jn944ac3e0jnf43398r0lftp Query : use flama_phc
20240712@083610.6997 d3jn944ac3e0jnf43398r0lftp Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240712@083610.7105 d3jn944ac3e0jnf43398r0lftp Query : use flama_phc
20240712@083610.7108 d3jn944ac3e0jnf43398r0lftp Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240712@091909.8885 sstqji82eh5slujopvtgne9e52 Query : use flama_phc
20240712@091909.8890 sstqji82eh5slujopvtgne9e52 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240712@091909.8954 sstqji82eh5slujopvtgne9e52 Query : use flama_phc
20240712@091909.8957 sstqji82eh5slujopvtgne9e52 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240712@093610.1610 cb4emu3650c115ml0mkv4m9b9h Query : use flama_phc
20240712@093610.2150 cb4emu3650c115ml0mkv4m9b9h Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240712@093610.4370 cb4emu3650c115ml0mkv4m9b9h Query : use flama_phc
20240712@093610.4840 cb4emu3650c115ml0mkv4m9b9h Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240712@101913.9441 nejiq6df3rgnp3mtaht192d9kq Query : use flama_phc
20240712@101913.9446 nejiq6df3rgnp3mtaht192d9kq Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240712@101913.9495 nejiq6df3rgnp3mtaht192d9kq Query : use flama_phc
20240712@101913.9498 nejiq6df3rgnp3mtaht192d9kq Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240712@103614.2045 i5ocple6pd91s27bo3kmrb8ssh Query : use flama_phc
20240712@103614.2050 i5ocple6pd91s27bo3kmrb8ssh Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240712@103614.2068 i5ocple6pd91s27bo3kmrb8ssh Query : use flama_phc
20240712@103614.2073 i5ocple6pd91s27bo3kmrb8ssh Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240712@111910.6940 p81tjqq34b3p966uoc6m428r42 Query : use flama_phc
20240712@111910.6947 p81tjqq34b3p966uoc6m428r42 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240712@111910.6971 p81tjqq34b3p966uoc6m428r42 Query : use flama_phc
20240712@111910.6977 p81tjqq34b3p966uoc6m428r42 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240712@113610.7112 urqgrmg7jlbuh99ckt4a7o396k Query : use flama_phc
20240712@113610.7118 urqgrmg7jlbuh99ckt4a7o396k Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240712@113610.7136 urqgrmg7jlbuh99ckt4a7o396k Query : use flama_phc
20240712@113610.7139 urqgrmg7jlbuh99ckt4a7o396k Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240712@121910.7875 a27cvvtc5ln989jrhluo5dndnh Query : use flama_phc
20240712@121910.7879 a27cvvtc5ln989jrhluo5dndnh Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240712@121910.7897 a27cvvtc5ln989jrhluo5dndnh Query : use flama_phc
20240712@121910.7900 a27cvvtc5ln989jrhluo5dndnh Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240712@123610.6509 ou475habujdu33htn49v17orfj Query : use flama_phc
20240712@123610.6547 ou475habujdu33htn49v17orfj Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240712@123610.6693 ou475habujdu33htn49v17orfj Query : use flama_phc
20240712@123610.6696 ou475habujdu33htn49v17orfj Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240712@131909.7132 infv2a5dp871af209s22fav1g3 Query : use flama_phc
20240712@131909.7137 infv2a5dp871af209s22fav1g3 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240712@131909.7155 infv2a5dp871af209s22fav1g3 Query : use flama_phc
20240712@131909.7157 infv2a5dp871af209s22fav1g3 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240712@133609.4101 o448ndnq27mfbo0viaj480gs31 Query : use flama_phc
20240712@133609.4105 o448ndnq27mfbo0viaj480gs31 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240712@133609.4122 o448ndnq27mfbo0viaj480gs31 Query : use flama_phc
20240712@133609.4125 o448ndnq27mfbo0viaj480gs31 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240712@141909.6908 hdg3jml0er625bghhvthlm4al3 Query : use flama_phc
20240712@141909.6914 hdg3jml0er625bghhvthlm4al3 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240712@141909.6931 hdg3jml0er625bghhvthlm4al3 Query : use flama_phc
20240712@141909.6934 hdg3jml0er625bghhvthlm4al3 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240712@143609.8868 tsrombvrr2jckj3t4u0cuhb2r4 Query : use flama_phc
20240712@143609.8874 tsrombvrr2jckj3t4u0cuhb2r4 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240712@143609.8896 tsrombvrr2jckj3t4u0cuhb2r4 Query : use flama_phc
20240712@143609.8900 tsrombvrr2jckj3t4u0cuhb2r4 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240712@151909.4377 be1rjbuac6dtu3vncta8s30eao Query : use flama_phc
20240712@151909.4395 be1rjbuac6dtu3vncta8s30eao Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240712@151909.4412 be1rjbuac6dtu3vncta8s30eao Query : use flama_phc
20240712@151909.4415 be1rjbuac6dtu3vncta8s30eao Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240712@153609.5567 4clqb1topvor7fpf1pak06ih2s Query : use flama_phc
20240712@153609.5572 4clqb1topvor7fpf1pak06ih2s Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240712@153609.5590 4clqb1topvor7fpf1pak06ih2s Query : use flama_phc
20240712@153609.5592 4clqb1topvor7fpf1pak06ih2s Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240712@161909.6970 la95aup8p5hjk89lrvkpr5ks9s Query : use flama_phc
20240712@161909.7020 la95aup8p5hjk89lrvkpr5ks9s Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240712@161909.7190 la95aup8p5hjk89lrvkpr5ks9s Query : use flama_phc
20240712@161909.7220 la95aup8p5hjk89lrvkpr5ks9s Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240712@163609.4263 9okahvc321mh4737su2698jmsj Query : use flama_phc
20240712@163609.4268 9okahvc321mh4737su2698jmsj Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240712@163609.4284 9okahvc321mh4737su2698jmsj Query : use flama_phc
20240712@163609.4287 9okahvc321mh4737su2698jmsj Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240712@171908.9141 j4r7m3fhovblm2eu3igre6m6ko Query : use flama_phc
20240712@171908.9150 j4r7m3fhovblm2eu3igre6m6ko Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240712@171908.9206 j4r7m3fhovblm2eu3igre6m6ko Query : use flama_phc
20240712@171908.9219 j4r7m3fhovblm2eu3igre6m6ko Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240712@173608.7279 135tu78qu3ktgob12gd4r6jps9 Query : use flama_phc
20240712@173608.7284 135tu78qu3ktgob12gd4r6jps9 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240712@173608.7334 135tu78qu3ktgob12gd4r6jps9 Query : use flama_phc
20240712@173608.7337 135tu78qu3ktgob12gd4r6jps9 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240712@181913.7560 0fci0vv0hkugnd7cno5mv37tcs Query : use flama_phc
20240712@181913.7565 0fci0vv0hkugnd7cno5mv37tcs Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240712@181913.7583 0fci0vv0hkugnd7cno5mv37tcs Query : use flama_phc
20240712@181913.7586 0fci0vv0hkugnd7cno5mv37tcs Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240712@183613.7504 kaah29b7u6gtqmj53lsc4adj61 Query : use flama_phc
20240712@183613.7538 kaah29b7u6gtqmj53lsc4adj61 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240712@183613.8075 kaah29b7u6gtqmj53lsc4adj61 Query : use flama_phc
20240712@183613.8114 kaah29b7u6gtqmj53lsc4adj61 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240712@191925.4428 ev5kh656e81r7of58sktjilqrp Query : use flama_phc
20240712@191925.4435 ev5kh656e81r7of58sktjilqrp Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240712@191925.4454 ev5kh656e81r7of58sktjilqrp Query : use flama_phc
20240712@191925.4457 ev5kh656e81r7of58sktjilqrp Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240712@193625.7680 r20aasan0pm1mjgboqa51uiud1 Query : use flama_phc
20240712@193625.7685 r20aasan0pm1mjgboqa51uiud1 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240712@193625.7702 r20aasan0pm1mjgboqa51uiud1 Query : use flama_phc
20240712@193625.7704 r20aasan0pm1mjgboqa51uiud1 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240712@201917.3572 0j08sq0dr9sk7hq4fscadgdmae Query : use flama_phc
20240712@201917.3577 0j08sq0dr9sk7hq4fscadgdmae Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240712@201917.3594 0j08sq0dr9sk7hq4fscadgdmae Query : use flama_phc
20240712@201917.3597 0j08sq0dr9sk7hq4fscadgdmae Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240712@203617.9003 mprmj4iu05eob0lj6qer66o8mc Query : use flama_phc
20240712@203617.9008 mprmj4iu05eob0lj6qer66o8mc Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240712@203617.9024 mprmj4iu05eob0lj6qer66o8mc Query : use flama_phc
20240712@203617.9027 mprmj4iu05eob0lj6qer66o8mc Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240712@211911.3709 rh15cbn5ah8adoflb6ppt4nttr Query : use flama_phc
20240712@211911.3714 rh15cbn5ah8adoflb6ppt4nttr Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240712@211911.3732 rh15cbn5ah8adoflb6ppt4nttr Query : use flama_phc
20240712@211911.3735 rh15cbn5ah8adoflb6ppt4nttr Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240712@213611.5305 muk0ptrrqj270cfdpe6hppmm8p Query : use flama_phc
20240712@213611.5310 muk0ptrrqj270cfdpe6hppmm8p Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240712@213611.5327 muk0ptrrqj270cfdpe6hppmm8p Query : use flama_phc
20240712@213611.5329 muk0ptrrqj270cfdpe6hppmm8p Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240712@221908.4455 keffh34k6j7p8ong7mujsk6uli Query : use flama_phc
20240712@221908.4460 keffh34k6j7p8ong7mujsk6uli Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240712@221908.4476 keffh34k6j7p8ong7mujsk6uli Query : use flama_phc
20240712@221908.4480 keffh34k6j7p8ong7mujsk6uli Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240712@223608.4622 c732pr55spjv5jiughnmreampa Query : use flama_phc
20240712@223608.4627 c732pr55spjv5jiughnmreampa Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240712@223608.4644 c732pr55spjv5jiughnmreampa Query : use flama_phc
20240712@223608.4647 c732pr55spjv5jiughnmreampa Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240712@231909.8090 q66br1m3ato2bomn60r5710knj Query : use flama_phc
20240712@231909.8160 q66br1m3ato2bomn60r5710knj Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240712@231909.8340 q66br1m3ato2bomn60r5710knj Query : use flama_phc
20240712@231909.8370 q66br1m3ato2bomn60r5710knj Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240712@233608.7715 1apj430f53agi07taad99e2dkp Query : use flama_phc
20240712@233608.7721 1apj430f53agi07taad99e2dkp Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240712@233608.7757 1apj430f53agi07taad99e2dkp Query : use flama_phc
20240712@233608.7759 1apj430f53agi07taad99e2dkp Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240713@071911.7728 5g8jqc5hrcv1ce5qoevjit3b2n Query : use flama_phc
20240713@071911.7733 5g8jqc5hrcv1ce5qoevjit3b2n Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240713@071911.7819 5g8jqc5hrcv1ce5qoevjit3b2n Query : use flama_phc
20240713@071911.7822 5g8jqc5hrcv1ce5qoevjit3b2n Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240713@073632.9544 g0h321atblugqmiuqv8n3rted7 Query : use flama_phc
20240713@073632.9549 g0h321atblugqmiuqv8n3rted7 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240713@073632.9566 g0h321atblugqmiuqv8n3rted7 Query : use flama_phc
20240713@073632.9569 g0h321atblugqmiuqv8n3rted7 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240713@081908.2604 gh0rcfnes2saom03bbkkb2l5eb Query : use flama_phc
20240713@081908.2610 gh0rcfnes2saom03bbkkb2l5eb Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240713@081908.2658 gh0rcfnes2saom03bbkkb2l5eb Query : use flama_phc
20240713@081908.2662 gh0rcfnes2saom03bbkkb2l5eb Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240713@083608.3612 8mv9sj9879odgr6h1gps3bpbiu Query : use flama_phc
20240713@083608.3618 8mv9sj9879odgr6h1gps3bpbiu Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240713@083608.3640 8mv9sj9879odgr6h1gps3bpbiu Query : use flama_phc
20240713@083608.3643 8mv9sj9879odgr6h1gps3bpbiu Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240713@091908.2109 t0c5k8l42104k94lcag3hd07kf Query : use flama_phc
20240713@091908.2114 t0c5k8l42104k94lcag3hd07kf Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240713@091908.2166 t0c5k8l42104k94lcag3hd07kf Query : use flama_phc
20240713@091908.2169 t0c5k8l42104k94lcag3hd07kf Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240713@093608.2405 920guqiknnnpk7m1dpllafed62 Query : use flama_phc
20240713@093608.2410 920guqiknnnpk7m1dpllafed62 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240713@093608.2427 920guqiknnnpk7m1dpllafed62 Query : use flama_phc
20240713@093608.2430 920guqiknnnpk7m1dpllafed62 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240713@101909.9864 q8cpi4qu6pcahqk52jg7cbn6uf Query : use flama_phc
20240713@101909.9868 q8cpi4qu6pcahqk52jg7cbn6uf Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240713@101909.9886 q8cpi4qu6pcahqk52jg7cbn6uf Query : use flama_phc
20240713@101909.9902 q8cpi4qu6pcahqk52jg7cbn6uf Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240713@103610.9460 h1p97ftb5uud7pncjcjq0dsf8k Query : use flama_phc
20240713@103610.9520 h1p97ftb5uud7pncjcjq0dsf8k Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240713@103610.1012 h1p97ftb5uud7pncjcjq0dsf8k Query : use flama_phc
20240713@103610.1016 h1p97ftb5uud7pncjcjq0dsf8k Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240713@111909.6047 tcm6j7cjmd6apbiulj06ni86rb Query : use flama_phc
20240713@111909.6053 tcm6j7cjmd6apbiulj06ni86rb Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240713@111909.6072 tcm6j7cjmd6apbiulj06ni86rb Query : use flama_phc
20240713@111909.6075 tcm6j7cjmd6apbiulj06ni86rb Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240713@113609.3426 rc2d6nqd62td4rtdj5ad6jc3re Query : use flama_phc
20240713@113609.3431 rc2d6nqd62td4rtdj5ad6jc3re Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240713@113609.3453 rc2d6nqd62td4rtdj5ad6jc3re Query : use flama_phc
20240713@113609.3456 rc2d6nqd62td4rtdj5ad6jc3re Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240713@121908.9415 hll2r3cqujm8egq8n430eo9nrt Query : use flama_phc
20240713@121908.9422 hll2r3cqujm8egq8n430eo9nrt Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240713@121908.9441 hll2r3cqujm8egq8n430eo9nrt Query : use flama_phc
20240713@121908.9444 hll2r3cqujm8egq8n430eo9nrt Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240713@123609.4583 4hs7rk14i71r7q4bv3itjl5n56 Query : use flama_phc
20240713@123609.4588 4hs7rk14i71r7q4bv3itjl5n56 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240713@123609.4607 4hs7rk14i71r7q4bv3itjl5n56 Query : use flama_phc
20240713@123609.4610 4hs7rk14i71r7q4bv3itjl5n56 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240713@131908.5355 386rohd80p3l9p11q31h1n3eau Query : use flama_phc
20240713@131908.5360 386rohd80p3l9p11q31h1n3eau Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240713@131908.5379 386rohd80p3l9p11q31h1n3eau Query : use flama_phc
20240713@131908.5383 386rohd80p3l9p11q31h1n3eau Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240713@133608.2994 te68b0c71n7g8jtcp6pspn9ni4 Query : use flama_phc
20240713@133608.2999 te68b0c71n7g8jtcp6pspn9ni4 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240713@133608.3017 te68b0c71n7g8jtcp6pspn9ni4 Query : use flama_phc
20240713@133608.3020 te68b0c71n7g8jtcp6pspn9ni4 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240713@141909.4309 kplq41f5u26tg8p91dlcqts692 Query : use flama_phc
20240713@141909.4314 kplq41f5u26tg8p91dlcqts692 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240713@141909.4331 kplq41f5u26tg8p91dlcqts692 Query : use flama_phc
20240713@141909.4334 kplq41f5u26tg8p91dlcqts692 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240713@143609.3292 158i4g5lpdc064nvjje2ccoupk Query : use flama_phc
20240713@143609.3297 158i4g5lpdc064nvjje2ccoupk Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240713@143609.3314 158i4g5lpdc064nvjje2ccoupk Query : use flama_phc
20240713@143609.3317 158i4g5lpdc064nvjje2ccoupk Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240713@151910.1923 i7jlc6jk02omjg2lohirrj97s8 Query : use flama_phc
20240713@151910.1928 i7jlc6jk02omjg2lohirrj97s8 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240713@151910.1946 i7jlc6jk02omjg2lohirrj97s8 Query : use flama_phc
20240713@151910.1949 i7jlc6jk02omjg2lohirrj97s8 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240713@153610.5126 eifk5r12ecug7gulkunku2tqpe Query : use flama_phc
20240713@153610.5322 eifk5r12ecug7gulkunku2tqpe Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240713@153610.5915 eifk5r12ecug7gulkunku2tqpe Query : use flama_phc
20240713@153610.6080 eifk5r12ecug7gulkunku2tqpe Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240713@161909.3130 enip7nmb0phmqr9svbejiao6me Query : use flama_phc
20240713@161909.3180 enip7nmb0phmqr9svbejiao6me Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240713@161909.3360 enip7nmb0phmqr9svbejiao6me Query : use flama_phc
20240713@161909.3390 enip7nmb0phmqr9svbejiao6me Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240713@163609.3881 pk98lo2mpac1rkr2t004f9fe0i Query : use flama_phc
20240713@163609.3886 pk98lo2mpac1rkr2t004f9fe0i Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240713@163609.3906 pk98lo2mpac1rkr2t004f9fe0i Query : use flama_phc
20240713@163609.3909 pk98lo2mpac1rkr2t004f9fe0i Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240713@171909.3150 mm64g4hgcpinbp3pu430fgvb1s Query : use flama_phc
20240713@171909.3155 mm64g4hgcpinbp3pu430fgvb1s Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240713@171909.3172 mm64g4hgcpinbp3pu430fgvb1s Query : use flama_phc
20240713@171909.3175 mm64g4hgcpinbp3pu430fgvb1s Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240713@173609.2906 rs0gl9e7cvgg5dtgnfch5q5frk Query : use flama_phc
20240713@173609.2911 rs0gl9e7cvgg5dtgnfch5q5frk Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240713@173609.2929 rs0gl9e7cvgg5dtgnfch5q5frk Query : use flama_phc
20240713@173609.2932 rs0gl9e7cvgg5dtgnfch5q5frk Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240713@181908.7873 a5bu2d71tftsplaksfueaomcks Query : use flama_phc
20240713@181908.7879 a5bu2d71tftsplaksfueaomcks Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240713@181908.7902 a5bu2d71tftsplaksfueaomcks Query : use flama_phc
20240713@181908.7905 a5bu2d71tftsplaksfueaomcks Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240713@183608.5969 9r1fsta3haq454qa5eab4o825l Query : use flama_phc
20240713@183608.5983 9r1fsta3haq454qa5eab4o825l Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240713@183608.6196 9r1fsta3haq454qa5eab4o825l Query : use flama_phc
20240713@183608.6218 9r1fsta3haq454qa5eab4o825l Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240713@191909.5394 vonm3kcamrhludpulup17352q2 Query : use flama_phc
20240713@191909.5401 vonm3kcamrhludpulup17352q2 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240713@191909.5450 vonm3kcamrhludpulup17352q2 Query : use flama_phc
20240713@191909.5454 vonm3kcamrhludpulup17352q2 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240713@193609.1927 qth6uf5ks47k5rj7c4s8vp4rkc Query : use flama_phc
20240713@193609.1933 qth6uf5ks47k5rj7c4s8vp4rkc Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240713@193609.1953 qth6uf5ks47k5rj7c4s8vp4rkc Query : use flama_phc
20240713@193609.1956 qth6uf5ks47k5rj7c4s8vp4rkc Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240713@201908.2003 sjn190anda05oulf8k72arc8sj Query : use flama_phc
20240713@201908.2063 sjn190anda05oulf8k72arc8sj Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240713@201908.2086 sjn190anda05oulf8k72arc8sj Query : use flama_phc
20240713@201908.2126 sjn190anda05oulf8k72arc8sj Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240713@203608.2374 1si9cnn5km7h53l82in8kkhs16 Query : use flama_phc
20240713@203608.2380 1si9cnn5km7h53l82in8kkhs16 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240713@203608.2403 1si9cnn5km7h53l82in8kkhs16 Query : use flama_phc
20240713@203608.2407 1si9cnn5km7h53l82in8kkhs16 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240713@211910.1263 36g5q0c5e1m4at5odo9vm40gfp Query : use flama_phc
20240713@211910.1268 36g5q0c5e1m4at5odo9vm40gfp Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240713@211910.1285 36g5q0c5e1m4at5odo9vm40gfp Query : use flama_phc
20240713@211910.1288 36g5q0c5e1m4at5odo9vm40gfp Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240713@213610.1512 a0rqlvbrj4mbvajmvqmnmtlg9o Query : use flama_phc
20240713@213610.1517 a0rqlvbrj4mbvajmvqmnmtlg9o Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240713@213610.1535 a0rqlvbrj4mbvajmvqmnmtlg9o Query : use flama_phc
20240713@213610.1539 a0rqlvbrj4mbvajmvqmnmtlg9o Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240713@221909.1467 r0nd6i55eldumjtlpbt5gkt46k Query : use flama_phc
20240713@221909.1583 r0nd6i55eldumjtlpbt5gkt46k Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240713@221909.1865 r0nd6i55eldumjtlpbt5gkt46k Query : use flama_phc
20240713@221909.1868 r0nd6i55eldumjtlpbt5gkt46k Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240713@223609.1229 j9si9qqmr1rvb3qn2f2ppprn5n Query : use flama_phc
20240713@223609.1233 j9si9qqmr1rvb3qn2f2ppprn5n Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240713@223609.1251 j9si9qqmr1rvb3qn2f2ppprn5n Query : use flama_phc
20240713@223609.1254 j9si9qqmr1rvb3qn2f2ppprn5n Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240713@231909.2205 uunmukvvgnn7ln50l92139fu7i Query : use flama_phc
20240713@231909.2243 uunmukvvgnn7ln50l92139fu7i Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240713@231909.2276 uunmukvvgnn7ln50l92139fu7i Query : use flama_phc
20240713@231909.2278 uunmukvvgnn7ln50l92139fu7i Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240713@233609.2820 33a1esoeig01cid4jcv1p0cjd2 Query : use flama_phc
20240713@233609.2870 33a1esoeig01cid4jcv1p0cjd2 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240713@233609.3050 33a1esoeig01cid4jcv1p0cjd2 Query : use flama_phc
20240713@233609.3080 33a1esoeig01cid4jcv1p0cjd2 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240714@081910.6823 4fcado55u77i9g5867i4rqju8n Query : use flama_phc
20240714@081910.6833 4fcado55u77i9g5867i4rqju8n Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240714@081910.6903 4fcado55u77i9g5867i4rqju8n Query : use flama_phc
20240714@081910.6906 4fcado55u77i9g5867i4rqju8n Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240714@083610.6705 7eh22jsac0e1i5egqc0mcfk6e3 Query : use flama_phc
20240714@083610.6710 7eh22jsac0e1i5egqc0mcfk6e3 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240714@083610.6729 7eh22jsac0e1i5egqc0mcfk6e3 Query : use flama_phc
20240714@083610.6733 7eh22jsac0e1i5egqc0mcfk6e3 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240714@091909.8410 j70g3pd6ppt7fkhgff4o1ok07q Query : use flama_phc
20240714@091909.8470 j70g3pd6ppt7fkhgff4o1ok07q Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240714@091909.8650 j70g3pd6ppt7fkhgff4o1ok07q Query : use flama_phc
20240714@091909.8680 j70g3pd6ppt7fkhgff4o1ok07q Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240714@093609.7750 80rs5o2ku342vo5m4eus6fetmh Query : use flama_phc
20240714@093609.7810 80rs5o2ku342vo5m4eus6fetmh Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240714@093609.8020 80rs5o2ku342vo5m4eus6fetmh Query : use flama_phc
20240714@093609.8050 80rs5o2ku342vo5m4eus6fetmh Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240714@101909.8538 n9i50mv1h8122es2og5eamsrhe Query : use flama_phc
20240714@101909.8545 n9i50mv1h8122es2og5eamsrhe Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240714@101909.8600 n9i50mv1h8122es2og5eamsrhe Query : use flama_phc
20240714@101909.8608 n9i50mv1h8122es2og5eamsrhe Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240714@103609.5565 b6vjp183ak7b91mronrhetttf4 Query : use flama_phc
20240714@103609.5570 b6vjp183ak7b91mronrhetttf4 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240714@103609.5590 b6vjp183ak7b91mronrhetttf4 Query : use flama_phc
20240714@103609.5593 b6vjp183ak7b91mronrhetttf4 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240714@111909.3965 mm8ebgtcmraeuopo1hm14gdv3c Query : use flama_phc
20240714@111909.3970 mm8ebgtcmraeuopo1hm14gdv3c Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240714@111909.3988 mm8ebgtcmraeuopo1hm14gdv3c Query : use flama_phc
20240714@111909.3991 mm8ebgtcmraeuopo1hm14gdv3c Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240714@113609.1169 c5s412j52cs0rlpc8qmbn1fbh6 Query : use flama_phc
20240714@113609.1174 c5s412j52cs0rlpc8qmbn1fbh6 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240714@113609.1201 c5s412j52cs0rlpc8qmbn1fbh6 Query : use flama_phc
20240714@113609.1204 c5s412j52cs0rlpc8qmbn1fbh6 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240714@121908.2726 pdfon6thtvrr6mr6khf9fd2eib Query : use flama_phc
