20241216@092038.2046 ha7dgbs00i4ttlankc1jia2k69 INICIO DE FICHEIRO DE LOG :: /var/www/webservices/logs/website.sql.log
20241216@092038.2044 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092038.2066 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092038.2078 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092038.2095 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092038.2104 ha7dgbs00i4ttlankc1jia2k69 Query : select sestamp valor from se where ref ='324.2031.00.1' and lote = 'r2100232100a'
20241216@092038.2122 ha7dgbs00i4ttlankc1jia2k69 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@092038.2134 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092038.2151 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092038.2164 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut675ff95803675ff0e634','aut675ff67800675ff0e598',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092038.2317 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092038.2337 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092038.2358 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut675ff95803675ff0e634',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 12.000, 12.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,30000 ,23.7,23.7*200.48,23.7,23.7*200.48 ,0,0,'un ','' ,bo.marcada,1 ,23.7*12.000,23.7*12.000*200.48 ,8.924000,8.924000*200.48 ,8.924000,8.924000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,23.7,23.7*200.48,23.7*12.000,23.7*12.000*200.48,'av24121349606,881000005 ',23.7,23.7*12.000,23.7,23.7*12.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092038.2668 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092038.2673 ha7dgbs00i4ttlankc1jia2k69 Query : select st.usalote valor from st where st.ref = '324.5501.00.1'
20241216@092038.2688 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092038.2690 ha7dgbs00i4ttlankc1jia2k69 Query : select st.stns valor from st where st.ref = '324.5501.00.1'
20241216@092038.2708 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092038.2711 ha7dgbs00i4ttlankc1jia2k69 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.5501.00.1' and sa.armazem = 133 
20241216@092038.2787 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092038.2790 ha7dgbs00i4ttlankc1jia2k69 Query : select st.stns valor from st where st.ref = '324.5501.00.1'
20241216@092038.2813 ha7dgbs00i4ttlankc1jia2k69 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.5501.00.1'
20241216@092038.2949 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092038.2966 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092038.2978 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092038.2993 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092038.3002 ha7dgbs00i4ttlankc1jia2k69 Query : select sestamp valor from se where ref ='324.5501.00.1' and lote = 'r2300908100a'
20241216@092038.3026 ha7dgbs00i4ttlankc1jia2k69 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@092038.3038 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092038.3056 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092038.3068 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut675ff45536675ff0e64a','aut675ff67800675ff0e598',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092038.3239 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092038.3273 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092038.3291 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut675ff45536675ff0e64a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 4.000, 4.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,40000 ,64,64*200.48,64,64*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,64*4.000,64*4.000*200.48 ,18.137000,18.137000*200.48 ,18.137000,18.137000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,64,64*200.48,64*4.000,64*4.000*200.48,'av24121349613,066000006 ',64,64*4.000,64,64*4.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092038.3596 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092038.3601 ha7dgbs00i4ttlankc1jia2k69 Query : select st.usalote valor from st where st.ref = '324.5501.00.1'
20241216@092038.3616 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092038.3618 ha7dgbs00i4ttlankc1jia2k69 Query : select st.stns valor from st where st.ref = '324.5501.00.1'
20241216@092038.3636 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092038.3639 ha7dgbs00i4ttlankc1jia2k69 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.5501.00.1' and sa.armazem = 133 
20241216@092038.3661 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092038.3663 ha7dgbs00i4ttlankc1jia2k69 Query : select st.stns valor from st where st.ref = '324.5501.00.1'
20241216@092038.3680 ha7dgbs00i4ttlankc1jia2k69 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.5501.00.1'
20241216@092038.3694 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092038.3711 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092038.3724 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092038.3739 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092038.3748 ha7dgbs00i4ttlankc1jia2k69 Query : select sestamp valor from se where ref ='324.5501.00.1' and lote = 'r2300908100a'
20241216@092038.3760 ha7dgbs00i4ttlankc1jia2k69 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@092038.3774 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092038.3790 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092038.3812 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut675ff77733675ff0e65c','aut675ff67800675ff0e598',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092038.4021 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092038.4042 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092038.4777 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut675ff77733675ff0e65c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 6.000, 6.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,50000 ,64,64*200.48,64,64*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,64*6.000,64*6.000*200.48 ,18.137000,18.137000*200.48 ,18.137000,18.137000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,64,64*200.48,64*6.000,64*6.000*200.48,'av24121349613,066000006 ',64,64*6.000,64,64*6.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092038.5265 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092038.5269 ha7dgbs00i4ttlankc1jia2k69 Query : select st.usalote valor from st where st.ref = '324.5540.00.1'
20241216@092038.5286 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092038.5289 ha7dgbs00i4ttlankc1jia2k69 Query : select st.stns valor from st where st.ref = '324.5540.00.1'
20241216@092038.5307 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092038.5310 ha7dgbs00i4ttlankc1jia2k69 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.5540.00.1' and sa.armazem = 133 
20241216@092038.5384 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092038.5387 ha7dgbs00i4ttlankc1jia2k69 Query : select st.stns valor from st where st.ref = '324.5540.00.1'
20241216@092038.5408 ha7dgbs00i4ttlankc1jia2k69 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.5540.00.1'
20241216@092038.5544 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092038.5565 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092038.5578 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092038.5592 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092038.5601 ha7dgbs00i4ttlankc1jia2k69 Query : select sestamp valor from se where ref ='324.5540.00.1' and lote = 'r2300830100a'
20241216@092038.5635 ha7dgbs00i4ttlankc1jia2k69 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@092038.5649 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092038.5664 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092038.5675 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut675ff77537675ff0e689','aut675ff67800675ff0e598',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092038.5829 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092038.5848 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092038.5863 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut675ff77537675ff0e689',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 3.000, 3.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,60000 ,102.4,102.4*200.48,102.4,102.4*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,102.4*3.000,102.4*3.000*200.48 ,36.952000,36.952000*200.48 ,36.952000,36.952000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,102.4,102.4*200.48,102.4*3.000,102.4*3.000*200.48,'av24121349620,131000007 ',102.4,102.4*3.000,102.4,102.4*3.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092038.6133 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092038.6137 ha7dgbs00i4ttlankc1jia2k69 Query : select st.usalote valor from st where st.ref = '324.5540.00.1'
20241216@092038.6153 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092038.6156 ha7dgbs00i4ttlankc1jia2k69 Query : select st.stns valor from st where st.ref = '324.5540.00.1'
20241216@092038.6171 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092038.6174 ha7dgbs00i4ttlankc1jia2k69 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.5540.00.1' and sa.armazem = 133 
20241216@092038.6197 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092038.6200 ha7dgbs00i4ttlankc1jia2k69 Query : select st.stns valor from st where st.ref = '324.5540.00.1'
20241216@092038.6218 ha7dgbs00i4ttlankc1jia2k69 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.5540.00.1'
20241216@092038.6231 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092038.6250 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092038.6262 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092038.6277 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092038.6286 ha7dgbs00i4ttlankc1jia2k69 Query : select sestamp valor from se where ref ='324.5540.00.1' and lote = 'r2300830100a'
20241216@092038.6299 ha7dgbs00i4ttlankc1jia2k69 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@092038.6311 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092038.6327 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092038.6339 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut675ff03600675ff0e69a','aut675ff67800675ff0e598',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092038.6508 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092038.6527 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092038.6545 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut675ff03600675ff0e69a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 3.000, 3.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,70000 ,102.4,102.4*200.48,102.4,102.4*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,102.4*3.000,102.4*3.000*200.48 ,36.952000,36.952000*200.48 ,36.952000,36.952000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,102.4,102.4*200.48,102.4*3.000,102.4*3.000*200.48,'av24121349620,131000007 ',102.4,102.4*3.000,102.4,102.4*3.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092038.6821 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092038.6825 ha7dgbs00i4ttlankc1jia2k69 Query : select st.usalote valor from st where st.ref = '324.5500.00.1'
20241216@092038.6878 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092038.6881 ha7dgbs00i4ttlankc1jia2k69 Query : select st.stns valor from st where st.ref = '324.5500.00.1'
20241216@092038.6901 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092038.6904 ha7dgbs00i4ttlankc1jia2k69 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.5500.00.1' and sa.armazem = 133 
20241216@092038.7021 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092038.7024 ha7dgbs00i4ttlankc1jia2k69 Query : select st.stns valor from st where st.ref = '324.5500.00.1'
20241216@092038.7046 ha7dgbs00i4ttlankc1jia2k69 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.5500.00.1'
20241216@092038.7223 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092038.7250 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092038.7263 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092038.7278 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092038.7290 ha7dgbs00i4ttlankc1jia2k69 Query : select sestamp valor from se where ref ='324.5500.00.1' and lote = 'r2400095600a'
20241216@092038.7360 ha7dgbs00i4ttlankc1jia2k69 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@092038.7375 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092038.7394 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092038.7407 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut675ff65632675ff0e6b4','aut675ff67800675ff0e598',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092038.7566 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092038.7584 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092038.7600 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut675ff65632675ff0e6b4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 6.000, 6.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,80000 ,64,64*200.48,64,64*200.48 ,0,0,'un ','' ,bo.marcada,1 ,64*6.000,64*6.000*200.48 ,24.876000,24.876000*200.48 ,24.876000,24.876000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,64,64*200.48,64*6.000,64*6.000*200.48,'av24121349624,311000008 ',64,64*6.000,64,64*6.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092038.7871 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092038.7875 ha7dgbs00i4ttlankc1jia2k69 Query : select st.usalote valor from st where st.ref = '324.2066.00.1'
20241216@092038.7891 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092038.7895 ha7dgbs00i4ttlankc1jia2k69 Query : select st.stns valor from st where st.ref = '324.2066.00.1'
20241216@092038.7911 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092038.7913 ha7dgbs00i4ttlankc1jia2k69 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.2066.00.1' and sa.armazem = 133 
20241216@092038.7982 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092038.7985 ha7dgbs00i4ttlankc1jia2k69 Query : select st.stns valor from st where st.ref = '324.2066.00.1'
20241216@092038.8005 ha7dgbs00i4ttlankc1jia2k69 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2066.00.1'
20241216@092038.8160 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092038.8179 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092038.8195 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092038.8213 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092038.8222 ha7dgbs00i4ttlankc1jia2k69 Query : select sestamp valor from se where ref ='324.2066.00.1' and lote = 'r2400051100a'
20241216@092038.8236 ha7dgbs00i4ttlankc1jia2k69 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@092038.8248 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092038.8262 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092038.8274 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut675ff30404675ff0e6c9','aut675ff67800675ff0e598',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092038.8435 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092038.8457 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092038.8474 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut675ff30404675ff0e6c9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 30.000, 30.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,90000 ,32,32*200.48,32,32*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,32*30.000,32*30.000*200.48 ,14.971000,14.971000*200.48 ,14.971000,14.971000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,32,32*200.48,32*30.000,32*30.000*200.48,'av24121349630,696000009 ',32,32*30.000,32,32*30.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092038.8921 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092038.8926 ha7dgbs00i4ttlankc1jia2k69 Query : select st.usalote valor from st where st.ref = '324.5343.00.1'
20241216@092038.8942 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092038.8945 ha7dgbs00i4ttlankc1jia2k69 Query : select st.stns valor from st where st.ref = '324.5343.00.1'
20241216@092038.8961 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092038.8964 ha7dgbs00i4ttlankc1jia2k69 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.5343.00.1' and sa.armazem = 133 
20241216@092038.9034 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092038.9037 ha7dgbs00i4ttlankc1jia2k69 Query : select st.stns valor from st where st.ref = '324.5343.00.1'
20241216@092038.9059 ha7dgbs00i4ttlankc1jia2k69 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.5343.00.1'
20241216@092038.9189 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092038.9206 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092038.9219 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092038.9234 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092038.9243 ha7dgbs00i4ttlankc1jia2k69 Query : select sestamp valor from se where ref ='324.5343.00.1' and lote = 'r2300915100a'
20241216@092038.9264 ha7dgbs00i4ttlankc1jia2k69 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@092038.9277 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092038.9293 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092038.9308 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut675ff75232675ff0e6e2','aut675ff67800675ff0e598',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092038.9458 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092038.9477 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092038.9494 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut675ff75232675ff0e6e2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 12.000, 12.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,100000 ,18,18*200.48,18,18*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,18*12.000,18*12.000*200.48 ,7.570000,7.570000*200.48 ,7.570000,7.570000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,18,18*200.48,18*12.000,18*12.000*200.48,'av24121349637,313000010 ',18,18*12.000,18,18*12.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092038.9759 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092038.9763 ha7dgbs00i4ttlankc1jia2k69 Query : select st.usalote valor from st where st.ref = '324.1426.00.1'
20241216@092038.9780 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092038.9783 ha7dgbs00i4ttlankc1jia2k69 Query : select st.stns valor from st where st.ref = '324.1426.00.1'
20241216@092038.9801 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092038.9806 ha7dgbs00i4ttlankc1jia2k69 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.1426.00.1' and sa.armazem = 133 
20241216@092038.9882 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092038.9885 ha7dgbs00i4ttlankc1jia2k69 Query : select st.stns valor from st where st.ref = '324.1426.00.1'
20241216@092038.9909 ha7dgbs00i4ttlankc1jia2k69 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1426.00.1'
20241216@092039.4400 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092039.6300 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092039.7700 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092039.2170 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092039.2260 ha7dgbs00i4ttlankc1jia2k69 Query : select sestamp valor from se where ref ='324.1426.00.1' and lote = 'r2100465200a'
20241216@092039.3430 ha7dgbs00i4ttlankc1jia2k69 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@092039.3590 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092039.3790 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092039.3910 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut675ff80355675ff0e708','aut675ff67800675ff0e598',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092039.6910 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092039.7120 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092039.7280 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut675ff80355675ff0e708',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 8.000, 8.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,110000 ,42.9,42.9*200.48,42.9,42.9*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,42.9*8.000,42.9*8.000*200.48 ,20.193000,20.193000*200.48 ,20.193000,20.193000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,42.9,42.9*200.48,42.9*8.000,42.9*8.000*200.48,'av24121349642,839000011 ',42.9,42.9*8.000,42.9,42.9*8.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092039.1041 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092039.1045 ha7dgbs00i4ttlankc1jia2k69 Query : select st.usalote valor from st where st.ref = '324.1847.00.1'
20241216@092039.1064 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092039.1066 ha7dgbs00i4ttlankc1jia2k69 Query : select st.stns valor from st where st.ref = '324.1847.00.1'
20241216@092039.1083 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092039.1086 ha7dgbs00i4ttlankc1jia2k69 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.1847.00.1' and sa.armazem = 133 
20241216@092039.1165 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092039.1169 ha7dgbs00i4ttlankc1jia2k69 Query : select st.stns valor from st where st.ref = '324.1847.00.1'
20241216@092039.1191 ha7dgbs00i4ttlankc1jia2k69 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.1847.00.1'
20241216@092039.1316 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092039.1332 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092039.1347 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092039.1361 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092039.1369 ha7dgbs00i4ttlankc1jia2k69 Query : select sestamp valor from se where ref ='324.1847.00.1' and lote = 'r2400922300a'
20241216@092039.1386 ha7dgbs00i4ttlankc1jia2k69 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@092039.1399 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092039.1415 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092039.1428 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut675ff24516675ff0e722','aut675ff67800675ff0e598',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092039.1577 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092039.1596 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092039.1614 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut675ff24516675ff0e722',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 2.000, 2.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,120000 ,56.3,56.3*200.48,56.3,56.3*200.48 ,0,0,'un ','' ,bo.marcada,1 ,56.3*2.000,56.3*2.000*200.48 ,27.170000,27.170000*200.48 ,27.170000,27.170000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,56.3,56.3*200.48,56.3*2.000,56.3*2.000*200.48,'av24121349650,107000012 ',56.3,56.3*2.000,56.3,56.3*2.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092039.1871 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092039.1876 ha7dgbs00i4ttlankc1jia2k69 Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20241216@092039.1892 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092039.1924 ha7dgbs00i4ttlankc1jia2k69 Query : select st.stns valor from st where st.ref = '324.682.00.01'
20241216@092039.1945 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092039.1948 ha7dgbs00i4ttlankc1jia2k69 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.682.00.01' and sa.armazem = 133 
20241216@092039.2019 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092039.2022 ha7dgbs00i4ttlankc1jia2k69 Query : select st.stns valor from st where st.ref = '324.682.00.01'
20241216@092039.2041 ha7dgbs00i4ttlankc1jia2k69 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20241216@092039.2171 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092039.2192 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092039.2205 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092039.2221 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092039.2230 ha7dgbs00i4ttlankc1jia2k69 Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2301181200a'
20241216@092039.2244 ha7dgbs00i4ttlankc1jia2k69 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@092039.2260 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092039.2277 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092039.2289 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut675ff43379675ff0e737','aut675ff67800675ff0e598',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092039.2451 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092039.2473 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092039.2492 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut675ff43379675ff0e737',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 10.000, 10.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,130000 ,83.2,83.2*200.48,83.2,83.2*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,83.2*10.000,83.2*10.000*200.48 ,21.581000,21.581000*200.48 ,21.581000,21.581000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,83.2,83.2*200.48,83.2*10.000,83.2*10.000*200.48,'av24121349674,969000014 ',83.2,83.2*10.000,83.2,83.2*10.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092039.2770 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092039.2774 ha7dgbs00i4ttlankc1jia2k69 Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20241216@092039.2791 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092039.2794 ha7dgbs00i4ttlankc1jia2k69 Query : select st.stns valor from st where st.ref = '324.657.00.01'
20241216@092039.2812 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092039.2814 ha7dgbs00i4ttlankc1jia2k69 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.657.00.01' and sa.armazem = 133 
20241216@092039.2899 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092039.2902 ha7dgbs00i4ttlankc1jia2k69 Query : select st.stns valor from st where st.ref = '324.657.00.01'
20241216@092039.2925 ha7dgbs00i4ttlankc1jia2k69 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'
20241216@092039.3060 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092039.3076 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092039.3090 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092039.3105 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092039.3114 ha7dgbs00i4ttlankc1jia2k69 Query : select sestamp valor from se where ref ='324.657.00.01' and lote = 'r2400226200a'
20241216@092039.3127 ha7dgbs00i4ttlankc1jia2k69 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@092039.3140 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092039.3155 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092039.3166 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut675ff58728675ff0e74c','aut675ff67800675ff0e598',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092039.3311 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092039.3330 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092039.3355 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut675ff58728675ff0e74c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 10.000, 10.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,140000 ,64,64*200.48,64,64*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,64*10.000,64*10.000*200.48 ,20.066000,20.066000*200.48 ,20.066000,20.066000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,64,64*200.48,64*10.000,64*10.000*200.48,'av24121349682,196000015 ',64,64*10.000,64,64*10.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092039.3730 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092039.3735 ha7dgbs00i4ttlankc1jia2k69 Query : select st.usalote valor from st where st.ref = '324.645.00.01'
20241216@092039.3754 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092039.3758 ha7dgbs00i4ttlankc1jia2k69 Query : select st.stns valor from st where st.ref = '324.645.00.01'
20241216@092039.3777 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092039.3781 ha7dgbs00i4ttlankc1jia2k69 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.645.00.01' and sa.armazem = 133 
20241216@092039.3928 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092039.3932 ha7dgbs00i4ttlankc1jia2k69 Query : select st.stns valor from st where st.ref = '324.645.00.01'
20241216@092039.3956 ha7dgbs00i4ttlankc1jia2k69 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.645.00.01'
20241216@092039.4079 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092039.4097 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092039.4112 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092039.4126 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092039.4136 ha7dgbs00i4ttlankc1jia2k69 Query : select sestamp valor from se where ref ='324.645.00.01' and lote = 'r2301175100a'
20241216@092039.4159 ha7dgbs00i4ttlankc1jia2k69 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@092039.4174 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092039.4243 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092039.4258 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut675ff95793675ff0e765','aut675ff67800675ff0e598',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092039.4427 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092039.4451 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092039.4470 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut675ff95793675ff0e765',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 10.000, 10.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,150000 ,44.8,44.8*200.48,44.8,44.8*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,44.8*10.000,44.8*10.000*200.48 ,17.538000,17.538000*200.48 ,17.538000,17.538000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,44.8,44.8*200.48,44.8*10.000,44.8*10.000*200.48,'av24121349687,965000016 ',44.8,44.8*10.000,44.8,44.8*10.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092039.4757 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092039.4762 ha7dgbs00i4ttlankc1jia2k69 Query : select st.usalote valor from st where st.ref = '324.4988.00.1'
20241216@092039.4781 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092039.4784 ha7dgbs00i4ttlankc1jia2k69 Query : select st.stns valor from st where st.ref = '324.4988.00.1'
20241216@092039.4807 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092039.4810 ha7dgbs00i4ttlankc1jia2k69 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.4988.00.1' and sa.armazem = 133 
20241216@092039.4879 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092039.4883 ha7dgbs00i4ttlankc1jia2k69 Query : select st.stns valor from st where st.ref = '324.4988.00.1'
20241216@092039.4904 ha7dgbs00i4ttlankc1jia2k69 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.4988.00.1'
20241216@092039.5037 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092039.5056 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092039.5068 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092039.5084 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092039.5094 ha7dgbs00i4ttlankc1jia2k69 Query : select sestamp valor from se where ref ='324.4988.00.1' and lote = 'r2100754100a'
20241216@092039.5116 ha7dgbs00i4ttlankc1jia2k69 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@092039.5129 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092039.5146 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092039.5158 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut675ff20641675ff0e77d','aut675ff67800675ff0e598',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092039.5307 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092039.5328 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092039.5345 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut675ff20641675ff0e77d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 4.000, 4.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,160000 ,28.8,28.8*200.48,28.8,28.8*200.48 ,0,0,'un ','' ,bo.marcada,1 ,28.8*4.000,28.8*4.000*200.48 ,8.445000,8.445000*200.48 ,8.445000,8.445000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,28.8,28.8*200.48,28.8*4.000,28.8*4.000*200.48,'av24121349695,599000017 ',28.8,28.8*4.000,28.8,28.8*4.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092039.5747 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092039.5752 ha7dgbs00i4ttlankc1jia2k69 Query : select st.usalote valor from st where st.ref = '324.4988.00.1'
20241216@092039.5769 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092039.5773 ha7dgbs00i4ttlankc1jia2k69 Query : select st.stns valor from st where st.ref = '324.4988.00.1'
20241216@092039.5793 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092039.5797 ha7dgbs00i4ttlankc1jia2k69 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.4988.00.1' and sa.armazem = 133 
20241216@092039.5822 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092039.5825 ha7dgbs00i4ttlankc1jia2k69 Query : select st.stns valor from st where st.ref = '324.4988.00.1'
20241216@092039.5846 ha7dgbs00i4ttlankc1jia2k69 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.4988.00.1'
20241216@092039.5862 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092039.5880 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092039.5893 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092039.5910 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092039.5919 ha7dgbs00i4ttlankc1jia2k69 Query : select sestamp valor from se where ref ='324.4988.00.1' and lote = 'r2100754100a'
20241216@092039.5945 ha7dgbs00i4ttlankc1jia2k69 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@092039.6024 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092039.6043 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092039.6055 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut675ff70586675ff0e793','aut675ff67800675ff0e598',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092039.6361 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092039.6494 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092039.6510 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut675ff70586675ff0e793',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 12.000, 12.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,170000 ,28.8,28.8*200.48,28.8,28.8*200.48 ,0,0,'un ','' ,bo.marcada,1 ,28.8*12.000,28.8*12.000*200.48 ,8.445000,8.445000*200.48 ,8.445000,8.445000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,28.8,28.8*200.48,28.8*12.000,28.8*12.000*200.48,'av24121349695,599000017 ',28.8,28.8*12.000,28.8,28.8*12.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092039.6843 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092039.6848 ha7dgbs00i4ttlankc1jia2k69 Query : select st.usalote valor from st where st.ref = '324.946.00.01'
20241216@092039.6863 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092039.6866 ha7dgbs00i4ttlankc1jia2k69 Query : select st.stns valor from st where st.ref = '324.946.00.01'
20241216@092039.6882 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092039.6885 ha7dgbs00i4ttlankc1jia2k69 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.946.00.01' and sa.armazem = 133 
20241216@092039.6949 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092039.6952 ha7dgbs00i4ttlankc1jia2k69 Query : select st.stns valor from st where st.ref = '324.946.00.01'
20241216@092039.6971 ha7dgbs00i4ttlankc1jia2k69 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.946.00.01'
20241216@092039.7105 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092039.7121 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092039.7134 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092039.7149 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092039.7157 ha7dgbs00i4ttlankc1jia2k69 Query : select sestamp valor from se where ref ='324.946.00.01' and lote = 'r2300941200a'
20241216@092039.7177 ha7dgbs00i4ttlankc1jia2k69 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@092039.7194 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092039.7212 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092039.7225 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut675ff46366675ff0e7af','aut675ff67800675ff0e598',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092039.7412 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092039.7444 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092039.7460 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut675ff46366675ff0e7af',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 16.000, 16.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,180000 ,17.3,17.3*200.48,17.3,17.3*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,17.3*16.000,17.3*16.000*200.48 ,6.081000,6.081000*200.48 ,6.081000,6.081000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,17.3,17.3*200.48,17.3*16.000,17.3*16.000*200.48,'av24121349708,935000018 ',17.3,17.3*16.000,17.3,17.3*16.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092039.7747 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092039.7753 ha7dgbs00i4ttlankc1jia2k69 Query : select st.usalote valor from st where st.ref = '324.966.00.01'
20241216@092039.7768 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092039.7771 ha7dgbs00i4ttlankc1jia2k69 Query : select st.stns valor from st where st.ref = '324.966.00.01'
20241216@092039.7788 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092039.7802 ha7dgbs00i4ttlankc1jia2k69 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.966.00.01' and sa.armazem = 133 
20241216@092039.7873 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092039.7876 ha7dgbs00i4ttlankc1jia2k69 Query : select st.stns valor from st where st.ref = '324.966.00.01'
20241216@092039.7895 ha7dgbs00i4ttlankc1jia2k69 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.966.00.01'
20241216@092039.8083 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092039.8111 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092039.8127 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092039.8148 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092039.8157 ha7dgbs00i4ttlankc1jia2k69 Query : select sestamp valor from se where ref ='324.966.00.01' and lote = 'r2400743200a'
20241216@092039.8173 ha7dgbs00i4ttlankc1jia2k69 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@092039.8191 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092039.8214 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092039.8226 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut675ff38283675ff0e7c7','aut675ff67800675ff0e598',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092039.8373 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092039.8393 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092039.8410 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut675ff38283675ff0e7c7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 12.000, 12.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,190000 ,32,32*200.48,32,32*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,32*12.000,32*12.000*200.48 ,12.229000,12.229000*200.48 ,12.229000,12.229000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,32,32*200.48,32*12.000,32*12.000*200.48,'av24121349822,036000020 ',32,32*12.000,32,32*12.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092039.8746 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092039.8753 ha7dgbs00i4ttlankc1jia2k69 Query : select st.usalote valor from st where st.ref = '324.969.00.01'
20241216@092039.8770 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092039.8773 ha7dgbs00i4ttlankc1jia2k69 Query : select st.stns valor from st where st.ref = '324.969.00.01'
20241216@092039.8790 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092039.8793 ha7dgbs00i4ttlankc1jia2k69 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.969.00.01' and sa.armazem = 133 
20241216@092039.9022 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092039.9025 ha7dgbs00i4ttlankc1jia2k69 Query : select st.stns valor from st where st.ref = '324.969.00.01'
20241216@092039.9048 ha7dgbs00i4ttlankc1jia2k69 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.969.00.01'
20241216@092039.9223 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092039.9243 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092039.9258 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092039.9275 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092039.9285 ha7dgbs00i4ttlankc1jia2k69 Query : select sestamp valor from se where ref ='324.969.00.01' and lote = 'r2100601100a'
20241216@092039.9315 ha7dgbs00i4ttlankc1jia2k69 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@092039.9327 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092039.9344 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092039.9356 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut675ff44744675ff0e7e3','aut675ff67800675ff0e598',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092039.9506 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092039.9527 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092039.9544 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut675ff44744675ff0e7e3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 10.000, 10.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,200000 ,35.2,35.2*200.48,35.2,35.2*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,35.2*10.000,35.2*10.000*200.48 ,15.817000,15.817000*200.48 ,15.817000,15.817000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,35.2,35.2*200.48,35.2*10.000,35.2*10.000*200.48,'av24121349867,825000021 ',35.2,35.2*10.000,35.2,35.2*10.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092039.9821 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092039.9826 ha7dgbs00i4ttlankc1jia2k69 Query : select st.usalote valor from st where st.ref = '324.958.00.01'
20241216@092039.9843 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092039.9846 ha7dgbs00i4ttlankc1jia2k69 Query : select st.stns valor from st where st.ref = '324.958.00.01'
20241216@092039.9862 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092039.9865 ha7dgbs00i4ttlankc1jia2k69 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.958.00.01' and sa.armazem = 133 
20241216@092039.9940 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092039.9943 ha7dgbs00i4ttlankc1jia2k69 Query : select st.stns valor from st where st.ref = '324.958.00.01'
20241216@092039.9961 ha7dgbs00i4ttlankc1jia2k69 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.958.00.01'
20241216@092040.9300 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092040.1100 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092040.1240 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092040.1390 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092040.1480 ha7dgbs00i4ttlankc1jia2k69 Query : select sestamp valor from se where ref ='324.958.00.01' and lote = 'r2400704200a'
20241216@092040.1630 ha7dgbs00i4ttlankc1jia2k69 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@092040.1760 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092040.1920 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092040.2130 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut675ff09263675ff0e804','aut675ff67800675ff0e598',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092040.3680 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092040.3880 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092040.4070 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut675ff09263675ff0e804',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 12.000, 12.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,210000 ,19.2,19.2*200.48,19.2,19.2*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,19.2*12.000,19.2*12.000*200.48 ,8.220000,8.220000*200.48 ,8.220000,8.220000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,19.2,19.2*200.48,19.2*12.000,19.2*12.000*200.48,'av24121349875,180000022 ',19.2,19.2*12.000,19.2,19.2*12.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092040.6880 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092040.6930 ha7dgbs00i4ttlankc1jia2k69 Query : select st.usalote valor from st where st.ref = '324.711.00.01'
20241216@092040.7090 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092040.7120 ha7dgbs00i4ttlankc1jia2k69 Query : select st.stns valor from st where st.ref = '324.711.00.01'
20241216@092040.7300 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092040.7330 ha7dgbs00i4ttlankc1jia2k69 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.711.00.01' and sa.armazem = 133 
20241216@092040.8250 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092040.8280 ha7dgbs00i4ttlankc1jia2k69 Query : select st.stns valor from st where st.ref = '324.711.00.01'
20241216@092040.8500 ha7dgbs00i4ttlankc1jia2k69 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.711.00.01'
20241216@092040.9900 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092040.1329 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092040.1780 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092040.2429 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092040.2442 ha7dgbs00i4ttlankc1jia2k69 Query : select sestamp valor from se where ref ='324.711.00.01' and lote = 'r2301222100a'
20241216@092040.2463 ha7dgbs00i4ttlankc1jia2k69 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@092040.2474 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092040.2491 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092040.2504 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut675ff53869675ff0e83c','aut675ff67800675ff0e598',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092040.2662 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092040.2682 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092040.2698 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut675ff53869675ff0e83c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 8.000, 8.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,220000 ,16,16*200.48,16,16*200.48 ,0,0,'un ','' ,bo.marcada,1 ,16*8.000,16*8.000*200.48 ,6.811000,6.811000*200.48 ,6.811000,6.811000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,16,16*200.48,16*8.000,16*8.000*200.48,'av24121350013,657000024 ',16,16*8.000,16,16*8.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092040.2963 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092040.2968 ha7dgbs00i4ttlankc1jia2k69 Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20241216@092040.2987 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092040.2990 ha7dgbs00i4ttlankc1jia2k69 Query : select st.stns valor from st where st.ref = '324.4970.00.1'
20241216@092040.3007 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092040.3011 ha7dgbs00i4ttlankc1jia2k69 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.4970.00.1' and sa.armazem = 133 
20241216@092040.3086 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092040.3089 ha7dgbs00i4ttlankc1jia2k69 Query : select st.stns valor from st where st.ref = '324.4970.00.1'
20241216@092040.3111 ha7dgbs00i4ttlankc1jia2k69 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4970.00.1'
20241216@092040.3243 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092040.3260 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092040.3273 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092040.3287 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092040.3297 ha7dgbs00i4ttlankc1jia2k69 Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2400492200a'
20241216@092040.3312 ha7dgbs00i4ttlankc1jia2k69 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@092040.3324 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092040.3338 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092040.3350 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut675ff67052675ff0e851','aut675ff67800675ff0e598',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092040.3505 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092040.3526 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092040.3543 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut675ff67052675ff0e851',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 12.000, 12.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,230000 ,27.6,27.6*200.48,27.6,27.6*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,27.6*12.000,27.6*12.000*200.48 ,9.098000,9.098000*200.48 ,9.098000,9.098000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,27.6,27.6*200.48,27.6*12.000,27.6*12.000*200.48,'av24121350047,978000025 ',27.6,27.6*12.000,27.6,27.6*12.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092040.3818 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092040.3823 ha7dgbs00i4ttlankc1jia2k69 Query : select st.usalote valor from st where st.ref = '324.4930.00.1'
20241216@092040.3840 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092040.3843 ha7dgbs00i4ttlankc1jia2k69 Query : select st.stns valor from st where st.ref = '324.4930.00.1'
20241216@092040.3860 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092040.3863 ha7dgbs00i4ttlankc1jia2k69 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.4930.00.1' and sa.armazem = 133 
20241216@092040.3946 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092040.3949 ha7dgbs00i4ttlankc1jia2k69 Query : select st.stns valor from st where st.ref = '324.4930.00.1'
20241216@092040.3968 ha7dgbs00i4ttlankc1jia2k69 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.4930.00.1'
20241216@092040.4092 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092040.4109 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092040.4122 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092040.4138 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092040.4147 ha7dgbs00i4ttlankc1jia2k69 Query : select sestamp valor from se where ref ='324.4930.00.1' and lote = 'r2400066200a'
20241216@092040.4169 ha7dgbs00i4ttlankc1jia2k69 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@092040.4181 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092040.4197 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092040.4209 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut675ff00572675ff0e866','aut675ff67800675ff0e598',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092040.4371 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092040.4390 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092040.4407 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut675ff00572675ff0e866',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 6.000, 6.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,240000 ,16,16*200.48,16,16*200.48 ,0,0,'un ','' ,bo.marcada,1 ,16*6.000,16*6.000*200.48 ,6.508000,6.508000*200.48 ,6.508000,6.508000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,16,16*200.48,16*6.000,16*6.000*200.48,'av24121350056,415000026 ',16,16*6.000,16,16*6.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092040.4684 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092040.4688 ha7dgbs00i4ttlankc1jia2k69 Query : select st.usalote valor from st where st.ref = '324.4421.00.1'
20241216@092040.4705 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092040.4708 ha7dgbs00i4ttlankc1jia2k69 Query : select st.stns valor from st where st.ref = '324.4421.00.1'
20241216@092040.4724 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092040.4727 ha7dgbs00i4ttlankc1jia2k69 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.4421.00.1' and sa.armazem = 133 
20241216@092040.4922 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092040.4925 ha7dgbs00i4ttlankc1jia2k69 Query : select st.stns valor from st where st.ref = '324.4421.00.1'
20241216@092040.4999 ha7dgbs00i4ttlankc1jia2k69 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.4421.00.1'
20241216@092040.5140 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092040.5158 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092040.5172 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092040.5188 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092040.5198 ha7dgbs00i4ttlankc1jia2k69 Query : select sestamp valor from se where ref ='324.4421.00.1' and lote = 'r2400920200a'
20241216@092040.5213 ha7dgbs00i4ttlankc1jia2k69 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@092040.5226 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092040.5241 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092040.5254 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut675ff32569675ff0e87f','aut675ff67800675ff0e598',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092040.5411 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092040.5430 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092040.5447 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut675ff32569675ff0e87f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 12.000, 12.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,250000 ,30.1,30.1*200.48,30.1,30.1*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,30.1*12.000,30.1*12.000*200.48 ,11.969000,11.969000*200.48 ,11.969000,11.969000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,30.1,30.1*200.48,30.1*12.000,30.1*12.000*200.48,'av24121350156,725000030 ',30.1,30.1*12.000,30.1,30.1*12.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092040.5722 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092040.5727 ha7dgbs00i4ttlankc1jia2k69 Query : select st.usalote valor from st where st.ref = '325.551.00.15'
20241216@092040.5745 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092040.5748 ha7dgbs00i4ttlankc1jia2k69 Query : select st.stns valor from st where st.ref = '325.551.00.15'
20241216@092040.5766 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092040.5769 ha7dgbs00i4ttlankc1jia2k69 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '325.551.00.15' and sa.armazem = 133 
20241216@092040.5842 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092040.5845 ha7dgbs00i4ttlankc1jia2k69 Query : select st.stns valor from st where st.ref = '325.551.00.15'
20241216@092040.5864 ha7dgbs00i4ttlankc1jia2k69 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 = '325.551.00.15'
20241216@092040.5993 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092040.6010 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092040.6023 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092040.6038 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092040.6046 ha7dgbs00i4ttlankc1jia2k69 Query : select sestamp valor from se where ref ='325.551.00.15' and lote = 'r210109070'
20241216@092040.6072 ha7dgbs00i4ttlankc1jia2k69 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@092040.6085 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092040.6100 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092040.6114 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut675ff47317675ff0e894','aut675ff67800675ff0e598',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092040.6272 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092040.6292 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092040.6309 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut675ff47317675ff0e894',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 120.000, 120.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,260000 ,4.5,4.5*200.48,4.5,4.5*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,4.5*120.000,4.5*120.000*200.48 ,2.520000,2.520000*200.48 ,2.520000,2.520000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,4.5,4.5*200.48,4.5*120.000,4.5*120.000*200.48,'av24121350175,828000031 ',4.5,4.5*120.000,4.5,4.5*120.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092040.6577 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092040.6582 ha7dgbs00i4ttlankc1jia2k69 Query : select st.usalote valor from st where st.ref = '324.2300.00.1'
20241216@092040.6600 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092040.6603 ha7dgbs00i4ttlankc1jia2k69 Query : select st.stns valor from st where st.ref = '324.2300.00.1'
20241216@092040.6620 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092040.6623 ha7dgbs00i4ttlankc1jia2k69 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.2300.00.1' and sa.armazem = 133 
20241216@092040.6704 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092040.6707 ha7dgbs00i4ttlankc1jia2k69 Query : select st.stns valor from st where st.ref = '324.2300.00.1'
20241216@092040.6728 ha7dgbs00i4ttlankc1jia2k69 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2300.00.1'
20241216@092040.6868 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092040.6884 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092040.6897 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092040.6912 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092040.6921 ha7dgbs00i4ttlankc1jia2k69 Query : select sestamp valor from se where ref ='324.2300.00.1' and lote = 'r2400497200a'
20241216@092040.6934 ha7dgbs00i4ttlankc1jia2k69 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@092040.6948 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092040.6963 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241216@092040.6977 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut675ff35077675ff0e8a9','aut675ff67800675ff0e598',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092040.7132 ha7dgbs00i4ttlankc1jia2k69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@092040.7153 ha7dgbs00i4ttlankc1jia2k69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241216@092040.7171 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,obistamp ,stipo) select 'aut675ff35077675ff0e8a9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 12.000, 12.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,270000 ,16,16*200.48,16,16*200.48 ,0,0,'un ','' ,bo.marcada,1 ,16*12.000,16*12.000*200.48 ,6.598000,6.598000*200.48 ,6.598000,6.598000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,16,16*200.48,16*12.000,16*12.000*200.48,'av24121350200,818000032 ',16,16*12.000,16,16*12.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut675ff67800675ff0e598'
20241216@092040.7455 ha7dgbs00i4ttlankc1jia2k69 Query : insert into wsbocreationlog (initialstamp,externalid,creationstatus,documenttypeid,idustamp,transactionid) values ('aut675ff67800675ff0e598','','wait',5,'adm12071144683,938000003','')
20241216@092040.7557 ha7dgbs00i4ttlankc1jia2k69 Query : use flama_phc
20241216@092040.7561 ha7dgbs00i4ttlankc1jia2k69 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241216@092040.7623 ha7dgbs00i4ttlankc1jia2k69 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3982';
20241216@092040.7665 ha7dgbs00i4ttlankc1jia2k69 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3982';
20241216@093608.2984 6g778hmn1teb6hgp510sbf0o98 Query : use flama_phc
20241216@093608.3189 6g778hmn1teb6hgp510sbf0o98 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241216@093608.4169 6g778hmn1teb6hgp510sbf0o98 Query : use flama_phc
20241216@093608.4176 6g778hmn1teb6hgp510sbf0o98 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241216@100649.7600 atiqe9e5vhb0elti077fnqlq1t Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241216@100649.8900 atiqe9e5vhb0elti077fnqlq1t Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241216@100649.1720 atiqe9e5vhb0elti077fnqlq1t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3983';
20241216@100649.2430 atiqe9e5vhb0elti077fnqlq1t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3983';
20241216@100649.3070 atiqe9e5vhb0elti077fnqlq1t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3983';
20241216@100649.3380 atiqe9e5vhb0elti077fnqlq1t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3983';
20241216@100649.3940 atiqe9e5vhb0elti077fnqlq1t Query : use flama_phc
20241216@100649.3980 atiqe9e5vhb0elti077fnqlq1t Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241216@100649.8000 atiqe9e5vhb0elti077fnqlq1t Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.682.00.01'
20241216@100649.8500 atiqe9e5vhb0elti077fnqlq1t 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 = 2400958 and bi.ref ='324.682.00.01' and bi.lordem =40000
20241216@100649.2424 atiqe9e5vhb0elti077fnqlq1t 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 = 'cps24080536080,429000004 ' 
20241216@100649.2761 atiqe9e5vhb0elti077fnqlq1t Query : use flama_phc
20241216@100649.2765 atiqe9e5vhb0elti077fnqlq1t Query : select top 1 1 valor from ts where ts.ndos = 61
20241216@100649.2832 atiqe9e5vhb0elti077fnqlq1t Query : use flama_phc
20241216@100649.2835 atiqe9e5vhb0elti077fnqlq1t 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')
20241216@100649.2863 atiqe9e5vhb0elti077fnqlq1t 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
20241216@100649.2983 atiqe9e5vhb0elti077fnqlq1t Query : use flama_phc
20241216@100649.2986 atiqe9e5vhb0elti077fnqlq1t Query : select top 1 ~inactivo valor from fl where no = '202090' and estab = 00 order by inactivo desc
20241216@100649.3084 atiqe9e5vhb0elti077fnqlq1t Query : use flama_phc
20241216@100649.3089 atiqe9e5vhb0elti077fnqlq1t Query : select 1 valor from ts where ndos = 61
20241216@100649.3104 atiqe9e5vhb0elti077fnqlq1t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@100649.3121 atiqe9e5vhb0elti077fnqlq1t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo' and documentnumber = 61
20241216@100649.3133 atiqe9e5vhb0elti077fnqlq1t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@100649.3148 atiqe9e5vhb0elti077fnqlq1t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo2' and documentnumber = 61
20241216@100649.3162 atiqe9e5vhb0elti077fnqlq1t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@100649.3177 atiqe9e5vhb0elti077fnqlq1t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo3' and documentnumber = 61
20241216@100649.3187 atiqe9e5vhb0elti077fnqlq1t 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
20241216@100649.3287 atiqe9e5vhb0elti077fnqlq1t Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2024 order by obrano desc
20241216@100649.3370 atiqe9e5vhb0elti077fnqlq1t Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2024 order by obrano desc
20241216@100649.3390 atiqe9e5vhb0elti077fnqlq1t Query : use flama_phc
20241216@100649.3396 atiqe9e5vhb0elti077fnqlq1t Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='202090' and estab=00
20241216@100649.3470 atiqe9e5vhb0elti077fnqlq1t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@100649.3487 atiqe9e5vhb0elti077fnqlq1t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo3' and documentnumber = 61
20241216@100649.3501 atiqe9e5vhb0elti077fnqlq1t Query : insert into bo3 (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675ff17704675ffbb952',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20241216@100649.3566 atiqe9e5vhb0elti077fnqlq1t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@100649.3582 atiqe9e5vhb0elti077fnqlq1t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo2' and documentnumber = 61
20241216@100649.3597 atiqe9e5vhb0elti077fnqlq1t Query : insert into bo2 (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675ff17704675ffbb952','--','bo',7.9156433529097704217 ,1,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20241216@100649.3750 atiqe9e5vhb0elti077fnqlq1t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@100649.3769 atiqe9e5vhb0elti077fnqlq1t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo' and documentnumber = 61
20241216@100649.3783 atiqe9e5vhb0elti077fnqlq1t 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 ('aut675ff17704675ffbb952','guia r. fornecedor','2024-12-16',61,2403897,?,?,?,?,?,?,?,?,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')
20241216@100651.8245 atiqe9e5vhb0elti077fnqlq1t Query : use flama_phc
20241216@100651.8250 atiqe9e5vhb0elti077fnqlq1t Query : select st.usalote valor from st where st.ref = '324.682.00.01'
20241216@100651.8294 atiqe9e5vhb0elti077fnqlq1t Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.682.00.01'
20241216@100651.8310 atiqe9e5vhb0elti077fnqlq1t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@100651.8329 atiqe9e5vhb0elti077fnqlq1t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 61
20241216@100651.8345 atiqe9e5vhb0elti077fnqlq1t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@100651.8361 atiqe9e5vhb0elti077fnqlq1t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 61
20241216@100651.8372 atiqe9e5vhb0elti077fnqlq1t Query : select sestamp valor from se where ref ='324.682.00.01' and lote = 'r2400958400a'
20241216@100651.8390 atiqe9e5vhb0elti077fnqlq1t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@100651.8406 atiqe9e5vhb0elti077fnqlq1t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'se' and documentnumber = 0
20241216@100651.8419 atiqe9e5vhb0elti077fnqlq1t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@100651.8435 atiqe9e5vhb0elti077fnqlq1t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'se' and documentnumber = 0
20241216@100651.8450 atiqe9e5vhb0elti077fnqlq1t Query : insert into se (sestamp,ref, lote, data,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675ff16768675ffbbbcd',?,?,'20241216',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut;','aut;')
20241216@100651.9306 atiqe9e5vhb0elti077fnqlq1t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@100651.9325 atiqe9e5vhb0elti077fnqlq1t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@100651.9349 atiqe9e5vhb0elti077fnqlq1t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 61
20241216@100651.9363 atiqe9e5vhb0elti077fnqlq1t Query : insert into bi2 (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut675ff07433675ffbbbe3','aut675ff17704675ffbb952',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 = 'aut675ff17704675ffbb952'
20241216@100651.9510 atiqe9e5vhb0elti077fnqlq1t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@100651.9528 atiqe9e5vhb0elti077fnqlq1t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 61
20241216@100651.9547 atiqe9e5vhb0elti077fnqlq1t 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 'aut675ff07433675ffbbbe3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 1030, 1030*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,10000 ,18.73,18.73*200.48,18.73,18.73*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,18.73*1030,18.73*1030*200.48 ,21.581000,21.581000*200.48 ,21.581000,21.581000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,18.73,18.73*200.48,18.73*1030,18.73*1030*200.48,'cps24080536080,429000004 ',148.26,148.26*1030,148.26,148.26*1030,?,?,?,4 from bo bo where bo.bostamp = 'aut675ff17704675ffbb952'
20241216@100715.6048 atiqe9e5vhb0elti077fnqlq1t Query : use flama_phc
20241216@100715.6053 atiqe9e5vhb0elti077fnqlq1t Query : declare @bostamp varchar(25) = 'aut675ff17704675ffbb952' ,@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 
20241216@100727.8656 atiqe9e5vhb0elti077fnqlq1t Query : use flama_phc
20241216@100727.8660 atiqe9e5vhb0elti077fnqlq1t Query : select 1 valor from bo where bo.bostamp = 'aut675ff17704675ffbb952'
20241216@100727.8748 atiqe9e5vhb0elti077fnqlq1t 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) = 'aut675ff17704675ffbb952' 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 
20241216@100728.1138 atiqe9e5vhb0elti077fnqlq1t Query : use flama_phc
20241216@100728.1142 atiqe9e5vhb0elti077fnqlq1t Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241216@100728.1195 atiqe9e5vhb0elti077fnqlq1t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3983';
20241216@100728.1240 atiqe9e5vhb0elti077fnqlq1t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3983';
20241216@101908.6644 7stemm2s4cp62jmfoov10m44e0 Query : use flama_phc
20241216@101908.6649 7stemm2s4cp62jmfoov10m44e0 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241216@101908.6837 7stemm2s4cp62jmfoov10m44e0 Query : use flama_phc
20241216@101908.6842 7stemm2s4cp62jmfoov10m44e0 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241216@103608.8702 4da0170dl6c2h8fg7cd8d8dol1 Query : use flama_phc
20241216@103608.8769 4da0170dl6c2h8fg7cd8d8dol1 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241216@103608.9121 4da0170dl6c2h8fg7cd8d8dol1 Query : use flama_phc
20241216@103608.9126 4da0170dl6c2h8fg7cd8d8dol1 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241216@111908.3806 vt3j4ch3ss0cgsa1117739dvjm Query : use flama_phc
20241216@111908.3810 vt3j4ch3ss0cgsa1117739dvjm Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241216@111908.3917 vt3j4ch3ss0cgsa1117739dvjm Query : use flama_phc
20241216@111908.3920 vt3j4ch3ss0cgsa1117739dvjm Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241216@113608.5390 nlcu8fs83juapek2fqiqg8ossh Query : use flama_phc
20241216@113608.5394 nlcu8fs83juapek2fqiqg8ossh Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20241216@113608.5482 nlcu8fs83juapek2fqiqg8ossh Query : use flama_phc
20241216@113608.5486 nlcu8fs83juapek2fqiqg8ossh Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241216@114033.4000 i9kn1olkj2s7krf9pfvv6n5a4p Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241216@114033.4130 i9kn1olkj2s7krf9pfvv6n5a4p Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241216@114033.4900 i9kn1olkj2s7krf9pfvv6n5a4p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3984';
20241216@114033.5740 i9kn1olkj2s7krf9pfvv6n5a4p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3984';
20241216@114033.6380 i9kn1olkj2s7krf9pfvv6n5a4p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3984';
20241216@114033.6710 i9kn1olkj2s7krf9pfvv6n5a4p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3984';
20241216@114033.7400 i9kn1olkj2s7krf9pfvv6n5a4p Query : use flama_phc
20241216@114033.7430 i9kn1olkj2s7krf9pfvv6n5a4p Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241216@114033.8180 i9kn1olkj2s7krf9pfvv6n5a4p Query : use flama_phc
20241216@114033.8210 i9kn1olkj2s7krf9pfvv6n5a4p Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241216@114033.9120 i9kn1olkj2s7krf9pfvv6n5a4p Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4901.00.2'
20241216@114033.1062 i9kn1olkj2s7krf9pfvv6n5a4p Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4901.00.2'
20241216@114033.1084 i9kn1olkj2s7krf9pfvv6n5a4p Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4901.00.2'
20241216@114033.1105 i9kn1olkj2s7krf9pfvv6n5a4p Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4901.00.2'
20241216@114033.1126 i9kn1olkj2s7krf9pfvv6n5a4p Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4901.00.2'
20241216@114033.1148 i9kn1olkj2s7krf9pfvv6n5a4p Query : use flama_phc
20241216@114033.1152 i9kn1olkj2s7krf9pfvv6n5a4p Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241216@114033.1330 i9kn1olkj2s7krf9pfvv6n5a4p Query : use flama_phc
20241216@114033.1334 i9kn1olkj2s7krf9pfvv6n5a4p Query : select top 1 1 valor from td where td.ndoc = 39
20241216@114033.1443 i9kn1olkj2s7krf9pfvv6n5a4p Query : use flama_phc
20241216@114033.1447 i9kn1olkj2s7krf9pfvv6n5a4p 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')
20241216@114033.1502 i9kn1olkj2s7krf9pfvv6n5a4p Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20241216@114033.1653 i9kn1olkj2s7krf9pfvv6n5a4p Query : use flama_phc
20241216@114033.1658 i9kn1olkj2s7krf9pfvv6n5a4p Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241216@114033.1784 i9kn1olkj2s7krf9pfvv6n5a4p Query : use flama_phc
20241216@114033.1787 i9kn1olkj2s7krf9pfvv6n5a4p Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241216@114033.1872 i9kn1olkj2s7krf9pfvv6n5a4p Query : use flama_phc
20241216@114033.1876 i9kn1olkj2s7krf9pfvv6n5a4p Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241216@114033.1923 i9kn1olkj2s7krf9pfvv6n5a4p Query : use flama_phc
20241216@114033.1926 i9kn1olkj2s7krf9pfvv6n5a4p Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241216@114033.1975 i9kn1olkj2s7krf9pfvv6n5a4p Query : use flama_phc
20241216@114033.1978 i9kn1olkj2s7krf9pfvv6n5a4p Query : select 1 valor from td where ndoc = 39
20241216@114033.2041 i9kn1olkj2s7krf9pfvv6n5a4p Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241216@114033.2109 i9kn1olkj2s7krf9pfvv6n5a4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@114033.2134 i9kn1olkj2s7krf9pfvv6n5a4p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241216@114033.2186 i9kn1olkj2s7krf9pfvv6n5a4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@114033.2203 i9kn1olkj2s7krf9pfvv6n5a4p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241216@114033.2233 i9kn1olkj2s7krf9pfvv6n5a4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@114033.2247 i9kn1olkj2s7krf9pfvv6n5a4p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241216@114033.2261 i9kn1olkj2s7krf9pfvv6n5a4p Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241216@114033.2426 i9kn1olkj2s7krf9pfvv6n5a4p Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241216@114033.2519 i9kn1olkj2s7krf9pfvv6n5a4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@114033.2536 i9kn1olkj2s7krf9pfvv6n5a4p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241216@114033.2558 i9kn1olkj2s7krf9pfvv6n5a4p Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6760123954676011b137' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241216@114033.2792 i9kn1olkj2s7krf9pfvv6n5a4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@114033.2814 i9kn1olkj2s7krf9pfvv6n5a4p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241216@114033.2858 i9kn1olkj2s7krf9pfvv6n5a4p Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241216@114033.2934 i9kn1olkj2s7krf9pfvv6n5a4p Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241216@114033.3000 i9kn1olkj2s7krf9pfvv6n5a4p Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241216@114033.3066 i9kn1olkj2s7krf9pfvv6n5a4p Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241216@114033.3130 i9kn1olkj2s7krf9pfvv6n5a4p Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241216@114033.3212 i9kn1olkj2s7krf9pfvv6n5a4p Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241216@114033.3274 i9kn1olkj2s7krf9pfvv6n5a4p Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6760123954676011b137',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241216@114033.3712 i9kn1olkj2s7krf9pfvv6n5a4p Query : select top 1 fno valor from wsftdata order by fno desc
20241216@114033.3803 i9kn1olkj2s7krf9pfvv6n5a4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@114033.3824 i9kn1olkj2s7krf9pfvv6n5a4p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241216@114033.3852 i9kn1olkj2s7krf9pfvv6n5a4p Query : select 'normal' from dummy
20241216@114033.3902 i9kn1olkj2s7krf9pfvv6n5a4p Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6760123954676011b137',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2457,100810,0,'2024-12-16',39,'euro',0,0,2024 ,?,?)
20241216@114033.4297 i9kn1olkj2s7krf9pfvv6n5a4p Query : use flama_phc
20241216@114033.4301 i9kn1olkj2s7krf9pfvv6n5a4p Query : select st.usalote valor from st where st.ref = '324.4901.00.2'
20241216@114033.4332 i9kn1olkj2s7krf9pfvv6n5a4p 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.4901.00.2'
20241216@114033.4465 i9kn1olkj2s7krf9pfvv6n5a4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@114033.4487 i9kn1olkj2s7krf9pfvv6n5a4p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@114033.4936 i9kn1olkj2s7krf9pfvv6n5a4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@114033.5834 i9kn1olkj2s7krf9pfvv6n5a4p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@114033.5859 i9kn1olkj2s7krf9pfvv6n5a4p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@114033.5878 i9kn1olkj2s7krf9pfvv6n5a4p Query : select sestamp valor from se where ref ='324.4901.00.2' and lote = 'r23006206200a'
20241216@114033.5895 i9kn1olkj2s7krf9pfvv6n5a4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@114033.5914 i9kn1olkj2s7krf9pfvv6n5a4p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@114033.5929 i9kn1olkj2s7krf9pfvv6n5a4p Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760162724676011b18f','aut6760123954676011b137' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@114033.6009 i9kn1olkj2s7krf9pfvv6n5a4p Query : use flama_phc
20241216@114033.6013 i9kn1olkj2s7krf9pfvv6n5a4p Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20241216@114033.6106 i9kn1olkj2s7krf9pfvv6n5a4p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3984';
20241216@114033.6151 i9kn1olkj2s7krf9pfvv6n5a4p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3984';
20241216@121114.1225 t7is349sp26l4r284rqm2o41gi Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241216@121114.1279 t7is349sp26l4r284rqm2o41gi Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241216@121114.1822 t7is349sp26l4r284rqm2o41gi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3985';
20241216@121114.1998 t7is349sp26l4r284rqm2o41gi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3985';
20241216@121114.2149 t7is349sp26l4r284rqm2o41gi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3985';
20241216@121114.3130 t7is349sp26l4r284rqm2o41gi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3985';
20241216@121114.3616 t7is349sp26l4r284rqm2o41gi Query : use flama_phc
20241216@121114.3620 t7is349sp26l4r284rqm2o41gi Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241216@121114.3769 t7is349sp26l4r284rqm2o41gi Query : use flama_phc
20241216@121114.3772 t7is349sp26l4r284rqm2o41gi Query : select no, estab,szadrsdesc from szadrs where u_coddest=2459
20241216@121114.3952 t7is349sp26l4r284rqm2o41gi 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'
20241216@121114.4171 t7is349sp26l4r284rqm2o41gi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408551 and bi.ref ='327.8253.00.1' and bi.lordem =1
20241216@121114.4673 t7is349sp26l4r284rqm2o41gi 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'
20241216@121114.4695 t7is349sp26l4r284rqm2o41gi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408551 and bi.ref ='327.8253.00.1' and bi.lordem =1
20241216@121114.4799 t7is349sp26l4r284rqm2o41gi 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'
20241216@121114.4822 t7is349sp26l4r284rqm2o41gi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408551 and bi.ref ='327.8253.00.1' and bi.lordem =1
20241216@121114.4954 t7is349sp26l4r284rqm2o41gi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1805.00.1'
20241216@121114.5200 t7is349sp26l4r284rqm2o41gi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408551 and bi.ref ='324.1805.00.1' and bi.lordem =2
20241216@121114.6089 t7is349sp26l4r284rqm2o41gi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1805.00.1'
20241216@121114.6114 t7is349sp26l4r284rqm2o41gi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408551 and bi.ref ='324.1805.00.1' and bi.lordem =2
20241216@121114.6223 t7is349sp26l4r284rqm2o41gi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1805.00.1'
20241216@121114.6288 t7is349sp26l4r284rqm2o41gi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408551 and bi.ref ='324.1805.00.1' and bi.lordem =2
20241216@121114.6368 t7is349sp26l4r284rqm2o41gi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1805.00.1'
20241216@121114.6465 t7is349sp26l4r284rqm2o41gi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408551 and bi.ref ='324.1805.00.1' and bi.lordem =2
20241216@121114.6524 t7is349sp26l4r284rqm2o41gi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1805.00.1'
20241216@121114.6587 t7is349sp26l4r284rqm2o41gi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408551 and bi.ref ='324.1805.00.1' and bi.lordem =2
20241216@121114.6660 t7is349sp26l4r284rqm2o41gi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1805.00.1'
20241216@121114.6728 t7is349sp26l4r284rqm2o41gi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408551 and bi.ref ='324.1805.00.1' and bi.lordem =2
20241216@121114.6799 t7is349sp26l4r284rqm2o41gi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1805.00.1'
20241216@121114.6822 t7is349sp26l4r284rqm2o41gi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408551 and bi.ref ='324.1805.00.1' and bi.lordem =2
20241216@121114.6928 t7is349sp26l4r284rqm2o41gi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1805.00.1'
20241216@121114.6949 t7is349sp26l4r284rqm2o41gi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408551 and bi.ref ='324.1805.00.1' and bi.lordem =2
20241216@121114.7001 t7is349sp26l4r284rqm2o41gi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1832.00.2'
20241216@121114.7281 t7is349sp26l4r284rqm2o41gi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408551 and bi.ref ='324.1832.00.2' and bi.lordem =3
20241216@121114.7856 t7is349sp26l4r284rqm2o41gi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1832.00.2'
20241216@121114.7916 t7is349sp26l4r284rqm2o41gi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408551 and bi.ref ='324.1832.00.2' and bi.lordem =3
20241216@121114.7992 t7is349sp26l4r284rqm2o41gi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1832.00.2'
20241216@121114.8014 t7is349sp26l4r284rqm2o41gi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408551 and bi.ref ='324.1832.00.2' and bi.lordem =3
20241216@121114.8125 t7is349sp26l4r284rqm2o41gi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1833.00.2'
20241216@121114.8725 t7is349sp26l4r284rqm2o41gi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408551 and bi.ref ='324.1833.00.2' and bi.lordem =4
20241216@121114.9391 t7is349sp26l4r284rqm2o41gi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1833.00.2'
20241216@121114.9494 t7is349sp26l4r284rqm2o41gi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408551 and bi.ref ='324.1833.00.2' and bi.lordem =4
20241216@121114.9526 t7is349sp26l4r284rqm2o41gi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1833.00.2'
20241216@121114.9654 t7is349sp26l4r284rqm2o41gi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408551 and bi.ref ='324.1833.00.2' and bi.lordem =4
20241216@121114.9675 t7is349sp26l4r284rqm2o41gi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1833.00.2'
20241216@121114.9771 t7is349sp26l4r284rqm2o41gi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408551 and bi.ref ='324.1833.00.2' and bi.lordem =4
20241216@121114.9802 t7is349sp26l4r284rqm2o41gi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1837.00.1'
20241216@121115.3400 t7is349sp26l4r284rqm2o41gi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408551 and bi.ref ='324.1837.00.1' and bi.lordem =5
20241216@121115.6850 t7is349sp26l4r284rqm2o41gi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1837.00.1'
20241216@121115.8050 t7is349sp26l4r284rqm2o41gi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408551 and bi.ref ='324.1837.00.1' and bi.lordem =5
20241216@121115.8530 t7is349sp26l4r284rqm2o41gi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1837.00.1'
20241216@121115.2550 t7is349sp26l4r284rqm2o41gi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408551 and bi.ref ='324.1837.00.1' and bi.lordem =5
20241216@121115.3318 t7is349sp26l4r284rqm2o41gi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1837.00.1'
20241216@121115.3345 t7is349sp26l4r284rqm2o41gi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408551 and bi.ref ='324.1837.00.1' and bi.lordem =5
20241216@121115.3451 t7is349sp26l4r284rqm2o41gi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1837.00.1'
20241216@121115.3474 t7is349sp26l4r284rqm2o41gi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408551 and bi.ref ='324.1837.00.1' and bi.lordem =5
20241216@121115.3528 t7is349sp26l4r284rqm2o41gi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1837.00.1'
20241216@121115.3595 t7is349sp26l4r284rqm2o41gi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408551 and bi.ref ='324.1837.00.1' and bi.lordem =5
20241216@121115.3616 t7is349sp26l4r284rqm2o41gi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1837.00.1'
20241216@121115.3722 t7is349sp26l4r284rqm2o41gi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408551 and bi.ref ='324.1837.00.1' and bi.lordem =5
20241216@121115.3741 t7is349sp26l4r284rqm2o41gi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1837.00.1'
20241216@121115.3801 t7is349sp26l4r284rqm2o41gi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408551 and bi.ref ='324.1837.00.1' and bi.lordem =5
20241216@121115.3864 t7is349sp26l4r284rqm2o41gi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1837.00.1'
20241216@121115.3886 t7is349sp26l4r284rqm2o41gi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408551 and bi.ref ='324.1837.00.1' and bi.lordem =5
20241216@121115.4007 t7is349sp26l4r284rqm2o41gi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1884.00.1'
20241216@121115.4249 t7is349sp26l4r284rqm2o41gi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408551 and bi.ref ='324.1884.00.1' and bi.lordem =6
20241216@121115.5067 t7is349sp26l4r284rqm2o41gi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1884.00.1'
20241216@121115.5185 t7is349sp26l4r284rqm2o41gi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408551 and bi.ref ='324.1884.00.1' and bi.lordem =6
20241216@121115.5238 t7is349sp26l4r284rqm2o41gi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1884.00.1'
20241216@121115.5307 t7is349sp26l4r284rqm2o41gi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408551 and bi.ref ='324.1884.00.1' and bi.lordem =6
20241216@121115.5326 t7is349sp26l4r284rqm2o41gi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1884.00.1'
20241216@121115.5430 t7is349sp26l4r284rqm2o41gi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408551 and bi.ref ='324.1884.00.1' and bi.lordem =6
20241216@121115.5501 t7is349sp26l4r284rqm2o41gi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1889.00.1'
20241216@121115.5859 t7is349sp26l4r284rqm2o41gi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408551 and bi.ref ='324.1889.00.1' and bi.lordem =7
20241216@121115.6415 t7is349sp26l4r284rqm2o41gi Query : use flama_phc
20241216@121115.6419 t7is349sp26l4r284rqm2o41gi Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241216@121115.6542 t7is349sp26l4r284rqm2o41gi Query : use flama_phc
20241216@121115.6545 t7is349sp26l4r284rqm2o41gi Query : select top 1 1 valor from td where td.ndoc = 39
20241216@121115.6658 t7is349sp26l4r284rqm2o41gi Query : use flama_phc
20241216@121115.6662 t7is349sp26l4r284rqm2o41gi 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')
20241216@121115.6810 t7is349sp26l4r284rqm2o41gi Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20241216@121115.6883 t7is349sp26l4r284rqm2o41gi Query : use flama_phc
20241216@121115.6924 t7is349sp26l4r284rqm2o41gi Query : select top 1 ~inactivo valor from cl where no = '200500' and estab = 0 order by inactivo desc
20241216@121115.7165 t7is349sp26l4r284rqm2o41gi Query : use flama_phc
20241216@121115.7207 t7is349sp26l4r284rqm2o41gi Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241216@121115.7282 t7is349sp26l4r284rqm2o41gi Query : use flama_phc
20241216@121115.7286 t7is349sp26l4r284rqm2o41gi Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241216@121115.7422 t7is349sp26l4r284rqm2o41gi Query : use flama_phc
20241216@121115.7426 t7is349sp26l4r284rqm2o41gi Query : select szadrsstamp valor from szadrs where szadrsdesc='eldisser, s.a.'
20241216@121115.7648 t7is349sp26l4r284rqm2o41gi Query : use flama_phc
20241216@121115.7651 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from td where ndoc = 39
20241216@121115.7666 t7is349sp26l4r284rqm2o41gi Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241216@121115.7681 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121115.7792 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241216@121115.7920 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121115.7939 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241216@121115.8058 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121115.8074 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241216@121115.8088 t7is349sp26l4r284rqm2o41gi Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241216@121115.8232 t7is349sp26l4r284rqm2o41gi Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241216@121115.8247 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121115.8264 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241216@121115.8752 t7is349sp26l4r284rqm2o41gi Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6760135844676018e3c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241216@121115.9216 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121115.9238 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241216@121115.9363 t7is349sp26l4r284rqm2o41gi Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241216@121115.9375 t7is349sp26l4r284rqm2o41gi Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241216@121115.9389 t7is349sp26l4r284rqm2o41gi Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241216@121115.9487 t7is349sp26l4r284rqm2o41gi Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241216@121115.9501 t7is349sp26l4r284rqm2o41gi Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241216@121115.9514 t7is349sp26l4r284rqm2o41gi Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241216@121115.9607 t7is349sp26l4r284rqm2o41gi Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6760135844676018e3c5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241216@121116.3400 t7is349sp26l4r284rqm2o41gi Query : select top 1 fno valor from wsftdata order by fno desc
20241216@121116.4580 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121116.4780 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241216@121116.5850 t7is349sp26l4r284rqm2o41gi Query : select 'normal' from dummy
20241216@121116.6840 t7is349sp26l4r284rqm2o41gi Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6760135844676018e3c5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2457,200500,0,'2024-12-16',39,'euro',0,0,2024 ,?,?)
20241216@121116.1331 t7is349sp26l4r284rqm2o41gi Query : use flama_phc
20241216@121116.1373 t7is349sp26l4r284rqm2o41gi Query : select st.usalote valor from st where st.ref = '327.8253.00.1'
20241216@121116.2104 t7is349sp26l4r284rqm2o41gi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '327.8253.00.1'
20241216@121116.2494 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121116.2517 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121116.2631 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121116.2648 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121116.2657 t7is349sp26l4r284rqm2o41gi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121116.2752 t7is349sp26l4r284rqm2o41gi Query : select sestamp valor from se where ref ='327.8253.00.1' and lote = 'r2400073100b'
20241216@121116.2781 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121116.2881 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121116.2894 t7is349sp26l4r284rqm2o41gi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760127172676018e443','aut6760135844676018e3c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121116.2905 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121116.2925 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121116.3055 t7is349sp26l4r284rqm2o41gi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760127172676018e443',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6760135844676018e3c5' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241216@121116.4580 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121116.4598 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121116.4711 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121116.4726 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121116.4736 t7is349sp26l4r284rqm2o41gi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121116.4764 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121116.4863 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121116.4874 t7is349sp26l4r284rqm2o41gi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760169786676018e474','aut6760135844676018e3c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121116.4880 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121116.4934 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121116.5011 t7is349sp26l4r284rqm2o41gi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6760169786676018e474',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6760135844676018e3c5' ,0,0 ,2,23.00,20000,?,?,?)
20241216@121116.5398 t7is349sp26l4r284rqm2o41gi Query : use flama_phc
20241216@121116.5445 t7is349sp26l4r284rqm2o41gi Query : select st.usalote valor from st where st.ref = '327.8253.00.1'
20241216@121116.5474 t7is349sp26l4r284rqm2o41gi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '327.8253.00.1'
20241216@121116.5489 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121116.5592 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121116.5619 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121116.5717 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121116.5726 t7is349sp26l4r284rqm2o41gi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121116.5739 t7is349sp26l4r284rqm2o41gi Query : select sestamp valor from se where ref ='327.8253.00.1' and lote = 'r2400073100b'
20241216@121116.5753 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121116.5856 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121116.5872 t7is349sp26l4r284rqm2o41gi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760117979676018e48c','aut6760135844676018e3c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121116.5877 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121116.5932 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121116.6006 t7is349sp26l4r284rqm2o41gi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760117979676018e48c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6760135844676018e3c5' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241216@121116.6424 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121116.6444 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121116.6511 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121116.6615 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121116.6625 t7is349sp26l4r284rqm2o41gi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121116.6640 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121116.6750 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121116.6764 t7is349sp26l4r284rqm2o41gi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760157301676018e4a2','aut6760135844676018e3c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121116.6769 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121116.6785 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121116.6896 t7is349sp26l4r284rqm2o41gi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6760157301676018e4a2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6760135844676018e3c5' ,0,0 ,2,23.00,50000,?,?,?)
20241216@121116.7255 t7is349sp26l4r284rqm2o41gi Query : use flama_phc
20241216@121116.7297 t7is349sp26l4r284rqm2o41gi Query : select st.usalote valor from st where st.ref = '327.8253.00.1'
20241216@121116.7324 t7is349sp26l4r284rqm2o41gi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '327.8253.00.1'
20241216@121116.7339 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121116.7437 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121116.7467 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121116.7670 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121116.7683 t7is349sp26l4r284rqm2o41gi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121116.7785 t7is349sp26l4r284rqm2o41gi Query : select sestamp valor from se where ref ='327.8253.00.1' and lote = 'r2400073100b'
20241216@121116.7800 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121116.7820 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121116.7916 t7is349sp26l4r284rqm2o41gi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760152532676018e4be','aut6760135844676018e3c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121116.7923 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121116.7946 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121116.8061 t7is349sp26l4r284rqm2o41gi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760152532676018e4be',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6760135844676018e3c5' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241216@121116.8479 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121116.8497 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121116.8563 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121116.8625 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121116.8635 t7is349sp26l4r284rqm2o41gi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121116.8648 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121116.8663 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121116.8762 t7is349sp26l4r284rqm2o41gi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760157037676018e4d3','aut6760135844676018e3c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121116.8767 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121116.8782 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121116.8891 t7is349sp26l4r284rqm2o41gi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6760157037676018e4d3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6760135844676018e3c5' ,0,0 ,2,23.00,80000,?,?,?)
20241216@121116.9236 t7is349sp26l4r284rqm2o41gi Query : use flama_phc
20241216@121116.9240 t7is349sp26l4r284rqm2o41gi Query : select st.usalote valor from st where st.ref = '324.1805.00.1'
20241216@121116.9348 t7is349sp26l4r284rqm2o41gi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1805.00.1'
20241216@121116.9829 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121116.9848 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121116.9961 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121116.9978 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121116.9988 t7is349sp26l4r284rqm2o41gi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121117.1000 t7is349sp26l4r284rqm2o41gi Query : select sestamp valor from se where ref ='324.1805.00.1' and lote = 'r2400291200a'
20241216@121117.1070 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121117.1270 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121117.1410 t7is349sp26l4r284rqm2o41gi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760105648676018e502','aut6760135844676018e3c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121117.1470 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121117.2450 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121117.3160 t7is349sp26l4r284rqm2o41gi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760105648676018e502',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6760135844676018e3c5' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20241216@121117.8300 t7is349sp26l4r284rqm2o41gi Query : use flama_phc
20241216@121117.8340 t7is349sp26l4r284rqm2o41gi Query : select st.usalote valor from st where st.ref = '324.1805.00.1'
20241216@121117.9330 t7is349sp26l4r284rqm2o41gi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1805.00.1'
20241216@121117.9550 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121117.9740 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121117.1091 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121117.1108 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121117.1118 t7is349sp26l4r284rqm2o41gi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121117.1174 t7is349sp26l4r284rqm2o41gi Query : select sestamp valor from se where ref ='324.1805.00.1' and lote = 'r2400291200a'
20241216@121117.1236 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121117.1258 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121117.1310 t7is349sp26l4r284rqm2o41gi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760102391676018e51e','aut6760135844676018e3c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121117.1355 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121117.1379 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121117.1410 t7is349sp26l4r284rqm2o41gi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760102391676018e51e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',14.000 ,'aut6760135844676018e3c5' ,0,0 ,2,23.00,110000,?,?,?,?,?)
20241216@121117.1828 t7is349sp26l4r284rqm2o41gi Query : use flama_phc
20241216@121117.1837 t7is349sp26l4r284rqm2o41gi Query : select st.usalote valor from st where st.ref = '324.1805.00.1'
20241216@121117.1859 t7is349sp26l4r284rqm2o41gi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1805.00.1'
20241216@121117.1873 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121117.1976 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121117.2002 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121117.2017 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121117.2026 t7is349sp26l4r284rqm2o41gi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121117.2158 t7is349sp26l4r284rqm2o41gi Query : select sestamp valor from se where ref ='324.1805.00.1' and lote = 'r2400291200a'
20241216@121117.2411 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121117.2468 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121117.2481 t7is349sp26l4r284rqm2o41gi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760102790676018e53a','aut6760135844676018e3c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121117.2487 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121117.2584 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121117.2627 t7is349sp26l4r284rqm2o41gi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760102790676018e53a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',14.000 ,'aut6760135844676018e3c5' ,0,0 ,2,23.00,120000,?,?,?,?,?)
20241216@121117.3023 t7is349sp26l4r284rqm2o41gi Query : use flama_phc
20241216@121117.3034 t7is349sp26l4r284rqm2o41gi Query : select st.usalote valor from st where st.ref = '324.1805.00.1'
20241216@121117.3057 t7is349sp26l4r284rqm2o41gi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1805.00.1'
20241216@121117.3152 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121117.3172 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121117.3290 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121117.3307 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121117.3319 t7is349sp26l4r284rqm2o41gi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121117.3413 t7is349sp26l4r284rqm2o41gi Query : select sestamp valor from se where ref ='324.1805.00.1' and lote = 'r2400291200a'
20241216@121117.3442 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121117.3546 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121117.3560 t7is349sp26l4r284rqm2o41gi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760144128676018e554','aut6760135844676018e3c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121117.3566 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121117.3656 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121117.3697 t7is349sp26l4r284rqm2o41gi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760144128676018e554',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',14.000 ,'aut6760135844676018e3c5' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20241216@121117.4120 t7is349sp26l4r284rqm2o41gi Query : use flama_phc
20241216@121117.4124 t7is349sp26l4r284rqm2o41gi Query : select st.usalote valor from st where st.ref = '324.1805.00.1'
20241216@121117.4148 t7is349sp26l4r284rqm2o41gi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1805.00.1'
20241216@121117.4163 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121117.4258 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121117.4287 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121117.4388 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121117.4400 t7is349sp26l4r284rqm2o41gi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121117.4575 t7is349sp26l4r284rqm2o41gi Query : select sestamp valor from se where ref ='324.1805.00.1' and lote = 'r2400291200a'
20241216@121117.4589 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121117.4608 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121117.4706 t7is349sp26l4r284rqm2o41gi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760155437676018e570','aut6760135844676018e3c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121117.4712 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121117.4729 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121117.4848 t7is349sp26l4r284rqm2o41gi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760155437676018e570',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',14.000 ,'aut6760135844676018e3c5' ,0,0 ,2,23.00,140000,?,?,?,?,?)
20241216@121117.5683 t7is349sp26l4r284rqm2o41gi Query : use flama_phc
20241216@121117.5847 t7is349sp26l4r284rqm2o41gi Query : select st.usalote valor from st where st.ref = '324.1805.00.1'
20241216@121117.6493 t7is349sp26l4r284rqm2o41gi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1805.00.1'
20241216@121117.6556 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121117.6615 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121117.6684 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121117.6788 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121117.6798 t7is349sp26l4r284rqm2o41gi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121117.6811 t7is349sp26l4r284rqm2o41gi Query : select sestamp valor from se where ref ='324.1805.00.1' and lote = 'r2400291200a'
20241216@121117.6912 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121117.6930 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121117.7030 t7is349sp26l4r284rqm2o41gi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760175116676018e5a8','aut6760135844676018e3c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121117.7036 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121117.7053 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121117.7166 t7is349sp26l4r284rqm2o41gi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760175116676018e5a8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',14.000 ,'aut6760135844676018e3c5' ,0,0 ,2,23.00,150000,?,?,?,?,?)
20241216@121117.7542 t7is349sp26l4r284rqm2o41gi Query : use flama_phc
20241216@121117.7584 t7is349sp26l4r284rqm2o41gi Query : select st.usalote valor from st where st.ref = '324.1805.00.1'
20241216@121117.7617 t7is349sp26l4r284rqm2o41gi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1805.00.1'
20241216@121117.7717 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121117.7735 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121117.7846 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121117.7862 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121117.7871 t7is349sp26l4r284rqm2o41gi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121117.7883 t7is349sp26l4r284rqm2o41gi Query : select sestamp valor from se where ref ='324.1805.00.1' and lote = 'r2400291200a'
20241216@121117.7896 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121117.7911 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121117.7923 t7is349sp26l4r284rqm2o41gi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760172110676018e5c0','aut6760135844676018e3c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121117.7928 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121117.7943 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121117.8061 t7is349sp26l4r284rqm2o41gi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760172110676018e5c0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',14.000 ,'aut6760135844676018e3c5' ,0,0 ,2,23.00,160000,?,?,?,?,?)
20241216@121117.8399 t7is349sp26l4r284rqm2o41gi Query : use flama_phc
20241216@121117.8403 t7is349sp26l4r284rqm2o41gi Query : select st.usalote valor from st where st.ref = '324.1805.00.1'
20241216@121117.8462 t7is349sp26l4r284rqm2o41gi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1805.00.1'
20241216@121117.8523 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121117.8541 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121117.8652 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121117.8747 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121117.8760 t7is349sp26l4r284rqm2o41gi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121117.8773 t7is349sp26l4r284rqm2o41gi Query : select sestamp valor from se where ref ='324.1805.00.1' and lote = 'r2400480100a'
20241216@121117.8872 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121117.8890 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121117.8902 t7is349sp26l4r284rqm2o41gi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760157377676018e5d8','aut6760135844676018e3c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121117.8907 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121117.8922 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121117.9041 t7is349sp26l4r284rqm2o41gi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760157377676018e5d8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',14.000 ,'aut6760135844676018e3c5' ,0,0 ,2,23.00,170000,?,?,?,?,?)
20241216@121117.9367 t7is349sp26l4r284rqm2o41gi Query : use flama_phc
20241216@121117.9371 t7is349sp26l4r284rqm2o41gi Query : select st.usalote valor from st where st.ref = '324.1832.00.2'
20241216@121117.9485 t7is349sp26l4r284rqm2o41gi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1832.00.2'
20241216@121117.9705 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121117.9723 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121117.9835 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121117.9932 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121117.9945 t7is349sp26l4r284rqm2o41gi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121117.9960 t7is349sp26l4r284rqm2o41gi Query : select sestamp valor from se where ref ='324.1832.00.2' and lote = 'r2301257100a'
20241216@121118.7200 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121118.1300 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121118.1870 t7is349sp26l4r284rqm2o41gi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760186111676018e601','aut6760135844676018e3c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121118.1930 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121118.2110 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121118.3300 t7is349sp26l4r284rqm2o41gi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760186111676018e601',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10.000 ,'aut6760135844676018e3c5' ,0,0 ,2,23.00,180000,?,?,?,?,?)
20241216@121118.8710 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121118.8910 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121118.1028 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121118.1127 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121118.1146 t7is349sp26l4r284rqm2o41gi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121118.1160 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121118.1177 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121118.1268 t7is349sp26l4r284rqm2o41gi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760172701676018e61c','aut6760135844676018e3c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121118.1283 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121118.1300 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121118.1416 t7is349sp26l4r284rqm2o41gi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6760172701676018e61c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6760135844676018e3c5' ,0,0 ,2,23.00,190000,?,?,?)
20241216@121118.1796 t7is349sp26l4r284rqm2o41gi Query : use flama_phc
20241216@121118.1799 t7is349sp26l4r284rqm2o41gi Query : select st.usalote valor from st where st.ref = '324.1832.00.2'
20241216@121118.1820 t7is349sp26l4r284rqm2o41gi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1832.00.2'
20241216@121118.1913 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121118.1936 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121118.2047 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121118.2063 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121118.2111 t7is349sp26l4r284rqm2o41gi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121118.2167 t7is349sp26l4r284rqm2o41gi Query : select sestamp valor from se where ref ='324.1832.00.2' and lote = 'r2301257100a'
20241216@121118.2180 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121118.2279 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121118.2290 t7is349sp26l4r284rqm2o41gi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760113725676018e635','aut6760135844676018e3c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121118.2296 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121118.2393 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121118.2502 t7is349sp26l4r284rqm2o41gi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760113725676018e635',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6760135844676018e3c5' ,0,0 ,2,23.00,210000,?,?,?,?,?)
20241216@121118.3068 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121118.3654 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121118.5002 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121118.5026 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121118.5036 t7is349sp26l4r284rqm2o41gi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121118.5138 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121118.5155 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121118.5168 t7is349sp26l4r284rqm2o41gi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760126566676018e67d','aut6760135844676018e3c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121118.5174 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121118.5276 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121118.5495 t7is349sp26l4r284rqm2o41gi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6760126566676018e67d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6760135844676018e3c5' ,0,0 ,2,23.00,220000,?,?,?)
20241216@121118.5956 t7is349sp26l4r284rqm2o41gi Query : use flama_phc
20241216@121118.5965 t7is349sp26l4r284rqm2o41gi Query : select st.usalote valor from st where st.ref = '324.1832.00.2'
20241216@121118.5988 t7is349sp26l4r284rqm2o41gi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1832.00.2'
20241216@121118.6003 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121118.6108 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121118.6182 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121118.6260 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121118.6270 t7is349sp26l4r284rqm2o41gi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121118.6404 t7is349sp26l4r284rqm2o41gi Query : select sestamp valor from se where ref ='324.1832.00.2' and lote = 'r2301257100a'
20241216@121118.6504 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121118.6614 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121118.6631 t7is349sp26l4r284rqm2o41gi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760117061676018e69e','aut6760135844676018e3c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121118.6637 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121118.6743 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121118.7052 t7is349sp26l4r284rqm2o41gi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760117061676018e69e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6760135844676018e3c5' ,0,0 ,2,23.00,240000,?,?,?,?,?)
20241216@121118.7401 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121118.7510 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121118.7541 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121118.7643 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121118.7653 t7is349sp26l4r284rqm2o41gi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121118.7667 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121118.7769 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121118.7783 t7is349sp26l4r284rqm2o41gi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760164458676018e6bb','aut6760135844676018e3c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121118.7789 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121118.7807 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121118.7981 t7is349sp26l4r284rqm2o41gi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6760164458676018e6bb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6760135844676018e3c5' ,0,0 ,2,23.00,250000,?,?,?)
20241216@121118.8378 t7is349sp26l4r284rqm2o41gi Query : use flama_phc
20241216@121118.8384 t7is349sp26l4r284rqm2o41gi Query : select st.usalote valor from st where st.ref = '324.1833.00.2'
20241216@121118.8447 t7is349sp26l4r284rqm2o41gi 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.1833.00.2'
20241216@121118.8716 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121118.8735 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121118.8852 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121118.8869 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121118.8878 t7is349sp26l4r284rqm2o41gi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121118.8975 t7is349sp26l4r284rqm2o41gi Query : select sestamp valor from se where ref ='324.1833.00.2' and lote = 'r2301257100a'
20241216@121118.8993 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121118.9013 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121118.9116 t7is349sp26l4r284rqm2o41gi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760142712676018e6db','aut6760135844676018e3c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121118.9121 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121118.9141 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121118.9263 t7is349sp26l4r284rqm2o41gi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760142712676018e6db',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6760135844676018e3c5' ,0,0 ,2,23.00,270000,?,?,?,?,?)
20241216@121118.9883 t7is349sp26l4r284rqm2o41gi Query : use flama_phc
20241216@121118.9972 t7is349sp26l4r284rqm2o41gi Query : select st.usalote valor from st where st.ref = '324.1833.00.2'
20241216@121119.7210 t7is349sp26l4r284rqm2o41gi 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.1833.00.2'
20241216@121119.9400 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121119.9660 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121119.1125 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121119.1232 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121119.1245 t7is349sp26l4r284rqm2o41gi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121119.1343 t7is349sp26l4r284rqm2o41gi Query : select sestamp valor from se where ref ='324.1833.00.2' and lote = 'r2301257100a'
20241216@121119.1368 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121119.1464 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121119.1480 t7is349sp26l4r284rqm2o41gi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760138704676018e721','aut6760135844676018e3c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121119.1486 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121119.1503 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121119.1913 t7is349sp26l4r284rqm2o41gi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760138704676018e721',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6760135844676018e3c5' ,0,0 ,2,23.00,280000,?,?,?,?,?)
20241216@121119.2251 t7is349sp26l4r284rqm2o41gi Query : use flama_phc
20241216@121119.2255 t7is349sp26l4r284rqm2o41gi Query : select st.usalote valor from st where st.ref = '324.1833.00.2'
20241216@121119.2374 t7is349sp26l4r284rqm2o41gi 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.1833.00.2'
20241216@121119.2475 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121119.2513 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121119.2636 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121119.2681 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121119.2691 t7is349sp26l4r284rqm2o41gi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121119.2796 t7is349sp26l4r284rqm2o41gi Query : select sestamp valor from se where ref ='324.1833.00.2' and lote = 'r2301257100a'
20241216@121119.2813 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121119.2923 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121119.2954 t7is349sp26l4r284rqm2o41gi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760100290676018e744','aut6760135844676018e3c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121119.2962 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121119.3065 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121119.3182 t7is349sp26l4r284rqm2o41gi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760100290676018e744',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6760135844676018e3c5' ,0,0 ,2,23.00,290000,?,?,?,?,?)
20241216@121119.3646 t7is349sp26l4r284rqm2o41gi Query : use flama_phc
20241216@121119.3688 t7is349sp26l4r284rqm2o41gi Query : select st.usalote valor from st where st.ref = '324.1833.00.2'
20241216@121119.3760 t7is349sp26l4r284rqm2o41gi 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.1833.00.2'
20241216@121119.3838 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121119.3906 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121119.3935 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121119.4049 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121119.4058 t7is349sp26l4r284rqm2o41gi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121119.4151 t7is349sp26l4r284rqm2o41gi Query : select sestamp valor from se where ref ='324.1833.00.2' and lote = 'r2301257100a'
20241216@121119.4170 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121119.4187 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121119.4283 t7is349sp26l4r284rqm2o41gi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760141577676018e765','aut6760135844676018e3c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121119.4288 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121119.4304 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121119.4422 t7is349sp26l4r284rqm2o41gi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760141577676018e765',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6760135844676018e3c5' ,0,0 ,2,23.00,300000,?,?,?,?,?)
20241216@121119.4770 t7is349sp26l4r284rqm2o41gi Query : use flama_phc
20241216@121119.4773 t7is349sp26l4r284rqm2o41gi Query : select st.usalote valor from st where st.ref = '324.1837.00.1'
20241216@121119.4879 t7is349sp26l4r284rqm2o41gi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1837.00.1'
20241216@121119.5160 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121119.5177 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121119.5288 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121119.5305 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121119.5314 t7is349sp26l4r284rqm2o41gi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121119.5327 t7is349sp26l4r284rqm2o41gi Query : select sestamp valor from se where ref ='324.1837.00.1' and lote = 'r2300658200a'
20241216@121119.5427 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121119.5444 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121119.5457 t7is349sp26l4r284rqm2o41gi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760103824676018e784','aut6760135844676018e3c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121119.5462 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121119.5562 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121119.5592 t7is349sp26l4r284rqm2o41gi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760103824676018e784',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6760135844676018e3c5' ,0,0 ,2,23.00,310000,?,?,?,?,?)
20241216@121119.6074 t7is349sp26l4r284rqm2o41gi Query : use flama_phc
20241216@121119.6202 t7is349sp26l4r284rqm2o41gi Query : select st.usalote valor from st where st.ref = '324.1837.00.1'
20241216@121119.6919 t7is349sp26l4r284rqm2o41gi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1837.00.1'
20241216@121119.6983 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121119.7085 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121119.7112 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121119.7220 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121119.7230 t7is349sp26l4r284rqm2o41gi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121119.7242 t7is349sp26l4r284rqm2o41gi Query : select sestamp valor from se where ref ='324.1837.00.1' and lote = 'r2301207300a'
20241216@121119.7348 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121119.7366 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121119.7379 t7is349sp26l4r284rqm2o41gi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760128799676018e7b3','aut6760135844676018e3c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121119.7384 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121119.7485 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121119.7521 t7is349sp26l4r284rqm2o41gi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760128799676018e7b3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6760135844676018e3c5' ,0,0 ,2,23.00,320000,?,?,?,?,?)
20241216@121119.7888 t7is349sp26l4r284rqm2o41gi Query : use flama_phc
20241216@121119.7929 t7is349sp26l4r284rqm2o41gi Query : select st.usalote valor from st where st.ref = '324.1837.00.1'
20241216@121119.7953 t7is349sp26l4r284rqm2o41gi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1837.00.1'
20241216@121119.7969 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121119.7988 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121119.8106 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121119.8125 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121119.8134 t7is349sp26l4r284rqm2o41gi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121119.8241 t7is349sp26l4r284rqm2o41gi Query : select sestamp valor from se where ref ='324.1837.00.1' and lote = 'r2300658200a'
20241216@121119.8489 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121119.8780 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121119.9677 t7is349sp26l4r284rqm2o41gi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760113633676018e7cf','aut6760135844676018e3c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121119.9773 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121119.9918 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121120.7840 t7is349sp26l4r284rqm2o41gi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760113633676018e7cf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',14.000 ,'aut6760135844676018e3c5' ,0,0 ,2,23.00,330000,?,?,?,?,?)
20241216@121120.1387 t7is349sp26l4r284rqm2o41gi Query : use flama_phc
20241216@121120.1431 t7is349sp26l4r284rqm2o41gi Query : select st.usalote valor from st where st.ref = '324.1837.00.1'
20241216@121120.1456 t7is349sp26l4r284rqm2o41gi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1837.00.1'
20241216@121120.1472 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121120.1568 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121120.1596 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121120.1693 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121120.1707 t7is349sp26l4r284rqm2o41gi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121120.1721 t7is349sp26l4r284rqm2o41gi Query : select sestamp valor from se where ref ='324.1837.00.1' and lote = 'r2300658200a'
20241216@121120.1734 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121120.1830 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121120.1847 t7is349sp26l4r284rqm2o41gi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760148479676018e82a','aut6760135844676018e3c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121120.1853 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121120.1871 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121120.1988 t7is349sp26l4r284rqm2o41gi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760148479676018e82a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',14.000 ,'aut6760135844676018e3c5' ,0,0 ,2,23.00,340000,?,?,?,?,?)
20241216@121120.2319 t7is349sp26l4r284rqm2o41gi Query : use flama_phc
20241216@121120.2361 t7is349sp26l4r284rqm2o41gi Query : select st.usalote valor from st where st.ref = '324.1837.00.1'
20241216@121120.2428 t7is349sp26l4r284rqm2o41gi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1837.00.1'
20241216@121120.2522 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121120.2546 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121120.2661 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121120.2679 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121120.2814 t7is349sp26l4r284rqm2o41gi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121120.3094 t7is349sp26l4r284rqm2o41gi Query : select sestamp valor from se where ref ='324.1837.00.1' and lote = 'r2300658200a'
20241216@121120.3405 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121120.3455 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121120.3469 t7is349sp26l4r284rqm2o41gi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760147551676018e853','aut6760135844676018e3c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121120.3515 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121120.3652 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121120.3999 t7is349sp26l4r284rqm2o41gi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760147551676018e853',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',14.000 ,'aut6760135844676018e3c5' ,0,0 ,2,23.00,350000,?,?,?,?,?)
20241216@121120.4479 t7is349sp26l4r284rqm2o41gi Query : use flama_phc
20241216@121120.4484 t7is349sp26l4r284rqm2o41gi Query : select st.usalote valor from st where st.ref = '324.1837.00.1'
20241216@121120.4604 t7is349sp26l4r284rqm2o41gi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1837.00.1'
20241216@121120.4652 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121120.4839 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121120.4981 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121120.5012 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121120.5114 t7is349sp26l4r284rqm2o41gi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121120.5127 t7is349sp26l4r284rqm2o41gi Query : select sestamp valor from se where ref ='324.1837.00.1' and lote = 'r2300658200a'
20241216@121120.5235 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121120.5260 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121120.5282 t7is349sp26l4r284rqm2o41gi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760142238676018e87f','aut6760135844676018e3c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121120.5330 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121120.5404 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121120.5582 t7is349sp26l4r284rqm2o41gi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760142238676018e87f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',14.000 ,'aut6760135844676018e3c5' ,0,0 ,2,23.00,360000,?,?,?,?,?)
20241216@121120.6115 t7is349sp26l4r284rqm2o41gi Query : use flama_phc
20241216@121120.6120 t7is349sp26l4r284rqm2o41gi Query : select st.usalote valor from st where st.ref = '324.1837.00.1'
20241216@121120.6555 t7is349sp26l4r284rqm2o41gi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1837.00.1'
20241216@121120.6953 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121120.7265 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121120.7511 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121120.7528 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121120.7536 t7is349sp26l4r284rqm2o41gi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121120.7637 t7is349sp26l4r284rqm2o41gi Query : select sestamp valor from se where ref ='324.1837.00.1' and lote = 'r2301207300a'
20241216@121120.7669 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121120.7688 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121120.7786 t7is349sp26l4r284rqm2o41gi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760174674676018e8bb','aut6760135844676018e3c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121120.7798 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121120.7906 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121120.7937 t7is349sp26l4r284rqm2o41gi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760174674676018e8bb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',14.000 ,'aut6760135844676018e3c5' ,0,0 ,2,23.00,370000,?,?,?,?,?)
20241216@121120.8252 t7is349sp26l4r284rqm2o41gi Query : use flama_phc
20241216@121120.8295 t7is349sp26l4r284rqm2o41gi Query : select st.usalote valor from st where st.ref = '324.1837.00.1'
20241216@121120.8365 t7is349sp26l4r284rqm2o41gi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1837.00.1'
20241216@121120.8380 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121120.8481 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121120.8510 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121120.8565 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121120.8617 t7is349sp26l4r284rqm2o41gi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121120.8630 t7is349sp26l4r284rqm2o41gi Query : select sestamp valor from se where ref ='324.1837.00.1' and lote = 'r2301207300a'
20241216@121120.8643 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121120.8741 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121120.8753 t7is349sp26l4r284rqm2o41gi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760136267676018e8d3','aut6760135844676018e3c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121120.8769 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121120.8874 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121120.9470 t7is349sp26l4r284rqm2o41gi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760136267676018e8d3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',14.000 ,'aut6760135844676018e3c5' ,0,0 ,2,23.00,380000,?,?,?,?,?)
20241216@121121.1040 t7is349sp26l4r284rqm2o41gi Query : use flama_phc
20241216@121121.1170 t7is349sp26l4r284rqm2o41gi Query : select st.usalote valor from st where st.ref = '324.1837.00.1'
20241216@121121.1420 t7is349sp26l4r284rqm2o41gi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1837.00.1'
20241216@121121.2610 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121121.2790 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121121.4010 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121121.4180 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121121.4270 t7is349sp26l4r284rqm2o41gi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121121.4790 t7is349sp26l4r284rqm2o41gi Query : select sestamp valor from se where ref ='324.1837.00.1' and lote = 'r2301207300a'
20241216@121121.9460 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121121.1558 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121121.2284 t7is349sp26l4r284rqm2o41gi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760169237676018e917','aut6760135844676018e3c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121121.2328 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121121.2362 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121121.2495 t7is349sp26l4r284rqm2o41gi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760169237676018e917',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',14.000 ,'aut6760135844676018e3c5' ,0,0 ,2,23.00,390000,?,?,?,?,?)
20241216@121121.3109 t7is349sp26l4r284rqm2o41gi Query : use flama_phc
20241216@121121.3193 t7is349sp26l4r284rqm2o41gi Query : select st.usalote valor from st where st.ref = '324.1884.00.1'
20241216@121121.4577 t7is349sp26l4r284rqm2o41gi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1884.00.1'
20241216@121121.4841 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121121.4940 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121121.4969 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121121.5070 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121121.5082 t7is349sp26l4r284rqm2o41gi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121121.5097 t7is349sp26l4r284rqm2o41gi Query : select sestamp valor from se where ref ='324.1884.00.1' and lote = 'r2301208100a'
20241216@121121.5208 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121121.5229 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121121.5329 t7is349sp26l4r284rqm2o41gi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760148331676018e97f','aut6760135844676018e3c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121121.5334 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121121.5350 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121121.5882 t7is349sp26l4r284rqm2o41gi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760148331676018e97f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6760135844676018e3c5' ,0,0 ,2,23.00,400000,?,?,?,?,?)
20241216@121121.6545 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121121.6869 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121121.7583 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121121.7829 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121121.7878 t7is349sp26l4r284rqm2o41gi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121121.7962 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121121.7981 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121121.8037 t7is349sp26l4r284rqm2o41gi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760105655676018e9c2','aut6760135844676018e3c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121121.8086 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121121.8115 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121121.8617 t7is349sp26l4r284rqm2o41gi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6760105655676018e9c2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6760135844676018e3c5' ,0,0 ,2,23.00,410000,?,?,?)
20241216@121121.9255 t7is349sp26l4r284rqm2o41gi Query : use flama_phc
20241216@121121.9263 t7is349sp26l4r284rqm2o41gi Query : select st.usalote valor from st where st.ref = '324.1884.00.1'
20241216@121121.9512 t7is349sp26l4r284rqm2o41gi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1884.00.1'
20241216@121121.9530 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121121.9646 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121121.9675 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121121.9778 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121121.9789 t7is349sp26l4r284rqm2o41gi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121121.9817 t7is349sp26l4r284rqm2o41gi Query : select sestamp valor from se where ref ='324.1884.00.1' and lote = 'r2301208100a'
20241216@121121.9832 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121121.9934 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121121.9948 t7is349sp26l4r284rqm2o41gi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760134659676018e9f0','aut6760135844676018e3c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121121.9953 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121121.9969 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121122.8600 t7is349sp26l4r284rqm2o41gi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760134659676018e9f0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6760135844676018e3c5' ,0,0 ,2,23.00,430000,?,?,?,?,?)
20241216@121122.5120 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121122.5360 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121122.6540 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121122.6840 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121122.6940 t7is349sp26l4r284rqm2o41gi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121122.7980 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121122.8150 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121122.8290 t7is349sp26l4r284rqm2o41gi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760102368676018ea13','aut6760135844676018e3c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121122.8350 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121122.9430 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121122.9740 t7is349sp26l4r284rqm2o41gi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6760102368676018ea13',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6760135844676018e3c5' ,0,0 ,2,23.00,440000,?,?,?)
20241216@121122.1370 t7is349sp26l4r284rqm2o41gi Query : use flama_phc
20241216@121122.1375 t7is349sp26l4r284rqm2o41gi Query : select st.usalote valor from st where st.ref = '324.1884.00.1'
20241216@121122.1395 t7is349sp26l4r284rqm2o41gi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1884.00.1'
20241216@121122.1410 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121122.1535 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121122.1562 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121122.1617 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121122.1679 t7is349sp26l4r284rqm2o41gi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121122.1694 t7is349sp26l4r284rqm2o41gi Query : select sestamp valor from se where ref ='324.1884.00.1' and lote = 'r230128100a'
20241216@121122.1745 t7is349sp26l4r284rqm2o41gi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121122.1804 t7is349sp26l4r284rqm2o41gi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121122.1816 t7is349sp26l4r284rqm2o41gi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760137961676018ea2a','aut6760135844676018e3c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121122.1936 t7is349sp26l4r284rqm2o41gi Query : use flama_phc
20241216@121122.1941 t7is349sp26l4r284rqm2o41gi Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20241216@121122.2009 t7is349sp26l4r284rqm2o41gi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3985';
20241216@121122.2090 t7is349sp26l4r284rqm2o41gi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3985';
20241216@121122.2792 rd6usk0b852fmmvr04sjd92n46 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241216@121122.2804 rd6usk0b852fmmvr04sjd92n46 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241216@121122.2873 rd6usk0b852fmmvr04sjd92n46 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3986';
20241216@121122.2939 rd6usk0b852fmmvr04sjd92n46 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3986';
20241216@121122.3004 rd6usk0b852fmmvr04sjd92n46 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3986';
20241216@121122.3052 rd6usk0b852fmmvr04sjd92n46 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3986';
20241216@121122.3118 rd6usk0b852fmmvr04sjd92n46 Query : use flama_phc
20241216@121122.3121 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241216@121122.3183 rd6usk0b852fmmvr04sjd92n46 Query : use flama_phc
20241216@121122.3186 rd6usk0b852fmmvr04sjd92n46 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2459
20241216@121122.3234 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1803.00.1'
20241216@121122.3453 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408552 and bi.ref ='324.1803.00.1' and bi.lordem =1
20241216@121122.3979 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1803.00.1'
20241216@121122.4252 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408552 and bi.ref ='324.1803.00.1' and bi.lordem =1
20241216@121122.4271 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1803.00.1'
20241216@121122.4291 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408552 and bi.ref ='324.1803.00.1' and bi.lordem =1
20241216@121122.4310 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1803.00.1'
20241216@121122.4329 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408552 and bi.ref ='324.1803.00.1' and bi.lordem =1
20241216@121122.4346 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1803.00.1'
20241216@121122.4364 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408552 and bi.ref ='324.1803.00.1' and bi.lordem =1
20241216@121122.4380 rd6usk0b852fmmvr04sjd92n46 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'
20241216@121122.4511 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408552 and bi.ref ='324.1816.00.1' and bi.lordem =2
20241216@121122.4844 rd6usk0b852fmmvr04sjd92n46 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'
20241216@121122.4865 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408552 and bi.ref ='324.1816.00.1' and bi.lordem =2
20241216@121122.4881 rd6usk0b852fmmvr04sjd92n46 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'
20241216@121122.4899 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408552 and bi.ref ='324.1816.00.1' and bi.lordem =2
20241216@121122.4915 rd6usk0b852fmmvr04sjd92n46 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'
20241216@121122.5299 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408552 and bi.ref ='324.1824.00.1' and bi.lordem =3
20241216@121122.5778 rd6usk0b852fmmvr04sjd92n46 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'
20241216@121122.5799 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408552 and bi.ref ='324.1824.00.1' and bi.lordem =3
20241216@121122.5932 rd6usk0b852fmmvr04sjd92n46 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'
20241216@121122.5953 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408552 and bi.ref ='324.1824.00.1' and bi.lordem =3
20241216@121122.6041 rd6usk0b852fmmvr04sjd92n46 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'
20241216@121122.6101 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408552 and bi.ref ='324.1824.00.1' and bi.lordem =3
20241216@121122.6118 rd6usk0b852fmmvr04sjd92n46 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'
20241216@121122.6144 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408552 and bi.ref ='324.1824.00.1' and bi.lordem =3
20241216@121122.6162 rd6usk0b852fmmvr04sjd92n46 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'
20241216@121122.6215 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408552 and bi.ref ='324.1824.00.1' and bi.lordem =3
20241216@121122.6274 rd6usk0b852fmmvr04sjd92n46 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'
20241216@121122.6294 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408552 and bi.ref ='324.1824.00.1' and bi.lordem =3
20241216@121122.6382 rd6usk0b852fmmvr04sjd92n46 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'
20241216@121122.6409 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408552 and bi.ref ='324.1824.00.1' and bi.lordem =3
20241216@121122.6446 rd6usk0b852fmmvr04sjd92n46 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'
20241216@121122.6474 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408552 and bi.ref ='324.1824.00.1' and bi.lordem =3
20241216@121122.6491 rd6usk0b852fmmvr04sjd92n46 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'
20241216@121122.6512 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408552 and bi.ref ='324.1824.00.1' and bi.lordem =3
20241216@121122.6528 rd6usk0b852fmmvr04sjd92n46 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'
20241216@121122.6595 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408552 and bi.ref ='324.1824.00.1' and bi.lordem =3
20241216@121122.6633 rd6usk0b852fmmvr04sjd92n46 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'
20241216@121122.6653 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408552 and bi.ref ='324.1824.00.1' and bi.lordem =3
20241216@121122.6670 rd6usk0b852fmmvr04sjd92n46 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'
20241216@121122.6689 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408552 and bi.ref ='324.1824.00.1' and bi.lordem =3
20241216@121122.6709 rd6usk0b852fmmvr04sjd92n46 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'
20241216@121122.6729 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408552 and bi.ref ='324.1824.00.1' and bi.lordem =3
20241216@121122.6745 rd6usk0b852fmmvr04sjd92n46 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'
20241216@121122.6765 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408552 and bi.ref ='324.1824.00.1' and bi.lordem =3
20241216@121122.6783 rd6usk0b852fmmvr04sjd92n46 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'
20241216@121122.6803 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408552 and bi.ref ='324.1824.00.1' and bi.lordem =3
20241216@121122.6820 rd6usk0b852fmmvr04sjd92n46 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'
20241216@121122.6838 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408552 and bi.ref ='324.1824.00.1' and bi.lordem =3
20241216@121122.6854 rd6usk0b852fmmvr04sjd92n46 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'
20241216@121122.6873 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408552 and bi.ref ='324.1824.00.1' and bi.lordem =3
20241216@121122.6889 rd6usk0b852fmmvr04sjd92n46 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'
20241216@121122.6908 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408552 and bi.ref ='324.1824.00.1' and bi.lordem =3
20241216@121122.6925 rd6usk0b852fmmvr04sjd92n46 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'
20241216@121122.6945 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408552 and bi.ref ='324.1824.00.1' and bi.lordem =3
20241216@121122.6961 rd6usk0b852fmmvr04sjd92n46 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'
20241216@121122.7103 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408552 and bi.ref ='324.1831.00.2' and bi.lordem =4
20241216@121122.7421 rd6usk0b852fmmvr04sjd92n46 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'
20241216@121122.7442 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408552 and bi.ref ='324.1831.00.2' and bi.lordem =4
20241216@121122.7459 rd6usk0b852fmmvr04sjd92n46 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'
20241216@121122.7478 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408552 and bi.ref ='324.1831.00.2' and bi.lordem =4
20241216@121122.7496 rd6usk0b852fmmvr04sjd92n46 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'
20241216@121122.7518 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408552 and bi.ref ='324.1831.00.2' and bi.lordem =4
20241216@121122.7534 rd6usk0b852fmmvr04sjd92n46 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'
20241216@121122.7554 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2085 and bo.obrano = 2408552 and bi.ref ='324.1831.00.2' and bi.lordem =4
20241216@121122.7571 rd6usk0b852fmmvr04sjd92n46 Query : use flama_phc
20241216@121122.7575 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241216@121122.7607 rd6usk0b852fmmvr04sjd92n46 Query : use flama_phc
20241216@121122.7610 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 1 valor from td where td.ndoc = 39
20241216@121122.7640 rd6usk0b852fmmvr04sjd92n46 Query : use flama_phc
20241216@121122.7643 rd6usk0b852fmmvr04sjd92n46 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')
20241216@121122.7670 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20241216@121122.7704 rd6usk0b852fmmvr04sjd92n46 Query : use flama_phc
20241216@121122.7707 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 ~inactivo valor from cl where no = '200500' and estab = 0 order by inactivo desc
20241216@121122.7736 rd6usk0b852fmmvr04sjd92n46 Query : use flama_phc
20241216@121122.7739 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241216@121122.7767 rd6usk0b852fmmvr04sjd92n46 Query : use flama_phc
20241216@121122.7770 rd6usk0b852fmmvr04sjd92n46 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241216@121122.7808 rd6usk0b852fmmvr04sjd92n46 Query : use flama_phc
20241216@121122.7811 rd6usk0b852fmmvr04sjd92n46 Query : select szadrsstamp valor from szadrs where szadrsdesc='eldisser, s.a.'
20241216@121122.7857 rd6usk0b852fmmvr04sjd92n46 Query : use flama_phc
20241216@121122.7860 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from td where ndoc = 39
20241216@121122.7873 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241216@121122.7887 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121122.7903 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241216@121122.7922 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121122.7937 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241216@121122.7968 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121122.8048 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241216@121122.8063 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241216@121122.8118 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241216@121122.8133 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121122.8149 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241216@121122.8166 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241216@121122.8447 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121122.8676 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241216@121122.8714 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241216@121122.8729 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241216@121122.8740 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241216@121122.8751 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241216@121122.8765 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241216@121122.8778 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241216@121122.8791 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6760179820676018eac4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241216@121122.9165 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 fno valor from wsftdata order by fno desc
20241216@121122.9196 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121122.9215 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241216@121122.9240 rd6usk0b852fmmvr04sjd92n46 Query : select 'normal' from dummy
20241216@121122.9256 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6760179820676018eac4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2457,200500,0,'2024-12-16',39,'euro',0,0,2024 ,?,?)
20241216@121122.9789 rd6usk0b852fmmvr04sjd92n46 Query : use flama_phc
20241216@121122.9794 rd6usk0b852fmmvr04sjd92n46 Query : select st.usalote valor from st where st.ref = '324.1803.00.1'
20241216@121122.9820 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1803.00.1'
20241216@121122.9992 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.1300 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121123.4620 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.4820 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121123.4920 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121123.5060 rd6usk0b852fmmvr04sjd92n46 Query : select sestamp valor from se where ref ='324.1803.00.1' and lote = 'r2400480200a'
20241216@121123.6040 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.6230 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121123.6370 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760147758676018eb0e','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121123.6420 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.6610 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121123.6940 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760147758676018eb0e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241216@121123.1000 rd6usk0b852fmmvr04sjd92n46 Query : use flama_phc
20241216@121123.1003 rd6usk0b852fmmvr04sjd92n46 Query : select st.usalote valor from st where st.ref = '324.1803.00.1'
20241216@121123.1035 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1803.00.1'
20241216@121123.1056 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.1116 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121123.1145 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.1168 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121123.1179 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121123.1193 rd6usk0b852fmmvr04sjd92n46 Query : select sestamp valor from se where ref ='324.1803.00.1' and lote = 'r2400480200a'
20241216@121123.1210 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.1231 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121123.1246 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760183674676018eb1d','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121123.1251 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.1272 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121123.1303 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760183674676018eb1d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241216@121123.1682 rd6usk0b852fmmvr04sjd92n46 Query : use flama_phc
20241216@121123.1726 rd6usk0b852fmmvr04sjd92n46 Query : select st.usalote valor from st where st.ref = '324.1803.00.1'
20241216@121123.1791 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1803.00.1'
20241216@121123.1806 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.1829 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121123.1973 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.2113 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121123.2126 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121123.2148 rd6usk0b852fmmvr04sjd92n46 Query : select sestamp valor from se where ref ='324.1803.00.1' and lote = 'r2400480200a'
20241216@121123.2164 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.2187 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121123.2200 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760125841676018eb34','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121123.2211 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.2388 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121123.2454 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760125841676018eb34',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241216@121123.2758 rd6usk0b852fmmvr04sjd92n46 Query : use flama_phc
20241216@121123.2762 rd6usk0b852fmmvr04sjd92n46 Query : select st.usalote valor from st where st.ref = '324.1803.00.1'
20241216@121123.2919 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1803.00.1'
20241216@121123.2966 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.3014 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121123.3061 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.3083 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121123.3096 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121123.3111 rd6usk0b852fmmvr04sjd92n46 Query : select sestamp valor from se where ref ='324.1803.00.1' and lote = 'r2400480200a'
20241216@121123.3133 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.3154 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121123.3178 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760135244676018eb4c','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121123.3185 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.3210 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121123.3564 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760135244676018eb4c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241216@121123.3937 rd6usk0b852fmmvr04sjd92n46 Query : use flama_phc
20241216@121123.3943 rd6usk0b852fmmvr04sjd92n46 Query : select st.usalote valor from st where st.ref = '324.1803.00.1'
20241216@121123.3973 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1803.00.1'
20241216@121123.3990 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.4098 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121123.4227 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.4248 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121123.4260 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121123.4285 rd6usk0b852fmmvr04sjd92n46 Query : select sestamp valor from se where ref ='324.1803.00.1' and lote = 'r2400480200a'
20241216@121123.4301 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.4327 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121123.4349 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760186815676018eb69','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121123.4359 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.4381 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121123.4417 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760186815676018eb69',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20241216@121123.4651 rd6usk0b852fmmvr04sjd92n46 Query : use flama_phc
20241216@121123.4658 rd6usk0b852fmmvr04sjd92n46 Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20241216@121123.4694 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1816.00.1'
20241216@121123.4824 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.4846 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121123.4886 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.4904 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121123.4917 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121123.4936 rd6usk0b852fmmvr04sjd92n46 Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2400200200a'
20241216@121123.4960 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.4977 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121123.4996 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760100776676018eb79','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121123.5000 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.5021 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121123.5057 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760100776676018eb79',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10.000 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20241216@121123.5343 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.5360 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121123.5398 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.5419 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121123.5442 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121123.5476 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.5490 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121123.5583 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760196673676018eb85','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121123.5588 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.5616 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121123.5668 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6760196673676018eb85',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,70000,?,?,?)
20241216@121123.5890 rd6usk0b852fmmvr04sjd92n46 Query : use flama_phc
20241216@121123.5894 rd6usk0b852fmmvr04sjd92n46 Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20241216@121123.5918 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1816.00.1'
20241216@121123.5933 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.5965 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121123.5998 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.6031 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121123.6062 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121123.6082 rd6usk0b852fmmvr04sjd92n46 Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2400200200a'
20241216@121123.6107 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.6126 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121123.6140 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760175789676018eb95','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121123.6148 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.6169 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121123.6216 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760175789676018eb95',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,90000,?,?,?,?,?)
20241216@121123.6453 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.6481 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121123.6510 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.6531 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121123.6545 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121123.6558 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.6579 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121123.6610 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760184697676018eba0','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121123.6615 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.6640 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121123.6676 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6760184697676018eba0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,100000,?,?,?)
20241216@121123.6900 rd6usk0b852fmmvr04sjd92n46 Query : use flama_phc
20241216@121123.6903 rd6usk0b852fmmvr04sjd92n46 Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20241216@121123.6930 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1816.00.1'
20241216@121123.6950 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.6999 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121123.7029 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.7055 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121123.7072 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121123.7099 rd6usk0b852fmmvr04sjd92n46 Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2400200200a'
20241216@121123.7128 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.7147 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121123.7160 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760128042676018ebae','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121123.7165 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.7187 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121123.7230 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760128042676018ebae',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,120000,?,?,?,?,?)
20241216@121123.7497 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.7530 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121123.7566 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.7592 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121123.7604 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121123.7623 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.7651 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121123.7665 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760176597676018ebba','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121123.7670 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.7689 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121123.7725 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6760176597676018ebba',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,130000,?,?,?)
20241216@121123.7957 rd6usk0b852fmmvr04sjd92n46 Query : use flama_phc
20241216@121123.7961 rd6usk0b852fmmvr04sjd92n46 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241216@121123.7984 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20241216@121123.8313 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.8332 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121123.8578 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.8600 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121123.8608 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121123.8631 rd6usk0b852fmmvr04sjd92n46 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400216200a'
20241216@121123.8647 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.8666 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121123.8970 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760116147676018ebd3','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121123.9035 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.9135 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121123.9183 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760116147676018ebd3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,150000,?,?,?,?,?)
20241216@121123.9544 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.9669 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121123.9710 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.9769 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121123.9780 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121123.9794 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.9813 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121123.9826 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760115889676018ebef','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121123.9831 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121123.9857 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121123.9967 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6760115889676018ebef',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,160000,?,?,?)
20241216@121124.1418 rd6usk0b852fmmvr04sjd92n46 Query : use flama_phc
20241216@121124.1422 rd6usk0b852fmmvr04sjd92n46 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241216@121124.1449 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20241216@121124.1466 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121124.1485 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121124.1519 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121124.1534 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121124.1547 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121124.1561 rd6usk0b852fmmvr04sjd92n46 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400216200a'
20241216@121124.1575 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121124.1593 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121124.1605 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760189178676018ec26','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121124.1611 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121124.1636 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121124.1683 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760189178676018ec26',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,180000,?,?,?,?,?)
20241216@121124.1938 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121124.1972 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121124.2011 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121124.2032 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121124.2041 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121124.2058 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121124.2077 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121124.2101 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760110271676018ec32','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121124.2107 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121124.2142 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121124.2199 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6760110271676018ec32',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,190000,?,?,?)
20241216@121124.2445 rd6usk0b852fmmvr04sjd92n46 Query : use flama_phc
20241216@121124.2449 rd6usk0b852fmmvr04sjd92n46 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241216@121124.2481 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20241216@121124.2517 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121124.2599 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121124.2644 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121124.2692 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121124.2705 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121124.2720 rd6usk0b852fmmvr04sjd92n46 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400216200a'
20241216@121124.2887 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121124.2927 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121124.2946 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760177878676018ec46','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121124.2953 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121124.2971 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121124.3010 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760177878676018ec46',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,210000,?,?,?,?,?)
20241216@121124.3358 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121124.3394 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121124.3452 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121124.3473 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121124.3484 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121124.3501 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121124.3523 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121124.3539 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760174903676018ec55','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121124.3544 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121124.3563 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121124.3641 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6760174903676018ec55',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,220000,?,?,?)
20241216@121124.3894 rd6usk0b852fmmvr04sjd92n46 Query : use flama_phc
20241216@121124.3901 rd6usk0b852fmmvr04sjd92n46 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241216@121124.3935 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20241216@121124.3951 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121124.3978 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121124.4013 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121124.4031 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121124.4042 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121124.4059 rd6usk0b852fmmvr04sjd92n46 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400217200a'
20241216@121124.4083 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121124.4103 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121124.4122 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760182691676018ec63','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121124.4130 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121124.4149 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121124.4200 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760182691676018ec63',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,240000,?,?,?,?,?)
20241216@121124.4464 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121124.4489 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121124.4519 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121124.4541 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121124.4551 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121124.4565 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121124.4581 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121124.4596 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760129680676018ec6f','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121124.4601 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121124.4620 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121124.4673 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6760129680676018ec6f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,250000,?,?,?)
20241216@121124.4915 rd6usk0b852fmmvr04sjd92n46 Query : use flama_phc
20241216@121124.4919 rd6usk0b852fmmvr04sjd92n46 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241216@121124.4953 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20241216@121124.4970 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121124.4989 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121124.5026 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121124.5043 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121124.5054 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121124.5075 rd6usk0b852fmmvr04sjd92n46 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400217200a'
20241216@121124.5093 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121124.5115 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121124.5137 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760127395676018ec7c','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121124.5142 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121124.5170 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121124.5212 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760127395676018ec7c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,270000,?,?,?,?,?)
20241216@121124.5530 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121124.5648 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121124.5784 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121124.5901 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121124.5917 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121124.5975 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121124.5996 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121124.6059 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760194209676018ec91','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121124.6064 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121124.6085 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121124.6251 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6760194209676018ec91',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,280000,?,?,?)
20241216@121124.6527 rd6usk0b852fmmvr04sjd92n46 Query : use flama_phc
20241216@121124.6531 rd6usk0b852fmmvr04sjd92n46 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241216@121124.6617 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20241216@121124.6718 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121124.6858 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121124.6888 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121124.6917 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121124.6928 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121124.6961 rd6usk0b852fmmvr04sjd92n46 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400217200a'
20241216@121124.6976 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121124.7070 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121124.7257 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760139432676018ecaa','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121124.7262 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121124.7287 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121124.7520 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760139432676018ecaa',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,300000,?,?,?,?,?)
20241216@121124.7882 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121124.7926 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121124.7980 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121124.8068 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121124.8085 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121124.8180 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121124.8202 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121124.8233 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760129529676018ecc7','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121124.8238 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121124.8276 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121124.8404 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6760129529676018ecc7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,310000,?,?,?)
20241216@121124.8748 rd6usk0b852fmmvr04sjd92n46 Query : use flama_phc
20241216@121124.8752 rd6usk0b852fmmvr04sjd92n46 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241216@121124.8867 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20241216@121124.8894 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121124.8932 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121124.9039 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121124.9095 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121124.9275 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121124.9295 rd6usk0b852fmmvr04sjd92n46 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400217200a'
20241216@121124.9309 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121124.9326 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121124.9363 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760185063676018ece3','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121124.9368 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121124.9386 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121124.9445 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760185063676018ece3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,330000,?,?,?,?,?)
20241216@121124.9685 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121124.9707 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121124.9747 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121124.9771 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121124.9787 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121124.9894 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121124.9924 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121124.9953 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760167264676018ecf1','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121124.9958 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121124.9986 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121125.3600 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6760167264676018ecf1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,340000,?,?,?)
20241216@121125.2810 rd6usk0b852fmmvr04sjd92n46 Query : use flama_phc
20241216@121125.2850 rd6usk0b852fmmvr04sjd92n46 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241216@121125.3050 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20241216@121125.3240 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.3510 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121125.3900 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.4230 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121125.4430 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121125.4660 rd6usk0b852fmmvr04sjd92n46 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400217200a'
20241216@121125.4820 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.5010 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121125.5250 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760146875676018ed0b','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121125.5360 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.5590 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121125.5950 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760146875676018ed0b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,360000,?,?,?,?,?)
20241216@121125.8730 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.8970 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121125.9270 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.9430 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121125.9520 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121125.9660 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.9840 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121125.1000 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760135844676018ed17','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121125.1006 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.1023 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121125.1060 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6760135844676018ed17',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,370000,?,?,?)
20241216@121125.1295 rd6usk0b852fmmvr04sjd92n46 Query : use flama_phc
20241216@121125.1305 rd6usk0b852fmmvr04sjd92n46 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241216@121125.1343 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20241216@121125.1360 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.1384 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121125.1421 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.1438 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121125.1448 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121125.1476 rd6usk0b852fmmvr04sjd92n46 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400217200a'
20241216@121125.1493 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.1512 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121125.1531 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760115300676018ed24','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121125.1536 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.1562 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121125.1614 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760115300676018ed24',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,390000,?,?,?,?,?)
20241216@121125.1865 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.1884 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121125.1921 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.1943 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121125.1957 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121125.1972 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.1987 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121125.2000 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760131549676018ed30','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121125.2005 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.2025 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121125.2069 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6760131549676018ed30',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,400000,?,?,?)
20241216@121125.2309 rd6usk0b852fmmvr04sjd92n46 Query : use flama_phc
20241216@121125.2312 rd6usk0b852fmmvr04sjd92n46 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241216@121125.2340 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20241216@121125.2355 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.2377 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121125.2428 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.2449 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121125.2460 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121125.2476 rd6usk0b852fmmvr04sjd92n46 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400217200a'
20241216@121125.2491 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.2513 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121125.2525 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760111713676018ed3c','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121125.2534 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.2563 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121125.2610 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760111713676018ed3c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,420000,?,?,?,?,?)
20241216@121125.2872 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.2897 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121125.2960 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.2985 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121125.3005 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121125.3040 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.3057 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121125.3138 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760152592676018ed4a','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121125.3184 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.3269 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121125.3391 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6760152592676018ed4a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,430000,?,?,?)
20241216@121125.3639 rd6usk0b852fmmvr04sjd92n46 Query : use flama_phc
20241216@121125.3643 rd6usk0b852fmmvr04sjd92n46 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241216@121125.3746 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20241216@121125.3833 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.3873 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121125.3905 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.3947 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121125.3958 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121125.3982 rd6usk0b852fmmvr04sjd92n46 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400217200a'
20241216@121125.3996 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.4012 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121125.4023 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760132552676018ed61','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121125.4028 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.4205 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121125.4589 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760132552676018ed61',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,450000,?,?,?,?,?)
20241216@121125.4941 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.4961 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121125.5067 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.5091 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121125.5109 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121125.5143 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.5167 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121125.5182 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760187277676018ed7d','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121125.5188 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.5209 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121125.5277 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6760187277676018ed7d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,460000,?,?,?)
20241216@121125.5526 rd6usk0b852fmmvr04sjd92n46 Query : use flama_phc
20241216@121125.5542 rd6usk0b852fmmvr04sjd92n46 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241216@121125.5580 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20241216@121125.5598 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.5619 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121125.5648 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.5672 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121125.5693 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121125.5705 rd6usk0b852fmmvr04sjd92n46 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400217200a'
20241216@121125.5718 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.5827 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121125.5864 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760115975676018ed8b','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121125.5869 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.5924 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121125.5964 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760115975676018ed8b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,480000,?,?,?,?,?)
20241216@121125.6521 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.6551 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121125.6879 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.6903 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121125.6967 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121125.7112 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.7468 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121125.7490 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760147743676018edad','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121125.7499 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.7523 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121125.7570 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6760147743676018edad',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,490000,?,?,?)
20241216@121125.7787 rd6usk0b852fmmvr04sjd92n46 Query : use flama_phc
20241216@121125.7791 rd6usk0b852fmmvr04sjd92n46 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241216@121125.7822 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20241216@121125.7838 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.7859 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121125.7893 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.7913 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121125.7924 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121125.7938 rd6usk0b852fmmvr04sjd92n46 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400217200a'
20241216@121125.7953 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.7973 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121125.7987 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760112039676018edc2','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121125.7993 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.8017 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121125.8065 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760112039676018edc2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,510000,?,?,?,?,?)
20241216@121125.8304 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.8324 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121125.8377 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.8396 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121125.8413 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121125.8427 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.8444 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121125.8457 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760138560676018edcd','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121125.8462 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.8485 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121125.8522 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6760138560676018edcd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,520000,?,?,?)
20241216@121125.8773 rd6usk0b852fmmvr04sjd92n46 Query : use flama_phc
20241216@121125.8776 rd6usk0b852fmmvr04sjd92n46 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241216@121125.8797 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20241216@121125.8815 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.8853 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121125.8905 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.8925 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121125.8936 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121125.8951 rd6usk0b852fmmvr04sjd92n46 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400217200a'
20241216@121125.8970 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.8987 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121125.9005 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760129907676018eddb','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121125.9010 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.9034 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121125.9068 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760129907676018eddb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,540000,?,?,?,?,?)
20241216@121125.9481 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.9680 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121125.9789 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121125.9965 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121125.9975 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121126.0000 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.5600 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121126.7300 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760116317676018ee00','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121126.7900 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.9900 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121126.1370 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6760116317676018ee00',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,550000,?,?,?)
20241216@121126.6590 rd6usk0b852fmmvr04sjd92n46 Query : use flama_phc
20241216@121126.7020 rd6usk0b852fmmvr04sjd92n46 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241216@121126.1370 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20241216@121126.1446 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.1590 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121126.1631 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.1648 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121126.1657 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121126.1682 rd6usk0b852fmmvr04sjd92n46 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400217200a'
20241216@121126.1695 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.1721 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121126.1737 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760194558676018ee29','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121126.1741 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.1771 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121126.1810 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760194558676018ee29',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,570000,?,?,?,?,?)
20241216@121126.2066 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.2086 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121126.2121 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.2138 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121126.2151 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121126.2164 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.2179 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121126.2192 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760176707676018ee34','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121126.2197 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.2216 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121126.2250 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6760176707676018ee34',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,580000,?,?,?)
20241216@121126.2497 rd6usk0b852fmmvr04sjd92n46 Query : use flama_phc
20241216@121126.2500 rd6usk0b852fmmvr04sjd92n46 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241216@121126.2533 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20241216@121126.2551 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.2575 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121126.2603 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.2630 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121126.2652 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121126.2680 rd6usk0b852fmmvr04sjd92n46 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400217200a'
20241216@121126.2696 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.2718 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121126.2731 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760156977676018ee41','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121126.2737 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.2760 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121126.2810 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760156977676018ee41',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,600000,?,?,?,?,?)
20241216@121126.3057 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.3080 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121126.3117 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.3139 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121126.3156 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121126.3173 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.3250 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121126.3266 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760108502676018ee4d','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121126.3271 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.3293 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121126.3358 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6760108502676018ee4d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,610000,?,?,?)
20241216@121126.3603 rd6usk0b852fmmvr04sjd92n46 Query : use flama_phc
20241216@121126.3648 rd6usk0b852fmmvr04sjd92n46 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241216@121126.3672 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20241216@121126.3699 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.3781 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121126.3818 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.3835 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121126.3845 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121126.3858 rd6usk0b852fmmvr04sjd92n46 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400217200a'
20241216@121126.3873 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.3891 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121126.3907 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760133321676018ee5e','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121126.3912 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.3928 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121126.3968 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760133321676018ee5e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,630000,?,?,?,?,?)
20241216@121126.4201 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.4222 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121126.4251 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.4271 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121126.4279 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121126.4293 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.4308 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121126.4320 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760110063676018ee68','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121126.4325 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.4342 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121126.4383 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6760110063676018ee68',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,640000,?,?,?)
20241216@121126.4682 rd6usk0b852fmmvr04sjd92n46 Query : use flama_phc
20241216@121126.4686 rd6usk0b852fmmvr04sjd92n46 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241216@121126.4710 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20241216@121126.4726 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.4747 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121126.4787 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.4816 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121126.4825 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121126.4840 rd6usk0b852fmmvr04sjd92n46 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400217200a'
20241216@121126.4858 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.4899 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121126.5586 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760175495676018ee76','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121126.5593 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.6071 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121126.6295 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760175495676018ee76',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,660000,?,?,?,?,?)
20241216@121126.6715 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.6738 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121126.6786 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.6804 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121126.6816 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121126.6832 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.6848 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121126.6866 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760110008676018eea6','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121126.6871 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.6889 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121126.6949 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6760110008676018eea6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,670000,?,?,?)
20241216@121126.7217 rd6usk0b852fmmvr04sjd92n46 Query : use flama_phc
20241216@121126.7221 rd6usk0b852fmmvr04sjd92n46 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241216@121126.7254 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20241216@121126.7272 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.7293 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121126.7333 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.7359 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121126.7370 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121126.7386 rd6usk0b852fmmvr04sjd92n46 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400217200a'
20241216@121126.7404 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.7424 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121126.7437 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760125110676018eeb4','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121126.7443 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.7470 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121126.7511 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760125110676018eeb4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,690000,?,?,?,?,?)
20241216@121126.7829 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.7847 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121126.7881 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.7899 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121126.7924 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121126.7947 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.7971 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121126.7988 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760133087676018eec2','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121126.7993 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.8015 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121126.8054 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6760133087676018eec2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,700000,?,?,?)
20241216@121126.8307 rd6usk0b852fmmvr04sjd92n46 Query : use flama_phc
20241216@121126.8312 rd6usk0b852fmmvr04sjd92n46 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241216@121126.8338 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20241216@121126.8354 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.8373 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121126.8413 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.8442 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121126.8462 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121126.8488 rd6usk0b852fmmvr04sjd92n46 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400217200a'
20241216@121126.8509 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.8527 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121126.8550 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760139990676018eecf','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121126.8556 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.8575 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121126.8621 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760139990676018eecf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,720000,?,?,?,?,?)
20241216@121126.8896 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.8924 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121126.8976 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.8992 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121126.9010 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121126.9037 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.9123 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121126.9136 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760161278676018eedc','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121126.9143 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.9161 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121126.9228 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6760161278676018eedc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,730000,?,?,?)
20241216@121126.9477 rd6usk0b852fmmvr04sjd92n46 Query : use flama_phc
20241216@121126.9481 rd6usk0b852fmmvr04sjd92n46 Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20241216@121126.9512 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1831.00.2'
20241216@121126.9702 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121126.9923 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121126.9962 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121127.6000 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121127.2100 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121127.4500 rd6usk0b852fmmvr04sjd92n46 Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2400922200a'
20241216@121127.6300 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121127.8100 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121127.9600 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760190221676018ef01','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121127.1010 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121127.1260 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121127.1740 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6760190221676018ef01',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,750000,?,?,?,?,?)
20241216@121127.4230 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121127.4540 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121127.4870 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121127.5050 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121127.5150 rd6usk0b852fmmvr04sjd92n46 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241216@121127.5410 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121127.5570 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241216@121127.5720 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6760161343676018ef0d','aut6760179820676018eac4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241216@121127.5780 rd6usk0b852fmmvr04sjd92n46 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241216@121127.6010 rd6usk0b852fmmvr04sjd92n46 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241216@121127.6360 rd6usk0b852fmmvr04sjd92n46 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6760161343676018ef0d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6760179820676018eac4' ,0,0 ,2,23.00,760000,?,?,?)
20241216@121127.8850 rd6usk0b852fmmvr04sjd92n46 Query : use flama_phc
