20240724@195704.2694 7rs9cmm6tv2ukttdr7865vc9el INICIO DE FICHEIRO DE LOG :: /var/www/webservices/logs/website.sql.log
20240724@195704.2690 7rs9cmm6tv2ukttdr7865vc9el Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195704.2710 7rs9cmm6tv2ukttdr7865vc9el Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195704.2722 7rs9cmm6tv2ukttdr7865vc9el Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66a145042566a14e8041','aut66a146755166a14e7fab',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 = 'aut66a146755166a14e7fab'
20240724@195704.2841 7rs9cmm6tv2ukttdr7865vc9el Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195704.2858 7rs9cmm6tv2ukttdr7865vc9el Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195704.2876 7rs9cmm6tv2ukttdr7865vc9el 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 'aut66a145042566a14e8041',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,30000 ,54.8,54.8*200.48,54.8,54.8*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,54.8*2.000,54.8*2.000*200.48 ,27.279000,27.279000*200.48 ,27.279000,27.279000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,54.8,54.8*200.48,54.8*2.000,54.8*2.000*200.48,'az24072455059,183000003 ',54.8,54.8*2.000,54.8,54.8*2.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66a146755166a14e7fab'
20240724@195704.3111 7rs9cmm6tv2ukttdr7865vc9el Query : use flama_phc
20240724@195704.3115 7rs9cmm6tv2ukttdr7865vc9el Query : select st.usalote valor from st where st.ref = '324.1871.00.1'
20240724@195704.3130 7rs9cmm6tv2ukttdr7865vc9el Query : use flama_phc
20240724@195704.3133 7rs9cmm6tv2ukttdr7865vc9el Query : select st.stns valor from st where st.ref = '324.1871.00.1'
20240724@195704.3150 7rs9cmm6tv2ukttdr7865vc9el Query : use flama_phc
20240724@195704.3152 7rs9cmm6tv2ukttdr7865vc9el 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.1871.00.1' and sa.armazem = 133 
20240724@195704.3216 7rs9cmm6tv2ukttdr7865vc9el Query : use flama_phc
20240724@195704.3218 7rs9cmm6tv2ukttdr7865vc9el Query : select st.stns valor from st where st.ref = '324.1871.00.1'
20240724@195704.3238 7rs9cmm6tv2ukttdr7865vc9el 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.1871.00.1'
20240724@195704.3347 7rs9cmm6tv2ukttdr7865vc9el Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195704.3364 7rs9cmm6tv2ukttdr7865vc9el Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195704.3377 7rs9cmm6tv2ukttdr7865vc9el Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195704.3393 7rs9cmm6tv2ukttdr7865vc9el Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195704.3414 7rs9cmm6tv2ukttdr7865vc9el Query : select sestamp valor from se where ref ='324.1871.00.1' and lote = 'r2400125200a'
20240724@195704.3437 7rs9cmm6tv2ukttdr7865vc9el Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195704.3451 7rs9cmm6tv2ukttdr7865vc9el Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195704.3467 7rs9cmm6tv2ukttdr7865vc9el Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195704.3479 7rs9cmm6tv2ukttdr7865vc9el Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66a147909166a14e8054','aut66a146755166a14e7fab',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 = 'aut66a146755166a14e7fab'
20240724@195704.3593 7rs9cmm6tv2ukttdr7865vc9el Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195704.3611 7rs9cmm6tv2ukttdr7865vc9el Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195704.3629 7rs9cmm6tv2ukttdr7865vc9el 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 'aut66a147909166a14e8054',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 1.000, 1.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 ,112.5,112.5*200.48,112.5,112.5*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,112.5*1.000,112.5*1.000*200.48 ,45.770000,45.770000*200.48 ,45.770000,45.770000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,112.5,112.5*200.48,112.5*1.000,112.5*1.000*200.48,'az24072455075,030000004 ',112.5,112.5*1.000,112.5,112.5*1.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66a146755166a14e7fab'
20240724@195704.3861 7rs9cmm6tv2ukttdr7865vc9el Query : use flama_phc
20240724@195704.3865 7rs9cmm6tv2ukttdr7865vc9el Query : select st.usalote valor from st where st.ref = '324.1871.00.1'
20240724@195704.3879 7rs9cmm6tv2ukttdr7865vc9el Query : use flama_phc
20240724@195704.3881 7rs9cmm6tv2ukttdr7865vc9el Query : select st.stns valor from st where st.ref = '324.1871.00.1'
20240724@195704.3898 7rs9cmm6tv2ukttdr7865vc9el Query : use flama_phc
20240724@195704.3902 7rs9cmm6tv2ukttdr7865vc9el 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.1871.00.1' and sa.armazem = 133 
20240724@195704.3924 7rs9cmm6tv2ukttdr7865vc9el Query : use flama_phc
20240724@195704.3927 7rs9cmm6tv2ukttdr7865vc9el Query : select st.stns valor from st where st.ref = '324.1871.00.1'
20240724@195704.3945 7rs9cmm6tv2ukttdr7865vc9el 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.1871.00.1'
20240724@195704.3958 7rs9cmm6tv2ukttdr7865vc9el Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195704.3974 7rs9cmm6tv2ukttdr7865vc9el Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195704.3986 7rs9cmm6tv2ukttdr7865vc9el Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195704.4002 7rs9cmm6tv2ukttdr7865vc9el Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195704.4011 7rs9cmm6tv2ukttdr7865vc9el Query : select sestamp valor from se where ref ='324.1871.00.1' and lote = 'r2400125200a'
20240724@195704.4027 7rs9cmm6tv2ukttdr7865vc9el Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195704.4039 7rs9cmm6tv2ukttdr7865vc9el Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195704.4056 7rs9cmm6tv2ukttdr7865vc9el Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195704.4069 7rs9cmm6tv2ukttdr7865vc9el Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66a142978466a14e8062','aut66a146755166a14e7fab',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 = 'aut66a146755166a14e7fab'
20240724@195704.4181 7rs9cmm6tv2ukttdr7865vc9el Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195704.4198 7rs9cmm6tv2ukttdr7865vc9el Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195704.4215 7rs9cmm6tv2ukttdr7865vc9el 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 'aut66a142978466a14e8062',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 5.000, 5.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 ,112.5,112.5*200.48,112.5,112.5*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,112.5*5.000,112.5*5.000*200.48 ,45.770000,45.770000*200.48 ,45.770000,45.770000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,112.5,112.5*200.48,112.5*5.000,112.5*5.000*200.48,'az24072455075,030000004 ',112.5,112.5*5.000,112.5,112.5*5.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66a146755166a14e7fab'
20240724@195704.4443 7rs9cmm6tv2ukttdr7865vc9el Query : use flama_phc
20240724@195704.4644 7rs9cmm6tv2ukttdr7865vc9el Query : select st.usalote valor from st where st.ref = '324.1871.00.1'
20240724@195704.4664 7rs9cmm6tv2ukttdr7865vc9el Query : use flama_phc
20240724@195704.4669 7rs9cmm6tv2ukttdr7865vc9el Query : select st.stns valor from st where st.ref = '324.1871.00.1'
20240724@195704.4686 7rs9cmm6tv2ukttdr7865vc9el Query : use flama_phc
20240724@195704.4689 7rs9cmm6tv2ukttdr7865vc9el 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.1871.00.1' and sa.armazem = 133 
20240724@195704.4714 7rs9cmm6tv2ukttdr7865vc9el Query : use flama_phc
20240724@195704.4717 7rs9cmm6tv2ukttdr7865vc9el Query : select st.stns valor from st where st.ref = '324.1871.00.1'
20240724@195704.4736 7rs9cmm6tv2ukttdr7865vc9el 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.1871.00.1'
20240724@195704.4764 7rs9cmm6tv2ukttdr7865vc9el Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195704.4781 7rs9cmm6tv2ukttdr7865vc9el Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195704.4794 7rs9cmm6tv2ukttdr7865vc9el Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195704.4809 7rs9cmm6tv2ukttdr7865vc9el Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195704.4818 7rs9cmm6tv2ukttdr7865vc9el Query : select sestamp valor from se where ref ='324.1871.00.1' and lote = 'r2400125200a'
20240724@195704.4830 7rs9cmm6tv2ukttdr7865vc9el Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195704.4842 7rs9cmm6tv2ukttdr7865vc9el Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195704.4858 7rs9cmm6tv2ukttdr7865vc9el Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195704.4870 7rs9cmm6tv2ukttdr7865vc9el Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66a146787566a14e8076','aut66a146755166a14e7fab',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 = 'aut66a146755166a14e7fab'
20240724@195704.4989 7rs9cmm6tv2ukttdr7865vc9el Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195704.5005 7rs9cmm6tv2ukttdr7865vc9el Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195704.5021 7rs9cmm6tv2ukttdr7865vc9el 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 'aut66a146787566a14e8076',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 14.000, 14.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 ,112.5,112.5*200.48,112.5,112.5*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,112.5*14.000,112.5*14.000*200.48 ,45.770000,45.770000*200.48 ,45.770000,45.770000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,112.5,112.5*200.48,112.5*14.000,112.5*14.000*200.48,'az24072455075,030000004 ',112.5,112.5*14.000,112.5,112.5*14.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66a146755166a14e7fab'
20240724@195704.5251 7rs9cmm6tv2ukttdr7865vc9el Query : use flama_phc
20240724@195704.5255 7rs9cmm6tv2ukttdr7865vc9el Query : select st.usalote valor from st where st.ref = '324.1884.00.1'
20240724@195704.5273 7rs9cmm6tv2ukttdr7865vc9el Query : use flama_phc
20240724@195704.5276 7rs9cmm6tv2ukttdr7865vc9el Query : select st.stns valor from st where st.ref = '324.1884.00.1'
20240724@195704.5294 7rs9cmm6tv2ukttdr7865vc9el Query : use flama_phc
20240724@195704.5297 7rs9cmm6tv2ukttdr7865vc9el 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.1884.00.1' and sa.armazem = 133 
20240724@195704.5364 7rs9cmm6tv2ukttdr7865vc9el Query : use flama_phc
20240724@195704.5367 7rs9cmm6tv2ukttdr7865vc9el Query : select st.stns valor from st where st.ref = '324.1884.00.1'
20240724@195704.5389 7rs9cmm6tv2ukttdr7865vc9el 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'
20240724@195704.5405 7rs9cmm6tv2ukttdr7865vc9el Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195704.5423 7rs9cmm6tv2ukttdr7865vc9el Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195704.5437 7rs9cmm6tv2ukttdr7865vc9el Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195704.5453 7rs9cmm6tv2ukttdr7865vc9el Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195704.5465 7rs9cmm6tv2ukttdr7865vc9el Query : select sestamp valor from se where ref ='324.1884.00.1' and lote = 'r2301208100a'
20240724@195704.5479 7rs9cmm6tv2ukttdr7865vc9el Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195704.5492 7rs9cmm6tv2ukttdr7865vc9el Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195704.5509 7rs9cmm6tv2ukttdr7865vc9el Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195704.5521 7rs9cmm6tv2ukttdr7865vc9el Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66a145758766a14e8086','aut66a146755166a14e7fab',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 = 'aut66a146755166a14e7fab'
20240724@195704.5644 7rs9cmm6tv2ukttdr7865vc9el Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195704.5660 7rs9cmm6tv2ukttdr7865vc9el Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195704.5675 7rs9cmm6tv2ukttdr7865vc9el 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 'aut66a145758766a14e8086',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 1.000, 1.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 ,62.3,62.3*200.48,62.3,62.3*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,62.3*1.000,62.3*1.000*200.48 ,29.608000,29.608000*200.48 ,29.608000,29.608000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,62.3,62.3*200.48,62.3*1.000,62.3*1.000*200.48,'az24072455096,858000005 ',62.3,62.3*1.000,62.3,62.3*1.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66a146755166a14e7fab'
20240724@195704.5916 7rs9cmm6tv2ukttdr7865vc9el Query : use flama_phc
20240724@195704.5920 7rs9cmm6tv2ukttdr7865vc9el Query : select st.usalote valor from st where st.ref = '324.1884.00.1'
20240724@195704.5934 7rs9cmm6tv2ukttdr7865vc9el Query : use flama_phc
20240724@195704.5937 7rs9cmm6tv2ukttdr7865vc9el Query : select st.stns valor from st where st.ref = '324.1884.00.1'
20240724@195704.5953 7rs9cmm6tv2ukttdr7865vc9el Query : use flama_phc
20240724@195704.5955 7rs9cmm6tv2ukttdr7865vc9el 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.1884.00.1' and sa.armazem = 133 
20240724@195704.5986 7rs9cmm6tv2ukttdr7865vc9el Query : use flama_phc
20240724@195704.5989 7rs9cmm6tv2ukttdr7865vc9el Query : select st.stns valor from st where st.ref = '324.1884.00.1'
20240724@195704.6022 7rs9cmm6tv2ukttdr7865vc9el 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'
20240724@195704.6035 7rs9cmm6tv2ukttdr7865vc9el Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195704.6053 7rs9cmm6tv2ukttdr7865vc9el Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195704.6066 7rs9cmm6tv2ukttdr7865vc9el Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195704.6088 7rs9cmm6tv2ukttdr7865vc9el Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195704.6097 7rs9cmm6tv2ukttdr7865vc9el Query : select sestamp valor from se where ref ='324.1884.00.1' and lote = 'r2301208100a'
20240724@195704.6111 7rs9cmm6tv2ukttdr7865vc9el Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195704.6125 7rs9cmm6tv2ukttdr7865vc9el Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195704.6140 7rs9cmm6tv2ukttdr7865vc9el Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195704.6152 7rs9cmm6tv2ukttdr7865vc9el Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66a148620066a14e8095','aut66a146755166a14e7fab',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 = 'aut66a146755166a14e7fab'
20240724@195704.6269 7rs9cmm6tv2ukttdr7865vc9el Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195704.6285 7rs9cmm6tv2ukttdr7865vc9el Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195704.6302 7rs9cmm6tv2ukttdr7865vc9el 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 'aut66a148620066a14e8095',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,80000 ,62.3,62.3*200.48,62.3,62.3*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,62.3*4.000,62.3*4.000*200.48 ,29.608000,29.608000*200.48 ,29.608000,29.608000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,62.3,62.3*200.48,62.3*4.000,62.3*4.000*200.48,'az24072455096,858000005 ',62.3,62.3*4.000,62.3,62.3*4.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66a146755166a14e7fab'
20240724@195704.6676 7rs9cmm6tv2ukttdr7865vc9el Query : use flama_phc
20240724@195704.6680 7rs9cmm6tv2ukttdr7865vc9el Query : select st.usalote valor from st where st.ref = '324.4902.00.1'
20240724@195704.6696 7rs9cmm6tv2ukttdr7865vc9el Query : use flama_phc
20240724@195704.6699 7rs9cmm6tv2ukttdr7865vc9el Query : select st.stns valor from st where st.ref = '324.4902.00.1'
20240724@195704.6715 7rs9cmm6tv2ukttdr7865vc9el Query : use flama_phc
20240724@195704.6718 7rs9cmm6tv2ukttdr7865vc9el 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.4902.00.1' and sa.armazem = 133 
20240724@195704.6781 7rs9cmm6tv2ukttdr7865vc9el Query : use flama_phc
20240724@195704.6784 7rs9cmm6tv2ukttdr7865vc9el Query : select st.stns valor from st where st.ref = '324.4902.00.1'
20240724@195704.6803 7rs9cmm6tv2ukttdr7865vc9el Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4902.00.1'
20240724@195704.6908 7rs9cmm6tv2ukttdr7865vc9el Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195704.6924 7rs9cmm6tv2ukttdr7865vc9el Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195704.6937 7rs9cmm6tv2ukttdr7865vc9el Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195704.6952 7rs9cmm6tv2ukttdr7865vc9el Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195704.6961 7rs9cmm6tv2ukttdr7865vc9el Query : select sestamp valor from se where ref ='324.4902.00.1' and lote = 'r2400145200a'
20240724@195704.6986 7rs9cmm6tv2ukttdr7865vc9el Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195704.6999 7rs9cmm6tv2ukttdr7865vc9el Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195704.7013 7rs9cmm6tv2ukttdr7865vc9el Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195704.7024 7rs9cmm6tv2ukttdr7865vc9el Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66a141207366a14e80aa','aut66a146755166a14e7fab',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 = 'aut66a146755166a14e7fab'
20240724@195704.7136 7rs9cmm6tv2ukttdr7865vc9el Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195704.7151 7rs9cmm6tv2ukttdr7865vc9el Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195704.7167 7rs9cmm6tv2ukttdr7865vc9el 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 'aut66a141207366a14e80aa',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,90000 ,32,32*200.48,32,32*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,32*4.000,32*4.000*200.48 ,13.536000,13.536000*200.48 ,13.536000,13.536000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,32,32*200.48,32*4.000,32*4.000*200.48,'az24072455110,161000006 ',32,32*4.000,32,32*4.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66a146755166a14e7fab'
20240724@195704.7404 7rs9cmm6tv2ukttdr7865vc9el Query : use flama_phc
20240724@195704.7408 7rs9cmm6tv2ukttdr7865vc9el Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240724@195704.7423 7rs9cmm6tv2ukttdr7865vc9el Query : use flama_phc
20240724@195704.7426 7rs9cmm6tv2ukttdr7865vc9el Query : select st.stns valor from st where st.ref = '324.691.00.01'
20240724@195704.7445 7rs9cmm6tv2ukttdr7865vc9el Query : use flama_phc
20240724@195704.7448 7rs9cmm6tv2ukttdr7865vc9el 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.691.00.01' and sa.armazem = 133 
20240724@195704.7513 7rs9cmm6tv2ukttdr7865vc9el Query : use flama_phc
20240724@195704.7516 7rs9cmm6tv2ukttdr7865vc9el Query : select st.stns valor from st where st.ref = '324.691.00.01'
20240724@195704.7537 7rs9cmm6tv2ukttdr7865vc9el 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.691.00.01'
20240724@195704.7553 7rs9cmm6tv2ukttdr7865vc9el Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195704.7570 7rs9cmm6tv2ukttdr7865vc9el Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195704.7584 7rs9cmm6tv2ukttdr7865vc9el Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195704.7600 7rs9cmm6tv2ukttdr7865vc9el Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195704.7611 7rs9cmm6tv2ukttdr7865vc9el Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400209200a'
20240724@195704.7625 7rs9cmm6tv2ukttdr7865vc9el Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195704.7639 7rs9cmm6tv2ukttdr7865vc9el Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195704.7658 7rs9cmm6tv2ukttdr7865vc9el Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195704.7672 7rs9cmm6tv2ukttdr7865vc9el Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66a142216866a14e80ba','aut66a146755166a14e7fab',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 = 'aut66a146755166a14e7fab'
20240724@195704.7790 7rs9cmm6tv2ukttdr7865vc9el Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195704.7807 7rs9cmm6tv2ukttdr7865vc9el Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195704.7825 7rs9cmm6tv2ukttdr7865vc9el 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 'aut66a142216866a14e80ba',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,100000 ,96,96*200.48,96,96*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,96*4.000,96*4.000*200.48 ,27.277000,27.277000*200.48 ,27.277000,27.277000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,96,96*200.48,96*4.000,96*4.000*200.48,'az24072455128,490000007 ',96,96*4.000,96,96*4.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66a146755166a14e7fab'
20240724@195704.8082 7rs9cmm6tv2ukttdr7865vc9el Query : use flama_phc
20240724@195704.8086 7rs9cmm6tv2ukttdr7865vc9el Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20240724@195704.8103 7rs9cmm6tv2ukttdr7865vc9el Query : use flama_phc
20240724@195704.8106 7rs9cmm6tv2ukttdr7865vc9el Query : select st.stns valor from st where st.ref = '324.692.00.01'
20240724@195704.8126 7rs9cmm6tv2ukttdr7865vc9el Query : use flama_phc
20240724@195704.8129 7rs9cmm6tv2ukttdr7865vc9el 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.692.00.01' and sa.armazem = 133 
20240724@195704.8213 7rs9cmm6tv2ukttdr7865vc9el Query : use flama_phc
20240724@195704.8216 7rs9cmm6tv2ukttdr7865vc9el Query : select st.stns valor from st where st.ref = '324.692.00.01'
20240724@195704.8239 7rs9cmm6tv2ukttdr7865vc9el Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.692.00.01'
20240724@195704.8256 7rs9cmm6tv2ukttdr7865vc9el Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195704.8275 7rs9cmm6tv2ukttdr7865vc9el Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195704.8290 7rs9cmm6tv2ukttdr7865vc9el Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195704.8308 7rs9cmm6tv2ukttdr7865vc9el Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195704.8323 7rs9cmm6tv2ukttdr7865vc9el Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2400062200a'
20240724@195704.8333 7rs9cmm6tv2ukttdr7865vc9el Query : use flama_phc
20240724@195704.8336 7rs9cmm6tv2ukttdr7865vc9el Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20240724@195704.8351 7rs9cmm6tv2ukttdr7865vc9el Query : use flama_phc
20240724@195704.8353 7rs9cmm6tv2ukttdr7865vc9el Query : select st.usalote valor from st where st.ref = '324.729.00.01'
20240724@195704.8368 7rs9cmm6tv2ukttdr7865vc9el Query : use flama_phc
20240724@195704.8371 7rs9cmm6tv2ukttdr7865vc9el Query : select st.usalote valor from st where st.ref = '324.728.00.01'
20240724@195704.8386 7rs9cmm6tv2ukttdr7865vc9el Query : use flama_phc
20240724@195704.8389 7rs9cmm6tv2ukttdr7865vc9el Query : select st.usalote valor from st where st.ref = '324.958.00.01'
20240724@195704.8418 7rs9cmm6tv2ukttdr7865vc9el Query : use flama_phc
20240724@195704.8421 7rs9cmm6tv2ukttdr7865vc9el Query : select st.usalote valor from st where st.ref = '324.1847.00.1'
20240724@195704.8436 7rs9cmm6tv2ukttdr7865vc9el Query : use flama_phc
20240724@195704.8439 7rs9cmm6tv2ukttdr7865vc9el Query : select st.usalote valor from st where st.ref = '324.657.00.01'
20240724@195704.8492 7rs9cmm6tv2ukttdr7865vc9el Query : use flama_phc
20240724@195704.8495 7rs9cmm6tv2ukttdr7865vc9el Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20240724@195704.8537 7rs9cmm6tv2ukttdr7865vc9el Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1167';
20240724@195704.8563 7rs9cmm6tv2ukttdr7865vc9el Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1167';
20240724@195704.9229 pjsphklfgi7dlq37h72cqvuroq Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240724@195704.9239 pjsphklfgi7dlq37h72cqvuroq Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240724@195704.9293 pjsphklfgi7dlq37h72cqvuroq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1168';
20240724@195704.9346 pjsphklfgi7dlq37h72cqvuroq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1168';
20240724@195704.9392 pjsphklfgi7dlq37h72cqvuroq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1168';
20240724@195704.9419 pjsphklfgi7dlq37h72cqvuroq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1168';
20240724@195704.9660 ofkass8k6cjlkl0hqndco3s85s Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240724@195704.9670 ofkass8k6cjlkl0hqndco3s85s Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240724@195704.9719 ofkass8k6cjlkl0hqndco3s85s Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1169';
20240724@195704.9770 ofkass8k6cjlkl0hqndco3s85s Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1169';
20240724@195704.9817 ofkass8k6cjlkl0hqndco3s85s Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1169';
20240724@195704.9847 ofkass8k6cjlkl0hqndco3s85s Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1169';
20240724@195704.9881 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195704.9884 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240724@195704.9948 ofkass8k6cjlkl0hqndco3s85s Query : select no, estab,szadrsdesc from szadrs where u_coddest=23
20240724@195705.3200 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '328.9036.00.1'
20240724@195705.1370 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =054 and bo.boano =2024 and bo.obrano = 0000031 and bi.ref ='328.9036.00.1' and bi.lordem =15000
20240724@195705.3688 ofkass8k6cjlkl0hqndco3s85s 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 = 'pll24072332841,888000003 ' 
20240724@195705.4419 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '328.9075.00.1'
20240724@195705.4506 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =054 and bo.boano =2024 and bo.obrano = 0000031 and bi.ref ='328.9075.00.1' and bi.lordem =17500
20240724@195705.4771 ofkass8k6cjlkl0hqndco3s85s 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 = 'pll24072332855,267000004 ' 
20240724@195705.5020 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1705.00.1'
20240724@195705.5096 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =054 and bo.boano =2024 and bo.obrano = 0000031 and bi.ref ='324.1705.00.1' and bi.lordem =18750
20240724@195705.5355 ofkass8k6cjlkl0hqndco3s85s 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 = 'pll24072332987,717000010 ' 
20240724@195705.5613 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.948.00.01'
20240724@195705.5695 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =054 and bo.boano =2024 and bo.obrano = 0000031 and bi.ref ='324.948.00.01' and bi.lordem =20000
20240724@195705.5963 ofkass8k6cjlkl0hqndco3s85s 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 = 'pll24072332814,280000002 ' 
20240724@195705.6206 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1578.00.1'
20240724@195705.6285 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =054 and bo.boano =2024 and bo.obrano = 0000031 and bi.ref ='324.1578.00.1' and bi.lordem =30000
20240724@195705.6775 ofkass8k6cjlkl0hqndco3s85s 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 = 'pll24072332892,756000005 ' 
20240724@195705.7029 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1578.00.1'
20240724@195705.7049 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =054 and bo.boano =2024 and bo.obrano = 0000031 and bi.ref ='324.1578.00.1' and bi.lordem =30000
20240724@195705.7071 ofkass8k6cjlkl0hqndco3s85s 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 = 'pll24072332892,756000005 ' 
20240724@195705.7093 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '304.421.00.04'
20240724@195705.7114 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =054 and bo.boano =2024 and bo.obrano = 0000031 and bi.ref ='304.421.00.04' and bi.lordem =40000
20240724@195705.7373 ofkass8k6cjlkl0hqndco3s85s 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 = 'pll24072332921,766000006 ' 
20240724@195705.7611 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1256.00.1'
20240724@195705.7863 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =054 and bo.boano =2024 and bo.obrano = 0000031 and bi.ref ='324.1256.00.1' and bi.lordem =50000
20240724@195705.8132 ofkass8k6cjlkl0hqndco3s85s 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 = 'pll24072332940,286000007 ' 
20240724@195705.8403 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1266.00.1'
20240724@195705.8487 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =054 and bo.boano =2024 and bo.obrano = 0000031 and bi.ref ='324.1266.00.1' and bi.lordem =60000
20240724@195705.8755 ofkass8k6cjlkl0hqndco3s85s 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 = 'pll24072332962,869000008 ' 
20240724@195705.8998 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1646.00.1'
20240724@195705.9079 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =054 and bo.boano =2024 and bo.obrano = 0000031 and bi.ref ='324.1646.00.1' and bi.lordem =70000
20240724@195705.9344 ofkass8k6cjlkl0hqndco3s85s 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 = 'pll24072332970,725000009 ' 
20240724@195705.9578 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '326.595.00.01'
20240724@195705.9657 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =054 and bo.boano =2024 and bo.obrano = 0000031 and bi.ref ='326.595.00.01' and bi.lordem =80000
20240724@195705.9914 ofkass8k6cjlkl0hqndco3s85s 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 = 'pll24072333029,886000011 ' 
20240724@195706.1550 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '326.597.00.01'
20240724@195706.2310 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =054 and bo.boano =2024 and bo.obrano = 0000031 and bi.ref ='326.597.00.01' and bi.lordem =90000
20240724@195706.4920 ofkass8k6cjlkl0hqndco3s85s 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 = 'pll24072333046,006000012 ' 
20240724@195706.7310 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.5342.00.1'
20240724@195706.8090 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =054 and bo.boano =2024 and bo.obrano = 0000031 and bi.ref ='324.5342.00.1' and bi.lordem =100000
20240724@195706.1061 ofkass8k6cjlkl0hqndco3s85s 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 = 'pll24072333060,897000013 ' 
20240724@195706.1299 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.5343.00.1'
20240724@195706.1382 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =054 and bo.boano =2024 and bo.obrano = 0000031 and bi.ref ='324.5343.00.1' and bi.lordem =110000
20240724@195706.1667 ofkass8k6cjlkl0hqndco3s85s 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 = 'pll24072333074,833000014 ' 
20240724@195706.1919 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.5396.00.1'
20240724@195706.1997 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =054 and bo.boano =2024 and bo.obrano = 0000031 and bi.ref ='324.5396.00.1' and bi.lordem =115000
20240724@195706.2285 ofkass8k6cjlkl0hqndco3s85s 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 = 'pll24072333492,441000022 ' 
20240724@195706.2551 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1803.00.1'
20240724@195706.2633 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =054 and bo.boano =2024 and bo.obrano = 0000031 and bi.ref ='324.1803.00.1' and bi.lordem =120000
20240724@195706.2907 ofkass8k6cjlkl0hqndco3s85s 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 = 'pll24072333081,766000015 ' 
20240724@195706.4296 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '321.181.45.00'
20240724@195706.4397 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =054 and bo.boano =2024 and bo.obrano = 0000031 and bi.ref ='321.181.45.00' and bi.lordem =130000
20240724@195706.4662 ofkass8k6cjlkl0hqndco3s85s 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 = 'pll24072333113,793000016 ' 
20240724@195706.4893 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '325.1670.3015'
20240724@195706.4977 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =054 and bo.boano =2024 and bo.obrano = 0000031 and bi.ref ='325.1670.3015' and bi.lordem =140000
20240724@195706.5257 ofkass8k6cjlkl0hqndco3s85s 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 = 'pll24072333133,112000017 ' 
20240724@195706.5513 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195706.5517 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 1 valor from ts where ts.ndos = 5
20240724@195706.5548 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195706.5551 ofkass8k6cjlkl0hqndco3s85s 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')
20240724@195706.5578 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 assinadoc issigned ,ts.stocks ,ts.bdempresas origin ,case when (cmstocks between 1 and 50 or cm2stocks between 1 and 50 ) then 1 else 0 end entrada ,case when cmstocks>50 or (cm2stocks>50 and trfa =1) then 1 else 0 end saida ,stneg validatestock ,tiposaft ,veserie useserialnumber ,foserie assetin ,ftserie assetout ,veserie assets ,trfarm assetstransfer ,grelha usegridfields from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos =5
20240724@195706.5612 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195706.5615 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 ~inactivo valor from fl where no = '100999' and estab = 0 order by inactivo desc
20240724@195706.5738 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195706.5741 ofkass8k6cjlkl0hqndco3s85s Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240724@195706.5779 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195706.5782 ofkass8k6cjlkl0hqndco3s85s Query : select szadrsstamp valor from szadrs where szadrsdesc='flama-fab.louÇas e electrodomesticos,sa'
20240724@195706.5832 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195706.5835 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from ts where ndos = 5
20240724@195706.5846 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195706.5862 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo' and documentnumber = 5
20240724@195706.5874 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195706.5888 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo2' and documentnumber = 5
20240724@195706.5896 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195706.5911 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo3' and documentnumber = 5
20240724@195706.5919 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 ts2.manternumero, ts.tiposaft, ts.idserie,ts.nmdos,ts.bdempresas from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos = 5
20240724@195706.5934 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 5 and boano=2024 order by obrano desc
20240724@195706.5961 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 bo.obrano valor from wsbodata bo where bo.ndos = 5 and boano=2024 order by obrano desc
20240724@195706.5973 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195706.5979 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='100999' and estab=0
20240724@195706.6051 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195706.6067 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo3' and documentnumber = 5
20240724@195706.6078 ofkass8k6cjlkl0hqndco3s85s Query : insert into wsbo3data (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a143109066a14e8291',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20240724@195706.6082 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195706.6096 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo2' and documentnumber = 5
20240724@195706.6115 ofkass8k6cjlkl0hqndco3s85s Query : insert into wsbo2data (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,xpddata,xpdhora,carga,descar) values ('aut66a143109066a14e8291','ga','bo',0 ,0,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut','20240724','20:27',?,?)
20240724@195706.6266 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195706.6282 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo' and documentnumber = 5
20240724@195706.6299 ofkass8k6cjlkl0hqndco3s85s Query : insert into wsbodata (bostamp, nmdos, dataobra, ndos, obrano, no, estab, nome, ncont, morada, local, codpost, moeda, boano, memissao,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,maquina ) values ('aut66a143109066a14e8291','trf entre armazéns a','2024-07-24',5,401,?,?,?,?,?,?,?,?,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',?)
20240724@195706.7061 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195706.7065 ofkass8k6cjlkl0hqndco3s85s Query : select st.usalote valor from st where st.ref = '328.9036.00.1'
20240724@195706.7080 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195706.7083 ofkass8k6cjlkl0hqndco3s85s Query : select st.stns valor from st where st.ref = '328.9036.00.1'
20240724@195706.7100 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195706.7103 ofkass8k6cjlkl0hqndco3s85s 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 = '328.9036.00.1' and sa.armazem = 133 
20240724@195706.7168 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195706.7170 ofkass8k6cjlkl0hqndco3s85s Query : select st.stns valor from st where st.ref = '328.9036.00.1'
20240724@195706.7192 ofkass8k6cjlkl0hqndco3s85s 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 = '328.9036.00.1'
20240724@195706.7297 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195706.7312 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195706.7324 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195706.7338 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195706.7346 ofkass8k6cjlkl0hqndco3s85s Query : select sestamp valor from se where ref ='328.9036.00.1' and lote = 'r2400212120a'
20240724@195706.7358 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195706.7370 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195706.7383 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195706.7394 ofkass8k6cjlkl0hqndco3s85s Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66a147684066a14e82b3','aut66a143109066a14e8291',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 = 'aut66a143109066a14e8291'
20240724@195706.7526 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195706.7543 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195706.7558 ofkass8k6cjlkl0hqndco3s85s 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 'aut66a147684066a14e82b3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 5.000, 5.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,10000 ,199.99,199.99*200.48,199.99,199.99*200.48 ,0,0,'un ','' ,bo.marcada,1 ,199.99*5.000,199.99*5.000*200.48 ,57.471000,57.471000*200.48 ,57.471000,57.471000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,199.99,199.99*200.48,199.99*5.000,199.99*5.000*200.48,'pll24072332841,888000003 ',199.99,199.99*5.000,199.99,199.99*5.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66a143109066a14e8291'
20240724@195706.7810 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195706.7814 ofkass8k6cjlkl0hqndco3s85s Query : select st.usalote valor from st where st.ref = '328.9075.00.1'
20240724@195706.7841 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195706.7844 ofkass8k6cjlkl0hqndco3s85s Query : select st.stns valor from st where st.ref = '328.9075.00.1'
20240724@195706.7859 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195706.7862 ofkass8k6cjlkl0hqndco3s85s 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 = '328.9075.00.1' and sa.armazem = 133 
20240724@195706.7923 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195706.7926 ofkass8k6cjlkl0hqndco3s85s Query : select st.stns valor from st where st.ref = '328.9075.00.1'
20240724@195706.7959 ofkass8k6cjlkl0hqndco3s85s 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 = '328.9075.00.1'
20240724@195706.8068 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195706.8084 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195706.8096 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195706.8110 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195706.8118 ofkass8k6cjlkl0hqndco3s85s Query : select sestamp valor from se where ref ='328.9075.00.1' and lote = 'r2400212150a'
20240724@195706.8131 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195706.8143 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195706.8157 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195706.8169 ofkass8k6cjlkl0hqndco3s85s Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66a146835566a14e82c6','aut66a143109066a14e8291',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 = 'aut66a143109066a14e8291'
20240724@195706.8296 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195706.8312 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195706.8328 ofkass8k6cjlkl0hqndco3s85s 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 'aut66a146835566a14e82c6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 5.000, 5.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,20000 ,249.99,249.99*200.48,249.99,249.99*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,249.99*5.000,249.99*5.000*200.48 ,78.369000,78.369000*200.48 ,78.369000,78.369000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,249.99,249.99*200.48,249.99*5.000,249.99*5.000*200.48,'pll24072332855,267000004 ',249.99,249.99*5.000,249.99,249.99*5.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66a143109066a14e8291'
20240724@195706.8738 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195706.8742 ofkass8k6cjlkl0hqndco3s85s Query : select st.usalote valor from st where st.ref = '324.1705.00.1'
20240724@195706.8757 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195706.8760 ofkass8k6cjlkl0hqndco3s85s Query : select st.stns valor from st where st.ref = '324.1705.00.1'
20240724@195706.8776 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195706.8779 ofkass8k6cjlkl0hqndco3s85s 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.1705.00.1' and sa.armazem = 133 
20240724@195706.8842 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195706.8845 ofkass8k6cjlkl0hqndco3s85s Query : select st.stns valor from st where st.ref = '324.1705.00.1'
20240724@195706.8864 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1705.00.1'
20240724@195706.8968 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195706.8983 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195706.8996 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195706.9009 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195706.9020 ofkass8k6cjlkl0hqndco3s85s Query : select sestamp valor from se where ref ='324.1705.00.1' and lote = 'r2400050500a'
20240724@195706.9033 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195706.9044 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195706.9058 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195706.9070 ofkass8k6cjlkl0hqndco3s85s Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66a144032566a14e82dc','aut66a143109066a14e8291',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 = 'aut66a143109066a14e8291'
20240724@195706.9196 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195706.9211 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195706.9228 ofkass8k6cjlkl0hqndco3s85s 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 'aut66a144032566a14e82dc',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,30000 ,49.99,49.99*200.48,49.99,49.99*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,49.99*16.000,49.99*16.000*200.48 ,11.739000,11.739000*200.48 ,11.739000,11.739000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,49.99,49.99*200.48,49.99*16.000,49.99*16.000*200.48,'pll24072332987,717000010 ',49.99,49.99*16.000,49.99,49.99*16.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66a143109066a14e8291'
20240724@195706.9462 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195706.9465 ofkass8k6cjlkl0hqndco3s85s Query : select st.usalote valor from st where st.ref = '324.948.00.01'
20240724@195706.9479 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195706.9482 ofkass8k6cjlkl0hqndco3s85s Query : select st.stns valor from st where st.ref = '324.948.00.01'
20240724@195706.9498 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195706.9500 ofkass8k6cjlkl0hqndco3s85s 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.948.00.01' and sa.armazem = 133 
20240724@195706.9560 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195706.9563 ofkass8k6cjlkl0hqndco3s85s Query : select st.stns valor from st where st.ref = '324.948.00.01'
20240724@195706.9583 ofkass8k6cjlkl0hqndco3s85s 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.948.00.01'
20240724@195706.9687 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195706.9702 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195706.9715 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195706.9729 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195706.9738 ofkass8k6cjlkl0hqndco3s85s Query : select sestamp valor from se where ref ='324.948.00.01' and lote = 'r2301091200a'
20240724@195706.9756 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195706.9768 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195706.9782 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195706.9793 ofkass8k6cjlkl0hqndco3s85s Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66a145378566a14e82ee','aut66a143109066a14e8291',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 = 'aut66a143109066a14e8291'
20240724@195706.9902 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195706.9922 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195706.9938 ofkass8k6cjlkl0hqndco3s85s 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 'aut66a145378566a14e82ee',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,40000 ,46.99,46.99*200.48,46.99,46.99*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,46.99*6.000,46.99*6.000*200.48 ,10.808000,10.808000*200.48 ,10.808000,10.808000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,46.99,46.99*200.48,46.99*6.000,46.99*6.000*200.48,'pll24072332814,280000002 ',46.99,46.99*6.000,46.99,46.99*6.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66a143109066a14e8291'
20240724@195707.1800 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195707.1840 ofkass8k6cjlkl0hqndco3s85s Query : select st.usalote valor from st where st.ref = '324.1578.00.1'
20240724@195707.1980 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195707.2010 ofkass8k6cjlkl0hqndco3s85s Query : select st.stns valor from st where st.ref = '324.1578.00.1'
20240724@195707.2170 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195707.2200 ofkass8k6cjlkl0hqndco3s85s 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.1578.00.1' and sa.armazem = 133 
20240724@195707.2990 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195707.3020 ofkass8k6cjlkl0hqndco3s85s Query : select st.stns valor from st where st.ref = '324.1578.00.1'
20240724@195707.3200 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1578.00.1'
20240724@195707.4310 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195707.4490 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195707.4620 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195707.4760 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195707.4840 ofkass8k6cjlkl0hqndco3s85s Query : select sestamp valor from se where ref ='324.1578.00.1' and lote = 'r2100121100a'
20240724@195707.5140 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195707.5270 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195707.5410 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195707.5530 ofkass8k6cjlkl0hqndco3s85s Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66a142791766a14e830c','aut66a143109066a14e8291',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 = 'aut66a143109066a14e8291'
20240724@195707.6660 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195707.6810 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195707.6970 ofkass8k6cjlkl0hqndco3s85s 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 'aut66a142791766a14e830c',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,50000 ,189.99,189.99*200.48,189.99,189.99*200.48 ,0,0,'un ','' ,bo.marcada,1 ,189.99*3.000,189.99*3.000*200.48 ,51.717000,51.717000*200.48 ,51.717000,51.717000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,189.99,189.99*200.48,189.99*3.000,189.99*3.000*200.48,'pll24072332892,756000005 ',189.99,189.99*3.000,189.99,189.99*3.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66a143109066a14e8291'
20240724@195707.9560 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195707.9600 ofkass8k6cjlkl0hqndco3s85s Query : select st.usalote valor from st where st.ref = '324.1578.00.1'
20240724@195707.9740 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195707.9760 ofkass8k6cjlkl0hqndco3s85s Query : select st.stns valor from st where st.ref = '324.1578.00.1'
20240724@195707.9920 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195707.9940 ofkass8k6cjlkl0hqndco3s85s 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.1578.00.1' and sa.armazem = 133 
20240724@195707.1016 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195707.1018 ofkass8k6cjlkl0hqndco3s85s Query : select st.stns valor from st where st.ref = '324.1578.00.1'
20240724@195707.1036 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1578.00.1'
20240724@195707.1048 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195707.1064 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195707.1077 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195707.1090 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195707.1098 ofkass8k6cjlkl0hqndco3s85s Query : select sestamp valor from se where ref ='324.1578.00.1' and lote = 'r2100121100a'
20240724@195707.1111 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195707.1137 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195707.1151 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195707.1163 ofkass8k6cjlkl0hqndco3s85s Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66a145367266a14e831b','aut66a143109066a14e8291',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 = 'aut66a143109066a14e8291'
20240724@195707.1280 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195707.1297 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195707.1312 ofkass8k6cjlkl0hqndco3s85s 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 'aut66a145367266a14e831b',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,60000 ,189.99,189.99*200.48,189.99,189.99*200.48 ,0,0,'un ','' ,bo.marcada,1 ,189.99*2.000,189.99*2.000*200.48 ,51.717000,51.717000*200.48 ,51.717000,51.717000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,189.99,189.99*200.48,189.99*2.000,189.99*2.000*200.48,'pll24072332892,756000005 ',189.99,189.99*2.000,189.99,189.99*2.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66a143109066a14e8291'
20240724@195707.1553 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195707.1557 ofkass8k6cjlkl0hqndco3s85s Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20240724@195707.1584 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195707.1587 ofkass8k6cjlkl0hqndco3s85s Query : select st.stns valor from st where st.ref = '304.421.00.04'
20240724@195707.1608 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195707.1611 ofkass8k6cjlkl0hqndco3s85s 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 = '304.421.00.04' and sa.armazem = 133 
20240724@195707.1635 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195707.1637 ofkass8k6cjlkl0hqndco3s85s Query : select st.stns valor from st where st.ref = '304.421.00.04'
20240724@195707.1656 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.421.00.04'
20240724@195707.1671 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195707.1687 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195707.1701 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195707.1718 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195707.1727 ofkass8k6cjlkl0hqndco3s85s Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '240896'
20240724@195707.1740 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195707.1753 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195707.1768 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195707.1780 ofkass8k6cjlkl0hqndco3s85s Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66a148061966a14e832a','aut66a143109066a14e8291',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 = 'aut66a143109066a14e8291'
20240724@195707.1911 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195707.1932 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195707.1964 ofkass8k6cjlkl0hqndco3s85s 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 'aut66a148061966a14e832a',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,70000 ,39.99,39.99*200.48,39.99,39.99*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,39.99*12.000,39.99*12.000*200.48 ,10.323000,10.323000*200.48 ,10.323000,10.323000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,39.99,39.99*200.48,39.99*12.000,39.99*12.000*200.48,'pll24072332921,766000006 ',39.99,39.99*12.000,39.99,39.99*12.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66a143109066a14e8291'
20240724@195707.2222 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195707.2226 ofkass8k6cjlkl0hqndco3s85s Query : select st.usalote valor from st where st.ref = '324.1256.00.1'
20240724@195707.2242 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195707.2245 ofkass8k6cjlkl0hqndco3s85s Query : select st.stns valor from st where st.ref = '324.1256.00.1'
20240724@195707.2263 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195707.2267 ofkass8k6cjlkl0hqndco3s85s 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.1256.00.1' and sa.armazem = 133 
20240724@195707.2333 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195707.2336 ofkass8k6cjlkl0hqndco3s85s Query : select st.stns valor from st where st.ref = '324.1256.00.1'
20240724@195707.2368 ofkass8k6cjlkl0hqndco3s85s 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.1256.00.1'
20240724@195707.2475 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195707.2491 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195707.2504 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195707.2519 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195707.2527 ofkass8k6cjlkl0hqndco3s85s Query : select sestamp valor from se where ref ='324.1256.00.1' and lote = 'r210135200a'
20240724@195707.2551 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195707.2563 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195707.2577 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195707.2588 ofkass8k6cjlkl0hqndco3s85s Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66a140353166a14e833e','aut66a143109066a14e8291',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 = 'aut66a143109066a14e8291'
20240724@195707.2701 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195707.2717 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195707.2732 ofkass8k6cjlkl0hqndco3s85s 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 'aut66a140353166a14e833e',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,80000 ,179.99,179.99*200.48,179.99,179.99*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,179.99*2.000,179.99*2.000*200.48 ,46.885000,46.885000*200.48 ,46.885000,46.885000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,179.99,179.99*200.48,179.99*2.000,179.99*2.000*200.48,'pll24072332940,286000007 ',179.99,179.99*2.000,179.99,179.99*2.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66a143109066a14e8291'
20240724@195707.2978 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195707.2982 ofkass8k6cjlkl0hqndco3s85s Query : select st.usalote valor from st where st.ref = '324.1266.00.1'
20240724@195707.2997 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195707.3000 ofkass8k6cjlkl0hqndco3s85s Query : select st.stns valor from st where st.ref = '324.1266.00.1'
20240724@195707.3019 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195707.3022 ofkass8k6cjlkl0hqndco3s85s 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.1266.00.1' and sa.armazem = 133 
20240724@195707.3086 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195707.3089 ofkass8k6cjlkl0hqndco3s85s Query : select st.stns valor from st where st.ref = '324.1266.00.1'
20240724@195707.3109 ofkass8k6cjlkl0hqndco3s85s 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.1266.00.1'
20240724@195707.3213 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195707.3229 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195707.3241 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195707.3256 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195707.3264 ofkass8k6cjlkl0hqndco3s85s Query : select sestamp valor from se where ref ='324.1266.00.1' and lote = 'r2100597100a'
20240724@195707.3278 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195707.3290 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195707.3304 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195707.3316 ofkass8k6cjlkl0hqndco3s85s Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66a140750366a14e8350','aut66a143109066a14e8291',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 = 'aut66a143109066a14e8291'
20240724@195707.3427 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195707.3444 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195707.3459 ofkass8k6cjlkl0hqndco3s85s 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 'aut66a140750366a14e8350',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,90000 ,179.99,179.99*200.48,179.99,179.99*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,179.99*2.000,179.99*2.000*200.48 ,49.752000,49.752000*200.48 ,49.752000,49.752000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,179.99,179.99*200.48,179.99*2.000,179.99*2.000*200.48,'pll24072332962,869000008 ',179.99,179.99*2.000,179.99,179.99*2.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66a143109066a14e8291'
20240724@195707.3702 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195707.3706 ofkass8k6cjlkl0hqndco3s85s Query : select st.usalote valor from st where st.ref = '324.1646.00.1'
20240724@195707.3720 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195707.3723 ofkass8k6cjlkl0hqndco3s85s Query : select st.stns valor from st where st.ref = '324.1646.00.1'
20240724@195707.3739 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195707.3742 ofkass8k6cjlkl0hqndco3s85s 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.1646.00.1' and sa.armazem = 133 
20240724@195707.3800 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195707.3802 ofkass8k6cjlkl0hqndco3s85s Query : select st.stns valor from st where st.ref = '324.1646.00.1'
20240724@195707.3822 ofkass8k6cjlkl0hqndco3s85s 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.1646.00.1'
20240724@195707.3926 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195707.3943 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195707.3957 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195707.3973 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195707.3983 ofkass8k6cjlkl0hqndco3s85s Query : select sestamp valor from se where ref ='324.1646.00.1' and lote = 'r2101259200a'
20240724@195707.4022 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195707.4036 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195707.4051 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195707.4064 ofkass8k6cjlkl0hqndco3s85s Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66a142103366a14e8362','aut66a143109066a14e8291',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 = 'aut66a143109066a14e8291'
20240724@195707.4202 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195707.4420 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195707.4436 ofkass8k6cjlkl0hqndco3s85s 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 'aut66a142103366a14e8362',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,100000 ,169.99,169.99*200.48,169.99,169.99*200.48 ,0,0,'un ','' ,bo.marcada,1 ,169.99*8.000,169.99*8.000*200.48 ,45.381000,45.381000*200.48 ,45.381000,45.381000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,169.99,169.99*200.48,169.99*8.000,169.99*8.000*200.48,'pll24072332970,725000009 ',169.99,169.99*8.000,169.99,169.99*8.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66a143109066a14e8291'
20240724@195707.4691 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195707.4695 ofkass8k6cjlkl0hqndco3s85s Query : select st.usalote valor from st where st.ref = '326.595.00.01'
20240724@195707.4710 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195707.4713 ofkass8k6cjlkl0hqndco3s85s Query : select st.stns valor from st where st.ref = '326.595.00.01'
20240724@195707.4731 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195707.4733 ofkass8k6cjlkl0hqndco3s85s 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 = '326.595.00.01' and sa.armazem = 133 
20240724@195707.4796 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195707.4799 ofkass8k6cjlkl0hqndco3s85s Query : select st.stns valor from st where st.ref = '326.595.00.01'
20240724@195707.4819 ofkass8k6cjlkl0hqndco3s85s 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 = '326.595.00.01'
20240724@195707.4832 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195707.4855 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195707.4868 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195707.4891 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195707.4900 ofkass8k6cjlkl0hqndco3s85s Query : select sestamp valor from se where ref ='326.595.00.01' and lote = 'r2301243100a'
20240724@195707.4913 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195707.4926 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195707.4941 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195707.4953 ofkass8k6cjlkl0hqndco3s85s Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66a144881166a14e8378','aut66a143109066a14e8291',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 = 'aut66a143109066a14e8291'
20240724@195707.5072 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195707.5088 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195707.5103 ofkass8k6cjlkl0hqndco3s85s 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 'aut66a144881166a14e8378',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,110000 ,54.99,54.99*200.48,54.99,54.99*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,54.99*6.000,54.99*6.000*200.48 ,15.080000,15.080000*200.48 ,15.080000,15.080000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,54.99,54.99*200.48,54.99*6.000,54.99*6.000*200.48,'pll24072333029,886000011 ',54.99,54.99*6.000,54.99,54.99*6.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66a143109066a14e8291'
20240724@195707.5334 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195707.5338 ofkass8k6cjlkl0hqndco3s85s Query : select st.usalote valor from st where st.ref = '326.597.00.01'
20240724@195707.5351 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195707.5354 ofkass8k6cjlkl0hqndco3s85s Query : select st.stns valor from st where st.ref = '326.597.00.01'
20240724@195707.5370 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195707.5373 ofkass8k6cjlkl0hqndco3s85s 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 = '326.597.00.01' and sa.armazem = 133 
20240724@195707.5439 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195707.5441 ofkass8k6cjlkl0hqndco3s85s Query : select st.stns valor from st where st.ref = '326.597.00.01'
20240724@195707.5460 ofkass8k6cjlkl0hqndco3s85s 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 = '326.597.00.01'
20240724@195707.5598 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195707.5616 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195707.5629 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195707.7021 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195707.7034 ofkass8k6cjlkl0hqndco3s85s Query : select sestamp valor from se where ref ='326.597.00.01' and lote = 'r2301190200a'
20240724@195707.7073 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195707.7086 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195707.7102 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195707.7114 ofkass8k6cjlkl0hqndco3s85s Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66a140857366a14e83ad','aut66a143109066a14e8291',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 = 'aut66a143109066a14e8291'
20240724@195707.7235 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195707.7252 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195707.7268 ofkass8k6cjlkl0hqndco3s85s 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 'aut66a140857366a14e83ad',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,120000 ,64.99,64.99*200.48,64.99,64.99*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,64.99*6.000,64.99*6.000*200.48 ,17.872000,17.872000*200.48 ,17.872000,17.872000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,64.99,64.99*200.48,64.99*6.000,64.99*6.000*200.48,'pll24072333046,006000012 ',64.99,64.99*6.000,64.99,64.99*6.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66a143109066a14e8291'
20240724@195707.7524 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195707.7543 ofkass8k6cjlkl0hqndco3s85s Query : select st.usalote valor from st where st.ref = '324.5342.00.1'
20240724@195707.7559 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195707.7562 ofkass8k6cjlkl0hqndco3s85s Query : select st.stns valor from st where st.ref = '324.5342.00.1'
20240724@195707.7580 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195707.7583 ofkass8k6cjlkl0hqndco3s85s 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.5342.00.1' and sa.armazem = 133 
20240724@195707.7647 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195707.7650 ofkass8k6cjlkl0hqndco3s85s Query : select st.stns valor from st where st.ref = '324.5342.00.1'
20240724@195707.7670 ofkass8k6cjlkl0hqndco3s85s 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.5342.00.1'
20240724@195707.7685 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195707.7700 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195707.7713 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195707.7729 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195707.7737 ofkass8k6cjlkl0hqndco3s85s Query : select sestamp valor from se where ref ='324.5342.00.1' and lote = 'r2301282200a'
20240724@195707.7749 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195707.7762 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195707.7779 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195707.7790 ofkass8k6cjlkl0hqndco3s85s Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66a148910166a14e83bd','aut66a143109066a14e8291',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 = 'aut66a143109066a14e8291'
20240724@195707.7913 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195707.7928 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195707.7944 ofkass8k6cjlkl0hqndco3s85s 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 'aut66a148910166a14e83bd',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,130000 ,27.99,27.99*200.48,27.99,27.99*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,27.99*6.000,27.99*6.000*200.48 ,7.565000,7.565000*200.48 ,7.565000,7.565000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,27.99,27.99*200.48,27.99*6.000,27.99*6.000*200.48,'pll24072333060,897000013 ',27.99,27.99*6.000,27.99,27.99*6.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66a143109066a14e8291'
20240724@195707.8187 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195707.8191 ofkass8k6cjlkl0hqndco3s85s Query : select st.usalote valor from st where st.ref = '324.5343.00.1'
20240724@195707.8206 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195707.8209 ofkass8k6cjlkl0hqndco3s85s Query : select st.stns valor from st where st.ref = '324.5343.00.1'
20240724@195707.8226 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195707.8229 ofkass8k6cjlkl0hqndco3s85s 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 
20240724@195707.8288 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195707.8291 ofkass8k6cjlkl0hqndco3s85s Query : select st.stns valor from st where st.ref = '324.5343.00.1'
20240724@195707.8309 ofkass8k6cjlkl0hqndco3s85s 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'
20240724@195707.8412 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195707.8428 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195707.8439 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195707.8453 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195707.8461 ofkass8k6cjlkl0hqndco3s85s Query : select sestamp valor from se where ref ='324.5343.00.1' and lote = 'r2300915100a'
20240724@195707.8475 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195707.8487 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195707.8501 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195707.8513 ofkass8k6cjlkl0hqndco3s85s Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66a148967066a14e83cf','aut66a143109066a14e8291',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 = 'aut66a143109066a14e8291'
20240724@195707.8645 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195707.8664 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195707.8684 ofkass8k6cjlkl0hqndco3s85s 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 'aut66a148967066a14e83cf',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,140000 ,27.99,27.99*200.48,27.99,27.99*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,27.99*6.000,27.99*6.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,27.99,27.99*200.48,27.99*6.000,27.99*6.000*200.48,'pll24072333074,833000014 ',27.99,27.99*6.000,27.99,27.99*6.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66a143109066a14e8291'
20240724@195707.8980 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195707.8985 ofkass8k6cjlkl0hqndco3s85s Query : select st.usalote valor from st where st.ref = '324.5396.00.1'
20240724@195707.9001 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195707.9003 ofkass8k6cjlkl0hqndco3s85s Query : select st.stns valor from st where st.ref = '324.5396.00.1'
20240724@195707.9022 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195707.9025 ofkass8k6cjlkl0hqndco3s85s 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.5396.00.1' and sa.armazem = 133 
20240724@195707.9098 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195707.9100 ofkass8k6cjlkl0hqndco3s85s Query : select st.stns valor from st where st.ref = '324.5396.00.1'
20240724@195707.9122 ofkass8k6cjlkl0hqndco3s85s 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.5396.00.1'
20240724@195707.9230 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195707.9246 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195707.9259 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195707.9274 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195707.9282 ofkass8k6cjlkl0hqndco3s85s Query : select sestamp valor from se where ref ='324.5396.00.1' and lote = 'r2300840100a'
20240724@195707.9304 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195707.9317 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195707.9332 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195707.9344 ofkass8k6cjlkl0hqndco3s85s Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66a149538666a14e83e3','aut66a143109066a14e8291',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 = 'aut66a143109066a14e8291'
20240724@195707.9509 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195707.9547 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195707.9565 ofkass8k6cjlkl0hqndco3s85s 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 'aut66a149538666a14e83e3',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,150000 ,44.99,44.99*200.48,44.99,44.99*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,44.99*12.000,44.99*12.000*200.48 ,9.272000,9.272000*200.48 ,9.272000,9.272000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,44.99,44.99*200.48,44.99*12.000,44.99*12.000*200.48,'pll24072333492,441000022 ',44.99,44.99*12.000,44.99,44.99*12.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66a143109066a14e8291'
20240724@195707.9813 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195707.9818 ofkass8k6cjlkl0hqndco3s85s Query : select st.usalote valor from st where st.ref = '324.1803.00.1'
20240724@195707.9835 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195707.9838 ofkass8k6cjlkl0hqndco3s85s Query : select st.stns valor from st where st.ref = '324.1803.00.1'
20240724@195707.9856 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195707.9859 ofkass8k6cjlkl0hqndco3s85s 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.1803.00.1' and sa.armazem = 133 
20240724@195707.9925 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195707.9928 ofkass8k6cjlkl0hqndco3s85s Query : select st.stns valor from st where st.ref = '324.1803.00.1'
20240724@195707.9946 ofkass8k6cjlkl0hqndco3s85s 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'
20240724@195708.5700 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195708.9000 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195708.1030 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195708.1180 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195708.1260 ofkass8k6cjlkl0hqndco3s85s Query : select sestamp valor from se where ref ='324.1803.00.1' and lote = 'r2300883200a'
20240724@195708.1470 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195708.1590 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195708.1820 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195708.1940 ofkass8k6cjlkl0hqndco3s85s Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66a148694966a14e8403','aut66a143109066a14e8291',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 = 'aut66a143109066a14e8291'
20240724@195708.3120 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195708.3310 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195708.3490 ofkass8k6cjlkl0hqndco3s85s 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 'aut66a148694966a14e8403',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,160000 ,94.99,94.99*200.48,94.99,94.99*200.48 ,0,0,'un ','' ,bo.marcada,1 ,94.99*6.000,94.99*6.000*200.48 ,33.125000,33.125000*200.48 ,33.125000,33.125000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,94.99,94.99*200.48,94.99*6.000,94.99*6.000*200.48,'pll24072333081,766000015 ',94.99,94.99*6.000,94.99,94.99*6.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66a143109066a14e8291'
20240724@195708.5860 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195708.5890 ofkass8k6cjlkl0hqndco3s85s Query : select st.usalote valor from st where st.ref = '321.181.45.00'
20240724@195708.6040 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195708.6070 ofkass8k6cjlkl0hqndco3s85s Query : select st.stns valor from st where st.ref = '321.181.45.00'
20240724@195708.6230 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195708.6250 ofkass8k6cjlkl0hqndco3s85s 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 = '321.181.45.00' and sa.armazem = 133 
20240724@195708.6890 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195708.6920 ofkass8k6cjlkl0hqndco3s85s Query : select st.stns valor from st where st.ref = '321.181.45.00'
20240724@195708.7100 ofkass8k6cjlkl0hqndco3s85s 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 = '321.181.45.00'
20240724@195708.8190 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195708.8340 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195708.8480 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195708.8630 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195708.8720 ofkass8k6cjlkl0hqndco3s85s Query : select sestamp valor from se where ref ='321.181.45.00' and lote = 'r2100632100a'
20240724@195708.8980 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195708.9100 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195708.9310 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195708.9440 ofkass8k6cjlkl0hqndco3s85s Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66a147919466a14e8416','aut66a143109066a14e8291',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 = 'aut66a143109066a14e8291'
20240724@195708.1058 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195708.1075 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195708.1091 ofkass8k6cjlkl0hqndco3s85s 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 'aut66a147919466a14e8416',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,170000 ,112.99,112.99*200.48,112.99,112.99*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,112.99*6.000,112.99*6.000*200.48 ,24.672000,24.672000*200.48 ,24.672000,24.672000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,112.99,112.99*200.48,112.99*6.000,112.99*6.000*200.48,'pll24072333113,793000016 ',112.99,112.99*6.000,112.99,112.99*6.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66a143109066a14e8291'
20240724@195708.1645 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195708.1649 ofkass8k6cjlkl0hqndco3s85s Query : select st.usalote valor from st where st.ref = '325.1670.3015'
20240724@195708.1666 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195708.1669 ofkass8k6cjlkl0hqndco3s85s Query : select st.stns valor from st where st.ref = '325.1670.3015'
20240724@195708.1686 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195708.1689 ofkass8k6cjlkl0hqndco3s85s 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.1670.3015' and sa.armazem = 133 
20240724@195708.1754 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195708.1757 ofkass8k6cjlkl0hqndco3s85s Query : select st.stns valor from st where st.ref = '325.1670.3015'
20240724@195708.1894 ofkass8k6cjlkl0hqndco3s85s 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.1670.3015'
20240724@195708.2184 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195708.2203 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195708.2217 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195708.2239 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195708.2248 ofkass8k6cjlkl0hqndco3s85s Query : select sestamp valor from se where ref ='325.1670.3015' and lote = 'r2301133100a'
20240724@195708.2270 ofkass8k6cjlkl0hqndco3s85s Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240724@195708.2283 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195708.2299 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240724@195708.2312 ofkass8k6cjlkl0hqndco3s85s Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66a147280866a14e8437','aut66a143109066a14e8291',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 = 'aut66a143109066a14e8291'
20240724@195708.2439 ofkass8k6cjlkl0hqndco3s85s Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240724@195708.2455 ofkass8k6cjlkl0hqndco3s85s Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240724@195708.2474 ofkass8k6cjlkl0hqndco3s85s 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 'aut66a147280866a14e8437',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,180000 ,9.49,9.49*200.48,9.49,9.49*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,9.49*12.000,9.49*12.000*200.48 ,3.120000,3.120000*200.48 ,3.120000,3.120000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,9.49,9.49*200.48,9.49*12.000,9.49*12.000*200.48,'pll24072333133,112000017 ',9.49,9.49*12.000,9.49,9.49*12.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66a143109066a14e8291'
20240724@195708.2720 ofkass8k6cjlkl0hqndco3s85s Query : insert into wsbocreationlog (initialstamp,externalid,creationstatus,documenttypeid,idustamp,transactionid) values ('aut66a143109066a14e8291','','wait',5,'adm12071144683,938000003','')
20240724@195708.2813 ofkass8k6cjlkl0hqndco3s85s Query : use flama_phc
20240724@195708.2816 ofkass8k6cjlkl0hqndco3s85s Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240724@195708.2878 ofkass8k6cjlkl0hqndco3s85s Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1169';
20240724@195708.2914 ofkass8k6cjlkl0hqndco3s85s Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1169';

20240725@085237.6284 1ltj4j990sflp0qv4aq5rvcj0t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1170';
20240725@085237.6343 1ltj4j990sflp0qv4aq5rvcj0t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1170';
20240725@085237.6366 1ltj4j990sflp0qv4aq5rvcj0t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1170';
20240725@085237.6403 1ltj4j990sflp0qv4aq5rvcj0t Query : use flama_phc
20240725@085237.6407 1ltj4j990sflp0qv4aq5rvcj0t Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240725@085237.6519 1ltj4j990sflp0qv4aq5rvcj0t Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1833.00.2'
20240725@085237.6608 1ltj4j990sflp0qv4aq5rvcj0t 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 = 2400287 and bi.ref ='324.1833.00.2' and bi.lordem =10000
20240725@085237.6954 1ltj4j990sflp0qv4aq5rvcj0t 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 = 'cps24031442935,556000004 ' 
20240725@085237.7433 1ltj4j990sflp0qv4aq5rvcj0t Query : use flama_phc
20240725@085237.7438 1ltj4j990sflp0qv4aq5rvcj0t Query : select top 1 1 valor from ts where ts.ndos = 61
20240725@085237.7511 1ltj4j990sflp0qv4aq5rvcj0t Query : use flama_phc
20240725@085237.7514 1ltj4j990sflp0qv4aq5rvcj0t 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')
20240725@085237.7580 1ltj4j990sflp0qv4aq5rvcj0t 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
20240725@085237.7696 1ltj4j990sflp0qv4aq5rvcj0t Query : use flama_phc
20240725@085237.7700 1ltj4j990sflp0qv4aq5rvcj0t Query : select top 1 ~inactivo valor from fl where no = '202241' and estab = 00 order by inactivo desc
20240725@085237.7804 1ltj4j990sflp0qv4aq5rvcj0t Query : use flama_phc
20240725@085237.7807 1ltj4j990sflp0qv4aq5rvcj0t Query : select 1 valor from ts where ndos = 61
20240725@085237.7854 1ltj4j990sflp0qv4aq5rvcj0t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@085237.8156 1ltj4j990sflp0qv4aq5rvcj0t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo' and documentnumber = 61
20240725@085237.8228 1ltj4j990sflp0qv4aq5rvcj0t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@085237.8244 1ltj4j990sflp0qv4aq5rvcj0t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo2' and documentnumber = 61
20240725@085237.8256 1ltj4j990sflp0qv4aq5rvcj0t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@085237.8272 1ltj4j990sflp0qv4aq5rvcj0t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo3' and documentnumber = 61
20240725@085237.8283 1ltj4j990sflp0qv4aq5rvcj0t 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
20240725@085237.8371 1ltj4j990sflp0qv4aq5rvcj0t Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2024 order by obrano desc
20240725@085237.8448 1ltj4j990sflp0qv4aq5rvcj0t Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2024 order by obrano desc
20240725@085237.8468 1ltj4j990sflp0qv4aq5rvcj0t Query : use flama_phc
20240725@085237.8476 1ltj4j990sflp0qv4aq5rvcj0t Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='202241' and estab=00
20240725@085237.8565 1ltj4j990sflp0qv4aq5rvcj0t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@085237.8582 1ltj4j990sflp0qv4aq5rvcj0t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo3' and documentnumber = 61
20240725@085237.8617 1ltj4j990sflp0qv4aq5rvcj0t Query : insert into bo3 (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a203137266a20445ce',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20240725@085237.8694 1ltj4j990sflp0qv4aq5rvcj0t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@085237.8710 1ltj4j990sflp0qv4aq5rvcj0t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo2' and documentnumber = 61
20240725@085237.8723 1ltj4j990sflp0qv4aq5rvcj0t Query : insert into bo2 (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a203137266a20445ce','--','bo',7.8618042226487523992 ,1,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20240725@085237.8879 1ltj4j990sflp0qv4aq5rvcj0t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@085237.8898 1ltj4j990sflp0qv4aq5rvcj0t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo' and documentnumber = 61
20240725@085237.8917 1ltj4j990sflp0qv4aq5rvcj0t 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 ('aut66a203137266a20445ce','guia r. fornecedor','2024-07-25',61,2402196,?,?,?,?,?,?,?,?,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')
20240725@085240.5614 1ltj4j990sflp0qv4aq5rvcj0t Query : use flama_phc
20240725@085240.5617 1ltj4j990sflp0qv4aq5rvcj0t Query : select st.usalote valor from st where st.ref = '324.1833.00.2'
20240725@085240.5709 1ltj4j990sflp0qv4aq5rvcj0t 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'
20240725@085240.5822 1ltj4j990sflp0qv4aq5rvcj0t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@085240.5837 1ltj4j990sflp0qv4aq5rvcj0t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 61
20240725@085240.5852 1ltj4j990sflp0qv4aq5rvcj0t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@085240.5869 1ltj4j990sflp0qv4aq5rvcj0t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 61
20240725@085240.5880 1ltj4j990sflp0qv4aq5rvcj0t Query : select sestamp valor from se where ref ='324.1833.00.2' and lote = 'r2400287100a'
20240725@085240.6035 1ltj4j990sflp0qv4aq5rvcj0t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@085240.6050 1ltj4j990sflp0qv4aq5rvcj0t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'se' and documentnumber = 0
20240725@085240.6060 1ltj4j990sflp0qv4aq5rvcj0t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@085240.6079 1ltj4j990sflp0qv4aq5rvcj0t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'se' and documentnumber = 0
20240725@085240.6093 1ltj4j990sflp0qv4aq5rvcj0t Query : insert into se (sestamp,ref, lote, data,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a202646266a2044893',?,?,'20240725',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut;','aut;')
20240725@085240.6579 1ltj4j990sflp0qv4aq5rvcj0t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240725@085240.6620 1ltj4j990sflp0qv4aq5rvcj0t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@085240.6636 1ltj4j990sflp0qv4aq5rvcj0t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 61
20240725@085240.6649 1ltj4j990sflp0qv4aq5rvcj0t Query : insert into bi2 (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66a200662166a20448a1','aut66a203137266a20445ce',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 = 'aut66a203137266a20445ce'
20240725@085240.6771 1ltj4j990sflp0qv4aq5rvcj0t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@085240.6791 1ltj4j990sflp0qv4aq5rvcj0t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 61
20240725@085240.6813 1ltj4j990sflp0qv4aq5rvcj0t 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 'aut66a200662166a20448a1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 1336, 1336*.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 ,31.26,31.26*200.48,31.26,31.26*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,31.26*1336,31.26*1336*200.48 ,35.017000,35.017000*200.48 ,35.017000,35.017000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,31.26,31.26*200.48,31.26*1336,31.26*1336*200.48,'cps24031442935,556000004 ',245.76,245.76*1336,245.76,245.76*1336,?,?,?,4 from bo bo where bo.bostamp = 'aut66a203137266a20445ce'
20240725@085251.7132 1ltj4j990sflp0qv4aq5rvcj0t Query : use flama_phc
20240725@085251.7138 1ltj4j990sflp0qv4aq5rvcj0t Query : declare @bostamp varchar(25) = 'aut66a203137266a20445ce' ,@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 
20240725@085301.5071 1ltj4j990sflp0qv4aq5rvcj0t Query : use flama_phc
20240725@085301.5074 1ltj4j990sflp0qv4aq5rvcj0t Query : select 1 valor from bo where bo.bostamp = 'aut66a203137266a20445ce'
20240725@085301.5148 1ltj4j990sflp0qv4aq5rvcj0t 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) = 'aut66a203137266a20445ce' 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 
20240725@085303.6384 1ltj4j990sflp0qv4aq5rvcj0t Query : use flama_phc
20240725@085303.6388 1ltj4j990sflp0qv4aq5rvcj0t Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240725@085303.6458 1ltj4j990sflp0qv4aq5rvcj0t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1170';
20240725@085303.6486 1ltj4j990sflp0qv4aq5rvcj0t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1170';

20240725@102129.4318 42gc764lvvagn7qf7sk8imu0uo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1171';
20240725@102129.4375 42gc764lvvagn7qf7sk8imu0uo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1171';
20240725@102129.4403 42gc764lvvagn7qf7sk8imu0uo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1171';
20240725@102129.4461 42gc764lvvagn7qf7sk8imu0uo Query : use flama_phc
20240725@102129.4464 42gc764lvvagn7qf7sk8imu0uo Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240725@102129.4545 42gc764lvvagn7qf7sk8imu0uo Query : use flama_phc
20240725@102129.4548 42gc764lvvagn7qf7sk8imu0uo Query : select no, estab,szadrsdesc from szadrs where u_coddest=4804
20240725@102129.4617 42gc764lvvagn7qf7sk8imu0uo Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4723.00.2'
20240725@102129.4719 42gc764lvvagn7qf7sk8imu0uo Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4723.00.2'
20240725@102129.4743 42gc764lvvagn7qf7sk8imu0uo Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4723.00.2'
20240725@102129.4767 42gc764lvvagn7qf7sk8imu0uo Query : use flama_phc
20240725@102129.4771 42gc764lvvagn7qf7sk8imu0uo Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240725@102129.4922 42gc764lvvagn7qf7sk8imu0uo Query : use flama_phc
20240725@102129.4925 42gc764lvvagn7qf7sk8imu0uo Query : select top 1 1 valor from td where td.ndoc = 39
20240725@102129.4994 42gc764lvvagn7qf7sk8imu0uo Query : use flama_phc
20240725@102129.4998 42gc764lvvagn7qf7sk8imu0uo 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')
20240725@102129.5032 42gc764lvvagn7qf7sk8imu0uo 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
20240725@102129.5142 42gc764lvvagn7qf7sk8imu0uo Query : use flama_phc
20240725@102129.5145 42gc764lvvagn7qf7sk8imu0uo Query : select top 1 ~inactivo valor from cl where no = '101900' and estab = 0 order by inactivo desc
20240725@102129.5246 42gc764lvvagn7qf7sk8imu0uo Query : use flama_phc
20240725@102129.5250 42gc764lvvagn7qf7sk8imu0uo Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240725@102129.5313 42gc764lvvagn7qf7sk8imu0uo Query : use flama_phc
20240725@102129.5317 42gc764lvvagn7qf7sk8imu0uo Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240725@102129.5388 42gc764lvvagn7qf7sk8imu0uo Query : use flama_phc
20240725@102129.5392 42gc764lvvagn7qf7sk8imu0uo Query : select szadrsstamp valor from szadrs where szadrsdesc='101900 - pd - alfena n/p'
20240725@102129.5451 42gc764lvvagn7qf7sk8imu0uo Query : use flama_phc
20240725@102129.5454 42gc764lvvagn7qf7sk8imu0uo Query : select 1 valor from td where ndoc = 39
20240725@102129.5498 42gc764lvvagn7qf7sk8imu0uo Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240725@102129.5542 42gc764lvvagn7qf7sk8imu0uo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@102129.5560 42gc764lvvagn7qf7sk8imu0uo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240725@102129.5584 42gc764lvvagn7qf7sk8imu0uo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@102129.5603 42gc764lvvagn7qf7sk8imu0uo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240725@102129.5638 42gc764lvvagn7qf7sk8imu0uo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@102129.5655 42gc764lvvagn7qf7sk8imu0uo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240725@102129.5671 42gc764lvvagn7qf7sk8imu0uo Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240725@102129.5829 42gc764lvvagn7qf7sk8imu0uo Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240725@102129.5974 42gc764lvvagn7qf7sk8imu0uo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@102129.5990 42gc764lvvagn7qf7sk8imu0uo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240725@102129.6010 42gc764lvvagn7qf7sk8imu0uo Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66a218660766a219198a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240725@102129.6315 42gc764lvvagn7qf7sk8imu0uo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@102129.6335 42gc764lvvagn7qf7sk8imu0uo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240725@102129.6374 42gc764lvvagn7qf7sk8imu0uo Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240725@102129.6438 42gc764lvvagn7qf7sk8imu0uo Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240725@102129.6493 42gc764lvvagn7qf7sk8imu0uo Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240725@102129.6547 42gc764lvvagn7qf7sk8imu0uo Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240725@102129.6602 42gc764lvvagn7qf7sk8imu0uo Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240725@102129.6659 42gc764lvvagn7qf7sk8imu0uo Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240725@102129.6717 42gc764lvvagn7qf7sk8imu0uo Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66a218660766a219198a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240725@102129.7134 42gc764lvvagn7qf7sk8imu0uo Query : select top 1 fno valor from wsftdata order by fno desc
20240725@102129.7190 42gc764lvvagn7qf7sk8imu0uo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@102129.7208 42gc764lvvagn7qf7sk8imu0uo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240725@102129.7233 42gc764lvvagn7qf7sk8imu0uo Query : select 'normal' from dummy
20240725@102129.7284 42gc764lvvagn7qf7sk8imu0uo Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66a218660766a219198a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',23,101900,0,'2024-07-25',39,'euro',0,0,2024 ,?,?)
20240725@102129.7623 42gc764lvvagn7qf7sk8imu0uo Query : use flama_phc
20240725@102129.7627 42gc764lvvagn7qf7sk8imu0uo Query : select st.usalote valor from st where st.ref = '324.4723.00.2'
20240725@102129.7651 42gc764lvvagn7qf7sk8imu0uo 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.4723.00.2'
20240725@102129.7759 42gc764lvvagn7qf7sk8imu0uo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@102129.7776 42gc764lvvagn7qf7sk8imu0uo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240725@102129.7805 42gc764lvvagn7qf7sk8imu0uo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@102129.7823 42gc764lvvagn7qf7sk8imu0uo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240725@102129.7833 42gc764lvvagn7qf7sk8imu0uo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240725@102129.7845 42gc764lvvagn7qf7sk8imu0uo Query : select sestamp valor from se where ref ='324.4723.00.2' and lote = 'r2100192200a'
20240725@102129.7873 42gc764lvvagn7qf7sk8imu0uo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@102129.7889 42gc764lvvagn7qf7sk8imu0uo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240725@102129.7904 42gc764lvvagn7qf7sk8imu0uo Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a216900966a21919c0','aut66a218660766a219198a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240725@102129.7965 42gc764lvvagn7qf7sk8imu0uo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@102129.7983 42gc764lvvagn7qf7sk8imu0uo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240725@102129.8016 42gc764lvvagn7qf7sk8imu0uo Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66a216900966a21919c0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',39.000 ,'aut66a218660766a219198a' ,0,0 ,2,23.00,10000,?,?,?,?)
20240725@102129.8415 42gc764lvvagn7qf7sk8imu0uo Query : use flama_phc
20240725@102129.8418 42gc764lvvagn7qf7sk8imu0uo Query : select st.usalote valor from st where st.ref = '324.4723.00.2'
20240725@102129.8438 42gc764lvvagn7qf7sk8imu0uo 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.4723.00.2'
20240725@102129.8453 42gc764lvvagn7qf7sk8imu0uo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@102129.8469 42gc764lvvagn7qf7sk8imu0uo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240725@102129.8496 42gc764lvvagn7qf7sk8imu0uo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@102129.8511 42gc764lvvagn7qf7sk8imu0uo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240725@102129.8522 42gc764lvvagn7qf7sk8imu0uo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240725@102129.8535 42gc764lvvagn7qf7sk8imu0uo Query : select sestamp valor from se where ref ='324.4723.00.2' and lote = 'r2200682200a'
20240725@102129.8558 42gc764lvvagn7qf7sk8imu0uo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@102129.8573 42gc764lvvagn7qf7sk8imu0uo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240725@102129.8585 42gc764lvvagn7qf7sk8imu0uo Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a216050566a21919d0','aut66a218660766a219198a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240725@102129.8590 42gc764lvvagn7qf7sk8imu0uo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@102129.8606 42gc764lvvagn7qf7sk8imu0uo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240725@102129.8638 42gc764lvvagn7qf7sk8imu0uo Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66a216050566a21919d0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66a218660766a219198a' ,0,0 ,2,23.00,20000,?,?,?,?)
20240725@102129.8829 42gc764lvvagn7qf7sk8imu0uo Query : use flama_phc
20240725@102129.8832 42gc764lvvagn7qf7sk8imu0uo Query : select st.usalote valor from st where st.ref = '324.4723.00.2'
20240725@102129.8854 42gc764lvvagn7qf7sk8imu0uo 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.4723.00.2'
20240725@102129.8867 42gc764lvvagn7qf7sk8imu0uo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@102129.8883 42gc764lvvagn7qf7sk8imu0uo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240725@102129.8908 42gc764lvvagn7qf7sk8imu0uo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@102129.8923 42gc764lvvagn7qf7sk8imu0uo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240725@102129.8932 42gc764lvvagn7qf7sk8imu0uo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240725@102129.8945 42gc764lvvagn7qf7sk8imu0uo Query : select sestamp valor from se where ref ='324.4723.00.2' and lote = 'r2200682200a'
20240725@102129.8958 42gc764lvvagn7qf7sk8imu0uo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@102129.8974 42gc764lvvagn7qf7sk8imu0uo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240725@102129.8988 42gc764lvvagn7qf7sk8imu0uo Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a210260066a21919da','aut66a218660766a219198a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240725@102129.8992 42gc764lvvagn7qf7sk8imu0uo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@102129.9009 42gc764lvvagn7qf7sk8imu0uo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240725@102129.9039 42gc764lvvagn7qf7sk8imu0uo Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66a210260066a21919da',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',9.000 ,'aut66a218660766a219198a' ,0,0 ,2,23.00,30000,?,?,?,?)
20240725@102129.9237 42gc764lvvagn7qf7sk8imu0uo Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66a218660766a219198a','2404951','wait',39,'adm09112754980.682000002')
20240725@102129.9324 42gc764lvvagn7qf7sk8imu0uo Query : use flama_phc
20240725@102129.9327 42gc764lvvagn7qf7sk8imu0uo Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240725@102129.9358 42gc764lvvagn7qf7sk8imu0uo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1171';
20240725@102129.9385 42gc764lvvagn7qf7sk8imu0uo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1171';
20240725@102129.9423 42gc764lvvagn7qf7sk8imu0uo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1171';
20240725@102129.9446 42gc764lvvagn7qf7sk8imu0uo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1171';
20240725@102129.9997 7g3eib3ha21fn8c18nlq3e82tj Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240725@102130.9000 7g3eib3ha21fn8c18nlq3e82tj Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240725@102130.5800 7g3eib3ha21fn8c18nlq3e82tj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1172';
20240725@102130.1070 7g3eib3ha21fn8c18nlq3e82tj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1172';
20240725@102130.1560 7g3eib3ha21fn8c18nlq3e82tj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1172';
20240725@102130.1790 7g3eib3ha21fn8c18nlq3e82tj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1172';
20240725@102130.2230 7g3eib3ha21fn8c18nlq3e82tj Query : use flama_phc
20240725@102130.2270 7g3eib3ha21fn8c18nlq3e82tj Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240725@102130.3010 7g3eib3ha21fn8c18nlq3e82tj Query : use flama_phc
20240725@102130.3040 7g3eib3ha21fn8c18nlq3e82tj Query : select no, estab,szadrsdesc from szadrs where u_coddest=2448
20240725@102130.3750 7g3eib3ha21fn8c18nlq3e82tj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5347.00.1'
20240725@102130.4800 7g3eib3ha21fn8c18nlq3e82tj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '325.551.00.15'
20240725@102130.5770 7g3eib3ha21fn8c18nlq3e82tj 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.1'
20240725@102130.6790 7g3eib3ha21fn8c18nlq3e82tj Query : use flama_phc
20240725@102130.6830 7g3eib3ha21fn8c18nlq3e82tj Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240725@102130.7220 7g3eib3ha21fn8c18nlq3e82tj Query : use flama_phc
20240725@102130.7270 7g3eib3ha21fn8c18nlq3e82tj Query : select top 1 1 valor from td where td.ndoc = 39
20240725@102130.7610 7g3eib3ha21fn8c18nlq3e82tj Query : use flama_phc
20240725@102130.7650 7g3eib3ha21fn8c18nlq3e82tj 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')
20240725@102130.7980 7g3eib3ha21fn8c18nlq3e82tj 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
20240725@102130.8370 7g3eib3ha21fn8c18nlq3e82tj Query : use flama_phc
20240725@102130.8410 7g3eib3ha21fn8c18nlq3e82tj Query : select top 1 ~inactivo valor from cl where no = '101889' and estab = 0 order by inactivo desc
20240725@102130.9320 7g3eib3ha21fn8c18nlq3e82tj Query : use flama_phc
20240725@102130.9350 7g3eib3ha21fn8c18nlq3e82tj Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240725@102130.9650 7g3eib3ha21fn8c18nlq3e82tj Query : use flama_phc
20240725@102130.9680 7g3eib3ha21fn8c18nlq3e82tj Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240725@102130.1008 7g3eib3ha21fn8c18nlq3e82tj Query : use flama_phc
20240725@102130.1011 7g3eib3ha21fn8c18nlq3e82tj Query : select szadrsstamp valor from szadrs where szadrsdesc='cooplecnorte,crl'
20240725@102130.1057 7g3eib3ha21fn8c18nlq3e82tj Query : use flama_phc
20240725@102130.1060 7g3eib3ha21fn8c18nlq3e82tj Query : select 1 valor from td where ndoc = 39
20240725@102130.1073 7g3eib3ha21fn8c18nlq3e82tj Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240725@102130.1088 7g3eib3ha21fn8c18nlq3e82tj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@102130.1105 7g3eib3ha21fn8c18nlq3e82tj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240725@102130.1124 7g3eib3ha21fn8c18nlq3e82tj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@102130.1139 7g3eib3ha21fn8c18nlq3e82tj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240725@102130.1170 7g3eib3ha21fn8c18nlq3e82tj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@102130.1185 7g3eib3ha21fn8c18nlq3e82tj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240725@102130.1197 7g3eib3ha21fn8c18nlq3e82tj Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240725@102130.1267 7g3eib3ha21fn8c18nlq3e82tj Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240725@102130.1280 7g3eib3ha21fn8c18nlq3e82tj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@102130.1295 7g3eib3ha21fn8c18nlq3e82tj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240725@102130.1311 7g3eib3ha21fn8c18nlq3e82tj Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66a214008166a2191a1d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240725@102130.1437 7g3eib3ha21fn8c18nlq3e82tj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@102130.1453 7g3eib3ha21fn8c18nlq3e82tj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240725@102130.1489 7g3eib3ha21fn8c18nlq3e82tj Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240725@102130.1502 7g3eib3ha21fn8c18nlq3e82tj Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240725@102130.1514 7g3eib3ha21fn8c18nlq3e82tj Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240725@102130.1526 7g3eib3ha21fn8c18nlq3e82tj Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240725@102130.1539 7g3eib3ha21fn8c18nlq3e82tj Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240725@102130.1550 7g3eib3ha21fn8c18nlq3e82tj Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240725@102130.1563 7g3eib3ha21fn8c18nlq3e82tj Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66a214008166a2191a1d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240725@102130.1759 7g3eib3ha21fn8c18nlq3e82tj Query : select top 1 fno valor from wsftdata order by fno desc
20240725@102130.1774 7g3eib3ha21fn8c18nlq3e82tj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@102130.1790 7g3eib3ha21fn8c18nlq3e82tj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240725@102130.1813 7g3eib3ha21fn8c18nlq3e82tj Query : select 'normal' from dummy
20240725@102130.1828 7g3eib3ha21fn8c18nlq3e82tj Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66a214008166a2191a1d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24,101889,0,'2024-07-25',39,'euro',0,0,2024 ,?,?)
20240725@102130.2049 7g3eib3ha21fn8c18nlq3e82tj Query : use flama_phc
20240725@102130.2052 7g3eib3ha21fn8c18nlq3e82tj Query : select st.usalote valor from st where st.ref = '324.5347.00.1'
20240725@102130.2075 7g3eib3ha21fn8c18nlq3e82tj 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.5347.00.1'
20240725@102130.2179 7g3eib3ha21fn8c18nlq3e82tj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@102130.2195 7g3eib3ha21fn8c18nlq3e82tj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240725@102130.2222 7g3eib3ha21fn8c18nlq3e82tj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@102130.2236 7g3eib3ha21fn8c18nlq3e82tj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240725@102130.2245 7g3eib3ha21fn8c18nlq3e82tj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240725@102130.2257 7g3eib3ha21fn8c18nlq3e82tj Query : select sestamp valor from se where ref ='324.5347.00.1' and lote = 'r2300915100a'
20240725@102130.2272 7g3eib3ha21fn8c18nlq3e82tj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@102130.2286 7g3eib3ha21fn8c18nlq3e82tj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240725@102130.2298 7g3eib3ha21fn8c18nlq3e82tj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a216419266a2191a37','aut66a214008166a2191a1d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240725@102130.2302 7g3eib3ha21fn8c18nlq3e82tj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@102130.2317 7g3eib3ha21fn8c18nlq3e82tj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240725@102130.2345 7g3eib3ha21fn8c18nlq3e82tj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66a216419266a2191a37',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66a214008166a2191a1d' ,0,0 ,2,23.00,10000,?,?,?,?)
20240725@102130.2541 7g3eib3ha21fn8c18nlq3e82tj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@102130.2557 7g3eib3ha21fn8c18nlq3e82tj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240725@102130.2583 7g3eib3ha21fn8c18nlq3e82tj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@102130.2597 7g3eib3ha21fn8c18nlq3e82tj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240725@102130.2606 7g3eib3ha21fn8c18nlq3e82tj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240725@102130.2618 7g3eib3ha21fn8c18nlq3e82tj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@102130.2632 7g3eib3ha21fn8c18nlq3e82tj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240725@102130.2645 7g3eib3ha21fn8c18nlq3e82tj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a217336766a2191a3f','aut66a214008166a2191a1d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240725@102130.2649 7g3eib3ha21fn8c18nlq3e82tj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@102130.2664 7g3eib3ha21fn8c18nlq3e82tj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240725@102130.2698 7g3eib3ha21fn8c18nlq3e82tj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a217336766a2191a3f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a214008166a2191a1d' ,0,0 ,2,23.00,20000,?,?,?)
20240725@102130.2908 7g3eib3ha21fn8c18nlq3e82tj Query : use flama_phc
20240725@102130.2911 7g3eib3ha21fn8c18nlq3e82tj Query : select st.usalote valor from st where st.ref = '325.551.00.15'
20240725@102130.2933 7g3eib3ha21fn8c18nlq3e82tj 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'
20240725@102130.3039 7g3eib3ha21fn8c18nlq3e82tj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@102130.3056 7g3eib3ha21fn8c18nlq3e82tj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240725@102130.3088 7g3eib3ha21fn8c18nlq3e82tj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@102130.3104 7g3eib3ha21fn8c18nlq3e82tj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240725@102130.3112 7g3eib3ha21fn8c18nlq3e82tj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240725@102130.3126 7g3eib3ha21fn8c18nlq3e82tj Query : select sestamp valor from se where ref ='325.551.00.15' and lote = 'r210109070'
20240725@102130.3148 7g3eib3ha21fn8c18nlq3e82tj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@102130.3165 7g3eib3ha21fn8c18nlq3e82tj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240725@102130.3178 7g3eib3ha21fn8c18nlq3e82tj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a213196766a2191a4c','aut66a214008166a2191a1d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240725@102130.3182 7g3eib3ha21fn8c18nlq3e82tj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@102130.3197 7g3eib3ha21fn8c18nlq3e82tj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240725@102130.3244 7g3eib3ha21fn8c18nlq3e82tj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66a213196766a2191a4c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66a214008166a2191a1d' ,0,0 ,2,23.00,40000,?,?,?,?)
20240725@102130.3473 7g3eib3ha21fn8c18nlq3e82tj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@102130.3494 7g3eib3ha21fn8c18nlq3e82tj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240725@102130.3524 7g3eib3ha21fn8c18nlq3e82tj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@102130.3539 7g3eib3ha21fn8c18nlq3e82tj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240725@102130.3550 7g3eib3ha21fn8c18nlq3e82tj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240725@102130.3565 7g3eib3ha21fn8c18nlq3e82tj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@102130.3582 7g3eib3ha21fn8c18nlq3e82tj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240725@102130.3595 7g3eib3ha21fn8c18nlq3e82tj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a212398366a2191a57','aut66a214008166a2191a1d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240725@102130.3600 7g3eib3ha21fn8c18nlq3e82tj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@102130.3616 7g3eib3ha21fn8c18nlq3e82tj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240725@102130.3647 7g3eib3ha21fn8c18nlq3e82tj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a212398366a2191a57',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a214008166a2191a1d' ,0,0 ,2,23.00,50000,?,?,?)
20240725@102130.3855 7g3eib3ha21fn8c18nlq3e82tj Query : use flama_phc
20240725@102130.3858 7g3eib3ha21fn8c18nlq3e82tj Query : select st.usalote valor from st where st.ref = '324.4901.00.1'
20240725@102130.3879 7g3eib3ha21fn8c18nlq3e82tj 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.1'
20240725@102130.3985 7g3eib3ha21fn8c18nlq3e82tj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@102130.4002 7g3eib3ha21fn8c18nlq3e82tj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240725@102130.4030 7g3eib3ha21fn8c18nlq3e82tj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@102130.4044 7g3eib3ha21fn8c18nlq3e82tj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240725@102130.4054 7g3eib3ha21fn8c18nlq3e82tj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240725@102130.4066 7g3eib3ha21fn8c18nlq3e82tj Query : select sestamp valor from se where ref ='324.4901.00.1' and lote = 'r2200240200a'
20240725@102130.4087 7g3eib3ha21fn8c18nlq3e82tj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@102130.4105 7g3eib3ha21fn8c18nlq3e82tj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240725@102130.4118 7g3eib3ha21fn8c18nlq3e82tj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a213609966a2191a63','aut66a214008166a2191a1d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240725@102130.4122 7g3eib3ha21fn8c18nlq3e82tj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@102130.4139 7g3eib3ha21fn8c18nlq3e82tj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240725@102130.4167 7g3eib3ha21fn8c18nlq3e82tj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66a213609966a2191a63',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66a214008166a2191a1d' ,0,0 ,2,23.00,70000,?,?,?,?)
20240725@102130.4368 7g3eib3ha21fn8c18nlq3e82tj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@102130.4385 7g3eib3ha21fn8c18nlq3e82tj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240725@102130.4413 7g3eib3ha21fn8c18nlq3e82tj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@102130.4428 7g3eib3ha21fn8c18nlq3e82tj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240725@102130.4438 7g3eib3ha21fn8c18nlq3e82tj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240725@102130.4453 7g3eib3ha21fn8c18nlq3e82tj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@102130.4473 7g3eib3ha21fn8c18nlq3e82tj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240725@102130.4485 7g3eib3ha21fn8c18nlq3e82tj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a216198466a2191a6c','aut66a214008166a2191a1d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240725@102130.4489 7g3eib3ha21fn8c18nlq3e82tj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240725@102130.4506 7g3eib3ha21fn8c18nlq3e82tj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240725@102130.4535 7g3eib3ha21fn8c18nlq3e82tj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a216198466a2191a6c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a214008166a2191a1d' ,0,0 ,2,23.00,80000,?,?,?)
20240725@102130.4731 7g3eib3ha21fn8c18nlq3e82tj Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66a214008166a2191a1d','2404950','wait',39,'adm09112754980.682000002')
20240725@102130.4806 7g3eib3ha21fn8c18nlq3e82tj Query : use flama_phc
20240725@102130.4811 7g3eib3ha21fn8c18nlq3e82tj Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240725@102130.4844 7g3eib3ha21fn8c18nlq3e82tj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1172';
20240725@102130.4871 7g3eib3ha21fn8c18nlq3e82tj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1172';
20240725@102130.4908 7g3eib3ha21fn8c18nlq3e82tj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1172';
20240725@102130.4931 7g3eib3ha21fn8c18nlq3e82tj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1172';

20240726@080241.3231 cc9k42ngsofen0gv8c64n3c7d6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1173';
20240726@080241.3300 cc9k42ngsofen0gv8c64n3c7d6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1173';
20240726@080241.3370 cc9k42ngsofen0gv8c64n3c7d6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1173';
20240726@080241.3419 cc9k42ngsofen0gv8c64n3c7d6 Query : use flama_phc
20240726@080241.3423 cc9k42ngsofen0gv8c64n3c7d6 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240726@080241.3570 cc9k42ngsofen0gv8c64n3c7d6 Query : use flama_phc
20240726@080241.3573 cc9k42ngsofen0gv8c64n3c7d6 Query : select no, estab,szadrsdesc from szadrs where u_coddest=1921
20240726@080241.3721 cc9k42ngsofen0gv8c64n3c7d6 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5501.00.1'
20240726@080241.3946 cc9k42ngsofen0gv8c64n3c7d6 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2048 and bo.obrano = 2404871 and bi.ref ='324.5501.00.1' and bi.lordem =1
20240726@080241.4382 cc9k42ngsofen0gv8c64n3c7d6 Query : use flama_phc
20240726@080241.4385 cc9k42ngsofen0gv8c64n3c7d6 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240726@080241.4684 cc9k42ngsofen0gv8c64n3c7d6 Query : use flama_phc
20240726@080241.4689 cc9k42ngsofen0gv8c64n3c7d6 Query : select top 1 1 valor from td where td.ndoc = 39
20240726@080241.4855 cc9k42ngsofen0gv8c64n3c7d6 Query : use flama_phc
20240726@080241.4858 cc9k42ngsofen0gv8c64n3c7d6 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')
20240726@080241.5021 cc9k42ngsofen0gv8c64n3c7d6 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
20240726@080241.5286 cc9k42ngsofen0gv8c64n3c7d6 Query : use flama_phc
20240726@080241.5291 cc9k42ngsofen0gv8c64n3c7d6 Query : select top 1 ~inactivo valor from cl where no = '101138' and estab = 0 order by inactivo desc
20240726@080241.5470 cc9k42ngsofen0gv8c64n3c7d6 Query : use flama_phc
20240726@080241.5474 cc9k42ngsofen0gv8c64n3c7d6 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240726@080241.5619 cc9k42ngsofen0gv8c64n3c7d6 Query : use flama_phc
20240726@080241.5622 cc9k42ngsofen0gv8c64n3c7d6 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240726@080241.5741 cc9k42ngsofen0gv8c64n3c7d6 Query : use flama_phc
20240726@080241.5744 cc9k42ngsofen0gv8c64n3c7d6 Query : select szadrsstamp valor from szadrs where szadrsdesc='liberio mendes gomes'
20240726@080241.5800 cc9k42ngsofen0gv8c64n3c7d6 Query : use flama_phc
20240726@080241.5804 cc9k42ngsofen0gv8c64n3c7d6 Query : select 1 valor from td where ndoc = 39
20240726@080241.6190 cc9k42ngsofen0gv8c64n3c7d6 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240726@080241.6288 cc9k42ngsofen0gv8c64n3c7d6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080241.6735 cc9k42ngsofen0gv8c64n3c7d6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240726@080241.6857 cc9k42ngsofen0gv8c64n3c7d6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080241.6875 cc9k42ngsofen0gv8c64n3c7d6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240726@080241.6909 cc9k42ngsofen0gv8c64n3c7d6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080241.6988 cc9k42ngsofen0gv8c64n3c7d6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240726@080241.7006 cc9k42ngsofen0gv8c64n3c7d6 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240726@080241.7429 cc9k42ngsofen0gv8c64n3c7d6 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240726@080241.7651 cc9k42ngsofen0gv8c64n3c7d6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080241.7671 cc9k42ngsofen0gv8c64n3c7d6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240726@080241.7826 cc9k42ngsofen0gv8c64n3c7d6 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66a345910566a34a11ab' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240726@080241.8451 cc9k42ngsofen0gv8c64n3c7d6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080241.8615 cc9k42ngsofen0gv8c64n3c7d6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240726@080241.8666 cc9k42ngsofen0gv8c64n3c7d6 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240726@080241.8852 cc9k42ngsofen0gv8c64n3c7d6 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240726@080241.8993 cc9k42ngsofen0gv8c64n3c7d6 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240726@080241.9170 cc9k42ngsofen0gv8c64n3c7d6 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240726@080241.9335 cc9k42ngsofen0gv8c64n3c7d6 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240726@080241.9494 cc9k42ngsofen0gv8c64n3c7d6 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240726@080241.9662 cc9k42ngsofen0gv8c64n3c7d6 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66a345910566a34a11ab',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240726@080242.4270 cc9k42ngsofen0gv8c64n3c7d6 Query : select top 1 fno valor from wsftdata order by fno desc
20240726@080242.5980 cc9k42ngsofen0gv8c64n3c7d6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080242.6430 cc9k42ngsofen0gv8c64n3c7d6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240726@080242.7300 cc9k42ngsofen0gv8c64n3c7d6 Query : select 'normal' from dummy
20240726@080242.7820 cc9k42ngsofen0gv8c64n3c7d6 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66a345910566a34a11ab',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',25,101138,0,'2024-07-26',39,'euro',0,0,2024 ,?,?)
20240726@080242.1650 cc9k42ngsofen0gv8c64n3c7d6 Query : use flama_phc
20240726@080242.1653 cc9k42ngsofen0gv8c64n3c7d6 Query : select st.usalote valor from st where st.ref = '324.5501.00.1'
20240726@080242.1824 cc9k42ngsofen0gv8c64n3c7d6 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'
20240726@080242.2027 cc9k42ngsofen0gv8c64n3c7d6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080242.2043 cc9k42ngsofen0gv8c64n3c7d6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080242.2068 cc9k42ngsofen0gv8c64n3c7d6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080242.2123 cc9k42ngsofen0gv8c64n3c7d6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080242.2140 cc9k42ngsofen0gv8c64n3c7d6 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080242.2179 cc9k42ngsofen0gv8c64n3c7d6 Query : select sestamp valor from se where ref ='324.5501.00.1' and lote = 'r2300908100a'
20240726@080242.2276 cc9k42ngsofen0gv8c64n3c7d6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080242.2293 cc9k42ngsofen0gv8c64n3c7d6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080242.2313 cc9k42ngsofen0gv8c64n3c7d6 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a348198066a34a1237','aut66a345910566a34a11ab' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080242.2417 cc9k42ngsofen0gv8c64n3c7d6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080242.2434 cc9k42ngsofen0gv8c64n3c7d6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080242.2463 cc9k42ngsofen0gv8c64n3c7d6 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a348198066a34a1237',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66a345910566a34a11ab' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240726@080242.3122 cc9k42ngsofen0gv8c64n3c7d6 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66a345910566a34a11ab','2404871','wait',39,'adm09112754980.682000002')
20240726@080242.3258 cc9k42ngsofen0gv8c64n3c7d6 Query : use flama_phc
20240726@080242.3261 cc9k42ngsofen0gv8c64n3c7d6 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240726@080242.3293 cc9k42ngsofen0gv8c64n3c7d6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1173';
20240726@080242.3352 cc9k42ngsofen0gv8c64n3c7d6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1173';
20240726@080242.3414 cc9k42ngsofen0gv8c64n3c7d6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1173';
20240726@080242.3440 cc9k42ngsofen0gv8c64n3c7d6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1173';
20240726@080242.4031 aogpqna5pqpmklrvvjc83bo5kf Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240726@080242.4042 aogpqna5pqpmklrvvjc83bo5kf Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240726@080242.4146 aogpqna5pqpmklrvvjc83bo5kf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1174';
20240726@080242.4195 aogpqna5pqpmklrvvjc83bo5kf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1174';
20240726@080242.4245 aogpqna5pqpmklrvvjc83bo5kf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1174';
20240726@080242.4330 aogpqna5pqpmklrvvjc83bo5kf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1174';
20240726@080242.4379 aogpqna5pqpmklrvvjc83bo5kf Query : use flama_phc
20240726@080242.4383 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240726@080242.4494 aogpqna5pqpmklrvvjc83bo5kf Query : use flama_phc
20240726@080242.4497 aogpqna5pqpmklrvvjc83bo5kf Query : select no, estab,szadrsdesc from szadrs where u_coddest=8748
20240726@080242.5691 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4751.00.1'
20240726@080242.5911 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404952 and bi.ref ='324.4751.00.1' and bi.lordem =1
20240726@080242.6422 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4751.00.1'
20240726@080242.6489 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404952 and bi.ref ='324.4751.00.1' and bi.lordem =1
20240726@080242.6510 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4751.00.1'
20240726@080242.6530 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404952 and bi.ref ='324.4751.00.1' and bi.lordem =1
20240726@080242.6555 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4751.00.1'
20240726@080242.6577 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404952 and bi.ref ='324.4751.00.1' and bi.lordem =1
20240726@080242.6639 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4320.00.1'
20240726@080242.6893 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404952 and bi.ref ='304.4320.00.1' and bi.lordem =2
20240726@080242.7406 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4320.00.1'
20240726@080242.7429 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404952 and bi.ref ='304.4320.00.1' and bi.lordem =2
20240726@080242.7447 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4320.00.1'
20240726@080242.7580 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404952 and bi.ref ='304.4320.00.1' and bi.lordem =2
20240726@080242.7599 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4743.00.1'
20240726@080242.7823 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404952 and bi.ref ='324.4743.00.1' and bi.lordem =3
20240726@080242.8447 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4743.00.1'
20240726@080242.8471 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404952 and bi.ref ='324.4743.00.1' and bi.lordem =3
20240726@080242.8524 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4743.00.1'
20240726@080242.8553 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404952 and bi.ref ='324.4743.00.1' and bi.lordem =3
20240726@080242.8573 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4743.00.1'
20240726@080242.8667 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404952 and bi.ref ='324.4743.00.1' and bi.lordem =3
20240726@080242.8856 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4743.00.1'
20240726@080242.8880 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404952 and bi.ref ='324.4743.00.1' and bi.lordem =3
20240726@080242.8900 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4860.00.1'
20240726@080242.9118 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404952 and bi.ref ='304.4860.00.1' and bi.lordem =4
20240726@080242.9567 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4860.00.1'
20240726@080242.9594 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404952 and bi.ref ='304.4860.00.1' and bi.lordem =4
20240726@080242.9691 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4860.00.1'
20240726@080242.9714 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404952 and bi.ref ='304.4860.00.1' and bi.lordem =4
20240726@080242.9733 aogpqna5pqpmklrvvjc83bo5kf Query : use flama_phc
20240726@080242.9736 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240726@080242.9771 aogpqna5pqpmklrvvjc83bo5kf Query : use flama_phc
20240726@080242.9812 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 1 valor from td where td.ndoc = 39
20240726@080242.9855 aogpqna5pqpmklrvvjc83bo5kf Query : use flama_phc
20240726@080242.9858 aogpqna5pqpmklrvvjc83bo5kf 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')
20240726@080242.9889 aogpqna5pqpmklrvvjc83bo5kf 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
20240726@080242.9964 aogpqna5pqpmklrvvjc83bo5kf Query : use flama_phc
20240726@080242.9975 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 ~inactivo valor from cl where no = '102253' and estab = 0 order by inactivo desc
20240726@080243.1590 aogpqna5pqpmklrvvjc83bo5kf Query : use flama_phc
20240726@080243.1620 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240726@080243.1940 aogpqna5pqpmklrvvjc83bo5kf Query : use flama_phc
20240726@080243.1970 aogpqna5pqpmklrvvjc83bo5kf Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240726@080243.2790 aogpqna5pqpmklrvvjc83bo5kf Query : use flama_phc
20240726@080243.2820 aogpqna5pqpmklrvvjc83bo5kf Query : select szadrsstamp valor from szadrs where szadrsdesc='fnac - entrega'
20240726@080243.3300 aogpqna5pqpmklrvvjc83bo5kf Query : use flama_phc
20240726@080243.3340 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from td where ndoc = 39
20240726@080243.3470 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240726@080243.3630 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080243.4460 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240726@080243.4640 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080243.4790 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240726@080243.6430 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080243.6590 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240726@080243.6720 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240726@080243.7860 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240726@080243.7990 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080243.8160 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240726@080243.8320 aogpqna5pqpmklrvvjc83bo5kf Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66a346426766a34a1310' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240726@080243.1217 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080243.1286 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240726@080243.1323 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240726@080243.1336 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240726@080243.1349 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240726@080243.1361 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240726@080243.1422 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240726@080243.1437 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240726@080243.1450 aogpqna5pqpmklrvvjc83bo5kf Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66a346426766a34a1310',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240726@080243.2124 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 fno valor from wsftdata order by fno desc
20240726@080243.2143 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080243.2254 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240726@080243.2280 aogpqna5pqpmklrvvjc83bo5kf Query : select 'normal' from dummy
20240726@080243.2297 aogpqna5pqpmklrvvjc83bo5kf Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66a346426766a34a1310',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',26,102253,0,'2024-07-26',39,'euro',0,0,2024 ,?,?)
20240726@080243.2812 aogpqna5pqpmklrvvjc83bo5kf Query : use flama_phc
20240726@080243.2816 aogpqna5pqpmklrvvjc83bo5kf Query : select st.usalote valor from st where st.ref = '324.4751.00.1'
20240726@080243.2923 aogpqna5pqpmklrvvjc83bo5kf 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.4751.00.1'
20240726@080243.3263 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080243.3281 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080243.3309 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080243.3325 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080243.3336 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080243.3432 aogpqna5pqpmklrvvjc83bo5kf Query : select sestamp valor from se where ref ='324.4751.00.1' and lote = 'r2400049200a'
20240726@080243.3454 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080243.3473 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080243.3487 aogpqna5pqpmklrvvjc83bo5kf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a340158666a34a1354','aut66a346426766a34a1310' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080243.3492 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080243.3508 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080243.3543 aogpqna5pqpmklrvvjc83bo5kf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a340158666a34a1354',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',28.000 ,'aut66a346426766a34a1310' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240726@080243.3951 aogpqna5pqpmklrvvjc83bo5kf Query : use flama_phc
20240726@080243.3956 aogpqna5pqpmklrvvjc83bo5kf Query : select st.usalote valor from st where st.ref = '324.4751.00.1'
20240726@080243.3976 aogpqna5pqpmklrvvjc83bo5kf 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.4751.00.1'
20240726@080243.3990 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080243.4006 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080243.4076 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080243.4093 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080243.4104 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080243.4118 aogpqna5pqpmklrvvjc83bo5kf Query : select sestamp valor from se where ref ='324.4751.00.1' and lote = 'r2400049200a'
20240726@080243.4133 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080243.4343 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080243.4367 aogpqna5pqpmklrvvjc83bo5kf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a344132466a34a1364','aut66a346426766a34a1310' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080243.4373 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080243.5007 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080243.5972 aogpqna5pqpmklrvvjc83bo5kf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a344132466a34a1364',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32.000 ,'aut66a346426766a34a1310' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240726@080243.6380 aogpqna5pqpmklrvvjc83bo5kf Query : use flama_phc
20240726@080243.6385 aogpqna5pqpmklrvvjc83bo5kf Query : select st.usalote valor from st where st.ref = '324.4751.00.1'
20240726@080243.6406 aogpqna5pqpmklrvvjc83bo5kf 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.4751.00.1'
20240726@080243.6423 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080243.6442 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080243.6473 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080243.6555 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080243.6565 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080243.6580 aogpqna5pqpmklrvvjc83bo5kf Query : select sestamp valor from se where ref ='324.4751.00.1' and lote = 'r2400049200a'
20240726@080243.6594 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080243.6611 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080243.6624 aogpqna5pqpmklrvvjc83bo5kf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a346249166a34a13a0','aut66a346426766a34a1310' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080243.6631 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080243.6705 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080243.6739 aogpqna5pqpmklrvvjc83bo5kf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a346249166a34a13a0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32.000 ,'aut66a346426766a34a1310' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240726@080243.7151 aogpqna5pqpmklrvvjc83bo5kf Query : use flama_phc
20240726@080243.7156 aogpqna5pqpmklrvvjc83bo5kf Query : select st.usalote valor from st where st.ref = '324.4751.00.1'
20240726@080243.7181 aogpqna5pqpmklrvvjc83bo5kf 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.4751.00.1'
20240726@080243.7197 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080243.7216 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080243.7295 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080243.7314 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080243.7325 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080243.7340 aogpqna5pqpmklrvvjc83bo5kf Query : select sestamp valor from se where ref ='324.4751.00.1' and lote = 'r2400049200a'
20240726@080243.7354 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080243.7370 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080243.7383 aogpqna5pqpmklrvvjc83bo5kf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a344651966a34a13b3','aut66a346426766a34a1310' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080243.7389 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080243.7468 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080243.7505 aogpqna5pqpmklrvvjc83bo5kf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a344651966a34a13b3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32.000 ,'aut66a346426766a34a1310' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240726@080243.7944 aogpqna5pqpmklrvvjc83bo5kf Query : use flama_phc
20240726@080243.7949 aogpqna5pqpmklrvvjc83bo5kf Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20240726@080243.7976 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4320.00.1'
20240726@080243.8211 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080243.8232 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080243.8324 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080243.8342 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080243.8353 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080243.8369 aogpqna5pqpmklrvvjc83bo5kf Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '240897'
20240726@080243.8391 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080243.8447 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080243.8487 aogpqna5pqpmklrvvjc83bo5kf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a341742966a34a13cc','aut66a346426766a34a1310' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080243.8492 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080243.8511 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080243.8546 aogpqna5pqpmklrvvjc83bo5kf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a341742966a34a13cc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32.000 ,'aut66a346426766a34a1310' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20240726@080243.9072 aogpqna5pqpmklrvvjc83bo5kf Query : use flama_phc
20240726@080243.9114 aogpqna5pqpmklrvvjc83bo5kf Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20240726@080243.9219 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4320.00.1'
20240726@080243.9236 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080243.9254 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080243.9281 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080243.9296 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080243.9351 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080243.9363 aogpqna5pqpmklrvvjc83bo5kf Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '240897'
20240726@080243.9378 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080243.9393 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080243.9405 aogpqna5pqpmklrvvjc83bo5kf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a348101766a34a13e4','aut66a346426766a34a1310' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080243.9410 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080243.9425 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080243.9497 aogpqna5pqpmklrvvjc83bo5kf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a348101766a34a13e4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66a346426766a34a1310' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20240726@080243.9882 aogpqna5pqpmklrvvjc83bo5kf Query : use flama_phc
20240726@080243.9887 aogpqna5pqpmklrvvjc83bo5kf Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20240726@080243.9913 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4320.00.1'
20240726@080243.9930 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080243.9950 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080244.1500 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080244.5400 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080244.6300 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080244.7500 aogpqna5pqpmklrvvjc83bo5kf Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '240897'
20240726@080244.8700 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080244.1010 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080244.1120 aogpqna5pqpmklrvvjc83bo5kf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a340135166a34a1402','aut66a346426766a34a1310' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080244.1170 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080244.1320 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080244.2090 aogpqna5pqpmklrvvjc83bo5kf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a340135166a34a1402',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',80.000 ,'aut66a346426766a34a1310' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240726@080244.6050 aogpqna5pqpmklrvvjc83bo5kf Query : use flama_phc
20240726@080244.6080 aogpqna5pqpmklrvvjc83bo5kf Query : select st.usalote valor from st where st.ref = '324.4743.00.1'
20240726@080244.6290 aogpqna5pqpmklrvvjc83bo5kf 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.4743.00.1'
20240726@080244.8650 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080244.8800 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080244.9060 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080244.9200 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080244.9280 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080244.9860 aogpqna5pqpmklrvvjc83bo5kf Query : select sestamp valor from se where ref ='324.4743.00.1' and lote = 'r2200085100a'
20240726@080244.1011 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080244.1026 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080244.1037 aogpqna5pqpmklrvvjc83bo5kf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a345005066a34a1418','aut66a346426766a34a1310' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080244.1041 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080244.1054 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080244.1175 aogpqna5pqpmklrvvjc83bo5kf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a345005066a34a1418',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',26.000 ,'aut66a346426766a34a1310' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20240726@080244.1549 aogpqna5pqpmklrvvjc83bo5kf Query : use flama_phc
20240726@080244.1552 aogpqna5pqpmklrvvjc83bo5kf Query : select st.usalote valor from st where st.ref = '324.4743.00.1'
20240726@080244.1572 aogpqna5pqpmklrvvjc83bo5kf 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.4743.00.1'
20240726@080244.1586 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080244.1601 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080244.1625 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080244.1639 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080244.1647 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080244.1704 aogpqna5pqpmklrvvjc83bo5kf Query : select sestamp valor from se where ref ='324.4743.00.1' and lote = 'r2200085100a'
20240726@080244.1717 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080244.1733 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080244.1745 aogpqna5pqpmklrvvjc83bo5kf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a340266166a34a1429','aut66a346426766a34a1310' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080244.1750 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080244.1764 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080244.1842 aogpqna5pqpmklrvvjc83bo5kf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a340266166a34a1429',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66a346426766a34a1310' ,0,0 ,2,23.00,90000,?,?,?,?,?)
20240726@080244.2261 aogpqna5pqpmklrvvjc83bo5kf Query : use flama_phc
20240726@080244.2265 aogpqna5pqpmklrvvjc83bo5kf Query : select st.usalote valor from st where st.ref = '324.4743.00.1'
20240726@080244.2545 aogpqna5pqpmklrvvjc83bo5kf 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.4743.00.1'
20240726@080244.2617 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080244.2634 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080244.2661 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080244.2722 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080244.2733 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080244.2745 aogpqna5pqpmklrvvjc83bo5kf Query : select sestamp valor from se where ref ='324.4743.00.1' and lote = 'r2200085100a'
20240726@080244.2759 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080244.2774 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080244.2785 aogpqna5pqpmklrvvjc83bo5kf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a346493766a34a1443','aut66a346426766a34a1310' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080244.2789 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080244.2804 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080244.2877 aogpqna5pqpmklrvvjc83bo5kf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a346493766a34a1443',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32.000 ,'aut66a346426766a34a1310' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20240726@080244.3282 aogpqna5pqpmklrvvjc83bo5kf Query : use flama_phc
20240726@080244.3290 aogpqna5pqpmklrvvjc83bo5kf Query : select st.usalote valor from st where st.ref = '324.4743.00.1'
20240726@080244.3312 aogpqna5pqpmklrvvjc83bo5kf 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.4743.00.1'
20240726@080244.3387 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080244.3455 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080244.3484 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080244.3503 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080244.3512 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080244.3526 aogpqna5pqpmklrvvjc83bo5kf Query : select sestamp valor from se where ref ='324.4743.00.1' and lote = 'r2200085100a'
20240726@080244.3540 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080244.3607 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080244.3619 aogpqna5pqpmklrvvjc83bo5kf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a349487966a34a1456','aut66a346426766a34a1310' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080244.3625 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080244.3642 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080244.3673 aogpqna5pqpmklrvvjc83bo5kf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a349487966a34a1456',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32.000 ,'aut66a346426766a34a1310' ,0,0 ,2,23.00,110000,?,?,?,?,?)
20240726@080244.4104 aogpqna5pqpmklrvvjc83bo5kf Query : use flama_phc
20240726@080244.4108 aogpqna5pqpmklrvvjc83bo5kf Query : select st.usalote valor from st where st.ref = '324.4743.00.1'
20240726@080244.4131 aogpqna5pqpmklrvvjc83bo5kf 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.4743.00.1'
20240726@080244.4212 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080244.4229 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080244.4259 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080244.4277 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080244.4288 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080244.4347 aogpqna5pqpmklrvvjc83bo5kf Query : select sestamp valor from se where ref ='324.4743.00.1' and lote = 'r2200085100a'
20240726@080244.5430 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080244.7551 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080244.8218 aogpqna5pqpmklrvvjc83bo5kf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a345492566a34a1484','aut66a346426766a34a1310' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080244.8225 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080244.8247 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080244.8284 aogpqna5pqpmklrvvjc83bo5kf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a345492566a34a1484',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32.000 ,'aut66a346426766a34a1310' ,0,0 ,2,23.00,120000,?,?,?,?,?)
20240726@080244.8740 aogpqna5pqpmklrvvjc83bo5kf Query : use flama_phc
20240726@080244.8745 aogpqna5pqpmklrvvjc83bo5kf Query : select st.usalote valor from st where st.ref = '304.4860.00.1'
20240726@080244.8814 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4860.00.1'
20240726@080244.9030 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080244.9047 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080244.9118 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080244.9136 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080244.9145 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080244.9158 aogpqna5pqpmklrvvjc83bo5kf Query : select sestamp valor from se where ref ='304.4860.00.1' and lote = '241006'
20240726@080244.9179 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080244.9391 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080244.9404 aogpqna5pqpmklrvvjc83bo5kf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a345583166a34a14e0','aut66a346426766a34a1310' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080244.9409 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080244.9485 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080244.9513 aogpqna5pqpmklrvvjc83bo5kf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a345583166a34a14e0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66a346426766a34a1310' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20240726@080244.9895 aogpqna5pqpmklrvvjc83bo5kf Query : use flama_phc
20240726@080244.9899 aogpqna5pqpmklrvvjc83bo5kf Query : select st.usalote valor from st where st.ref = '304.4860.00.1'
20240726@080244.9920 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4860.00.1'
20240726@080244.9943 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080245.6900 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080245.9700 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080245.1130 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080245.1230 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080245.1370 aogpqna5pqpmklrvvjc83bo5kf Query : select sestamp valor from se where ref ='304.4860.00.1' and lote = '241006'
20240726@080245.1500 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080245.2450 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080245.2590 aogpqna5pqpmklrvvjc83bo5kf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a342632766a34a1503','aut66a346426766a34a1310' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080245.2640 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080245.2810 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080245.3160 aogpqna5pqpmklrvvjc83bo5kf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a342632766a34a1503',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32.000 ,'aut66a346426766a34a1310' ,0,0 ,2,23.00,140000,?,?,?,?,?)
20240726@080245.9890 aogpqna5pqpmklrvvjc83bo5kf Query : use flama_phc
20240726@080245.1000 aogpqna5pqpmklrvvjc83bo5kf Query : select st.usalote valor from st where st.ref = '304.4860.00.1'
20240726@080245.1026 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4860.00.1'
20240726@080245.1040 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080245.1057 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080245.1085 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080245.1146 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080245.1155 aogpqna5pqpmklrvvjc83bo5kf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080245.1167 aogpqna5pqpmklrvvjc83bo5kf Query : select sestamp valor from se where ref ='304.4860.00.1' and lote = '241006'
20240726@080245.1181 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080245.1198 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080245.1209 aogpqna5pqpmklrvvjc83bo5kf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a341149666a34a151c','aut66a346426766a34a1310' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080245.1214 aogpqna5pqpmklrvvjc83bo5kf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080245.1229 aogpqna5pqpmklrvvjc83bo5kf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080245.1304 aogpqna5pqpmklrvvjc83bo5kf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a341149666a34a151c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48.000 ,'aut66a346426766a34a1310' ,0,0 ,2,23.00,150000,?,?,?,?,?)
20240726@080245.1832 aogpqna5pqpmklrvvjc83bo5kf Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66a346426766a34a1310','2404952','wait',39,'adm09112754980.682000002')
20240726@080245.1907 aogpqna5pqpmklrvvjc83bo5kf Query : use flama_phc
20240726@080245.1910 aogpqna5pqpmklrvvjc83bo5kf Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240726@080245.2001 aogpqna5pqpmklrvvjc83bo5kf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1174';
20240726@080245.2023 aogpqna5pqpmklrvvjc83bo5kf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1174';
20240726@080245.2059 aogpqna5pqpmklrvvjc83bo5kf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1174';
20240726@080245.2117 aogpqna5pqpmklrvvjc83bo5kf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1174';
20240726@080245.3381 46106n5slgb27afellgrkb3veo Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240726@080245.3490 46106n5slgb27afellgrkb3veo Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240726@080245.3786 46106n5slgb27afellgrkb3veo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1175';
20240726@080245.4011 46106n5slgb27afellgrkb3veo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1175';
20240726@080245.4203 46106n5slgb27afellgrkb3veo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1175';
20240726@080245.4277 46106n5slgb27afellgrkb3veo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1175';
20240726@080245.4375 46106n5slgb27afellgrkb3veo Query : use flama_phc
20240726@080245.4379 46106n5slgb27afellgrkb3veo Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240726@080245.4446 46106n5slgb27afellgrkb3veo Query : use flama_phc
20240726@080245.4500 46106n5slgb27afellgrkb3veo Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240726@080245.4743 46106n5slgb27afellgrkb3veo Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.686.00.01'
20240726@080245.4962 46106n5slgb27afellgrkb3veo Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404953 and bi.ref ='324.686.00.01' and bi.lordem =1
20240726@080245.5429 46106n5slgb27afellgrkb3veo Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.686.00.01'
20240726@080245.5453 46106n5slgb27afellgrkb3veo Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404953 and bi.ref ='324.686.00.01' and bi.lordem =1
20240726@080245.5529 46106n5slgb27afellgrkb3veo Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.686.00.01'
20240726@080245.5574 46106n5slgb27afellgrkb3veo Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404953 and bi.ref ='324.686.00.01' and bi.lordem =1
20240726@080245.5591 46106n5slgb27afellgrkb3veo Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.686.00.01'
20240726@080245.5613 46106n5slgb27afellgrkb3veo Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404953 and bi.ref ='324.686.00.01' and bi.lordem =1
20240726@080245.5631 46106n5slgb27afellgrkb3veo Query : use flama_phc
20240726@080245.5635 46106n5slgb27afellgrkb3veo Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240726@080245.5707 46106n5slgb27afellgrkb3veo Query : use flama_phc
20240726@080245.5710 46106n5slgb27afellgrkb3veo Query : select top 1 1 valor from td where td.ndoc = 39
20240726@080245.5744 46106n5slgb27afellgrkb3veo Query : use flama_phc
20240726@080245.5747 46106n5slgb27afellgrkb3veo 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')
20240726@080245.5775 46106n5slgb27afellgrkb3veo 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
20240726@080245.5904 46106n5slgb27afellgrkb3veo Query : use flama_phc
20240726@080245.5908 46106n5slgb27afellgrkb3veo Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240726@080245.6109 46106n5slgb27afellgrkb3veo Query : use flama_phc
20240726@080245.6112 46106n5slgb27afellgrkb3veo Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240726@080245.6147 46106n5slgb27afellgrkb3veo Query : use flama_phc
20240726@080245.6150 46106n5slgb27afellgrkb3veo Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240726@080245.6253 46106n5slgb27afellgrkb3veo Query : use flama_phc
20240726@080245.6256 46106n5slgb27afellgrkb3veo Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240726@080245.6311 46106n5slgb27afellgrkb3veo Query : use flama_phc
20240726@080245.6314 46106n5slgb27afellgrkb3veo Query : select 1 valor from td where ndoc = 39
20240726@080245.6329 46106n5slgb27afellgrkb3veo Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240726@080245.6383 46106n5slgb27afellgrkb3veo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080245.6402 46106n5slgb27afellgrkb3veo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240726@080245.6429 46106n5slgb27afellgrkb3veo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080245.6451 46106n5slgb27afellgrkb3veo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240726@080245.6525 46106n5slgb27afellgrkb3veo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080245.6568 46106n5slgb27afellgrkb3veo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240726@080245.6581 46106n5slgb27afellgrkb3veo Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240726@080245.6713 46106n5slgb27afellgrkb3veo Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240726@080245.6745 46106n5slgb27afellgrkb3veo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080245.6763 46106n5slgb27afellgrkb3veo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240726@080245.6780 46106n5slgb27afellgrkb3veo Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66a340910466a34a15a0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240726@080245.7027 46106n5slgb27afellgrkb3veo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080245.7104 46106n5slgb27afellgrkb3veo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240726@080245.7148 46106n5slgb27afellgrkb3veo Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240726@080245.7163 46106n5slgb27afellgrkb3veo Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240726@080245.7188 46106n5slgb27afellgrkb3veo Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240726@080245.7278 46106n5slgb27afellgrkb3veo Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240726@080245.7291 46106n5slgb27afellgrkb3veo Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240726@080245.7314 46106n5slgb27afellgrkb3veo Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240726@080245.7341 46106n5slgb27afellgrkb3veo Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66a340910466a34a15a0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240726@080245.7721 46106n5slgb27afellgrkb3veo Query : select top 1 fno valor from wsftdata order by fno desc
20240726@080245.7738 46106n5slgb27afellgrkb3veo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080245.7758 46106n5slgb27afellgrkb3veo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240726@080245.7788 46106n5slgb27afellgrkb3veo Query : select 'normal' from dummy
20240726@080245.7873 46106n5slgb27afellgrkb3veo Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66a340910466a34a15a0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',27,100810,0,'2024-07-26',39,'euro',0,0,2024 ,?,?)
20240726@080245.8376 46106n5slgb27afellgrkb3veo Query : use flama_phc
20240726@080245.8380 46106n5slgb27afellgrkb3veo Query : select st.usalote valor from st where st.ref = '324.686.00.01'
20240726@080245.8413 46106n5slgb27afellgrkb3veo 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.686.00.01'
20240726@080245.8647 46106n5slgb27afellgrkb3veo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080245.8666 46106n5slgb27afellgrkb3veo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080245.8761 46106n5slgb27afellgrkb3veo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080245.8779 46106n5slgb27afellgrkb3veo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080245.8790 46106n5slgb27afellgrkb3veo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080245.8803 46106n5slgb27afellgrkb3veo Query : select sestamp valor from se where ref ='324.686.00.01' and lote = 'r2400127100a'
20240726@080245.8829 46106n5slgb27afellgrkb3veo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080245.8906 46106n5slgb27afellgrkb3veo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080245.8923 46106n5slgb27afellgrkb3veo Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a341859066a34a15d7','aut66a340910466a34a15a0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080245.8928 46106n5slgb27afellgrkb3veo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080245.8944 46106n5slgb27afellgrkb3veo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080245.8982 46106n5slgb27afellgrkb3veo Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a341859066a34a15d7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66a340910466a34a15a0' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240726@080245.9565 46106n5slgb27afellgrkb3veo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080245.9619 46106n5slgb27afellgrkb3veo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080245.9645 46106n5slgb27afellgrkb3veo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080245.9660 46106n5slgb27afellgrkb3veo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080245.9669 46106n5slgb27afellgrkb3veo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080245.9745 46106n5slgb27afellgrkb3veo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080245.9760 46106n5slgb27afellgrkb3veo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080245.9771 46106n5slgb27afellgrkb3veo Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a347999066a34a15ed','aut66a340910466a34a15a0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080245.9776 46106n5slgb27afellgrkb3veo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080245.9790 46106n5slgb27afellgrkb3veo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080245.9818 46106n5slgb27afellgrkb3veo Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a347999066a34a15ed',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a340910466a34a15a0' ,0,0 ,2,23.00,20000,?,?,?)
20240726@080246.2020 46106n5slgb27afellgrkb3veo Query : use flama_phc
20240726@080246.2050 46106n5slgb27afellgrkb3veo Query : select st.usalote valor from st where st.ref = '324.686.00.01'
20240726@080246.2230 46106n5slgb27afellgrkb3veo 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.686.00.01'
20240726@080246.2360 46106n5slgb27afellgrkb3veo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080246.2540 46106n5slgb27afellgrkb3veo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080246.3230 46106n5slgb27afellgrkb3veo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080246.3380 46106n5slgb27afellgrkb3veo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080246.3460 46106n5slgb27afellgrkb3veo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080246.3580 46106n5slgb27afellgrkb3veo Query : select sestamp valor from se where ref ='324.686.00.01' and lote = 'r2400127100a'
20240726@080246.3710 46106n5slgb27afellgrkb3veo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080246.3840 46106n5slgb27afellgrkb3veo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080246.3960 46106n5slgb27afellgrkb3veo Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a344758366a34a1609','aut66a340910466a34a15a0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080246.4000 46106n5slgb27afellgrkb3veo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080246.4850 46106n5slgb27afellgrkb3veo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080246.5120 46106n5slgb27afellgrkb3veo Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a344758366a34a1609',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66a340910466a34a15a0' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240726@080246.9080 46106n5slgb27afellgrkb3veo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080246.9250 46106n5slgb27afellgrkb3veo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080246.9510 46106n5slgb27afellgrkb3veo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080246.9660 46106n5slgb27afellgrkb3veo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080246.9750 46106n5slgb27afellgrkb3veo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080246.9870 46106n5slgb27afellgrkb3veo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080246.1042 46106n5slgb27afellgrkb3veo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080246.1079 46106n5slgb27afellgrkb3veo Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a340455566a34a1618','aut66a340910466a34a15a0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080246.1083 46106n5slgb27afellgrkb3veo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080246.1098 46106n5slgb27afellgrkb3veo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080246.1127 46106n5slgb27afellgrkb3veo Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a340455566a34a1618',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a340910466a34a15a0' ,0,0 ,2,23.00,50000,?,?,?)
20240726@080246.1521 46106n5slgb27afellgrkb3veo Query : use flama_phc
20240726@080246.1524 46106n5slgb27afellgrkb3veo Query : select st.usalote valor from st where st.ref = '324.686.00.01'
20240726@080246.1544 46106n5slgb27afellgrkb3veo 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.686.00.01'
20240726@080246.1564 46106n5slgb27afellgrkb3veo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080246.1580 46106n5slgb27afellgrkb3veo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080246.1911 46106n5slgb27afellgrkb3veo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080246.1926 46106n5slgb27afellgrkb3veo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080246.1935 46106n5slgb27afellgrkb3veo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080246.1947 46106n5slgb27afellgrkb3veo Query : select sestamp valor from se where ref ='324.686.00.01' and lote = 'r2400127100a'
20240726@080246.1959 46106n5slgb27afellgrkb3veo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080246.2022 46106n5slgb27afellgrkb3veo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080246.2035 46106n5slgb27afellgrkb3veo Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a343154066a34a162f','aut66a340910466a34a15a0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080246.2040 46106n5slgb27afellgrkb3veo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080246.2056 46106n5slgb27afellgrkb3veo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080246.2085 46106n5slgb27afellgrkb3veo Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a343154066a34a162f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66a340910466a34a15a0' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240726@080246.2491 46106n5slgb27afellgrkb3veo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080246.2509 46106n5slgb27afellgrkb3veo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080246.2560 46106n5slgb27afellgrkb3veo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080246.2639 46106n5slgb27afellgrkb3veo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080246.2650 46106n5slgb27afellgrkb3veo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080246.2663 46106n5slgb27afellgrkb3veo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080246.2681 46106n5slgb27afellgrkb3veo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080246.2693 46106n5slgb27afellgrkb3veo Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a340255766a34a1641','aut66a340910466a34a15a0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080246.2697 46106n5slgb27afellgrkb3veo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080246.2712 46106n5slgb27afellgrkb3veo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080246.2787 46106n5slgb27afellgrkb3veo Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a340255766a34a1641',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a340910466a34a15a0' ,0,0 ,2,23.00,80000,?,?,?)
20240726@080246.3157 46106n5slgb27afellgrkb3veo Query : use flama_phc
20240726@080246.3181 46106n5slgb27afellgrkb3veo Query : select st.usalote valor from st where st.ref = '324.686.00.01'
20240726@080246.3205 46106n5slgb27afellgrkb3veo 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.686.00.01'
20240726@080246.3219 46106n5slgb27afellgrkb3veo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080246.3235 46106n5slgb27afellgrkb3veo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080246.3264 46106n5slgb27afellgrkb3veo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080246.3379 46106n5slgb27afellgrkb3veo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080246.3390 46106n5slgb27afellgrkb3veo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080246.3405 46106n5slgb27afellgrkb3veo Query : select sestamp valor from se where ref ='324.686.00.01' and lote = 'r2400127100a'
20240726@080246.3419 46106n5slgb27afellgrkb3veo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080246.3438 46106n5slgb27afellgrkb3veo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080246.3449 46106n5slgb27afellgrkb3veo Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a342478666a34a1653','aut66a340910466a34a15a0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080246.3454 46106n5slgb27afellgrkb3veo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080246.3470 46106n5slgb27afellgrkb3veo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080246.3631 46106n5slgb27afellgrkb3veo Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a342478666a34a1653',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66a340910466a34a15a0' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20240726@080246.4027 46106n5slgb27afellgrkb3veo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080246.4043 46106n5slgb27afellgrkb3veo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080246.4068 46106n5slgb27afellgrkb3veo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080246.4083 46106n5slgb27afellgrkb3veo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080246.4092 46106n5slgb27afellgrkb3veo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080246.4151 46106n5slgb27afellgrkb3veo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080246.4168 46106n5slgb27afellgrkb3veo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080246.4180 46106n5slgb27afellgrkb3veo Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a349920966a34a1665','aut66a340910466a34a15a0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080246.4184 46106n5slgb27afellgrkb3veo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080246.4207 46106n5slgb27afellgrkb3veo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080246.4237 46106n5slgb27afellgrkb3veo Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a349920966a34a1665',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a340910466a34a15a0' ,0,0 ,2,23.00,110000,?,?,?)
20240726@080246.4940 46106n5slgb27afellgrkb3veo Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66a340910466a34a15a0','2404953','wait',39,'adm09112754980.682000002')
20240726@080246.5926 46106n5slgb27afellgrkb3veo Query : use flama_phc
20240726@080246.5930 46106n5slgb27afellgrkb3veo Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240726@080246.6004 46106n5slgb27afellgrkb3veo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1175';
20240726@080246.6030 46106n5slgb27afellgrkb3veo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1175';
20240726@080246.6069 46106n5slgb27afellgrkb3veo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1175';
20240726@080246.6095 46106n5slgb27afellgrkb3veo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1175';
20240726@080246.7428 jf5p5jpqaur6nvq1m0b728kgk7 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240726@080246.7448 jf5p5jpqaur6nvq1m0b728kgk7 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240726@080246.7553 jf5p5jpqaur6nvq1m0b728kgk7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1176';
20240726@080246.7610 jf5p5jpqaur6nvq1m0b728kgk7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1176';
20240726@080246.7751 jf5p5jpqaur6nvq1m0b728kgk7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1176';
20240726@080246.7779 jf5p5jpqaur6nvq1m0b728kgk7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1176';
20240726@080246.7831 jf5p5jpqaur6nvq1m0b728kgk7 Query : use flama_phc
20240726@080246.7873 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240726@080246.8000 jf5p5jpqaur6nvq1m0b728kgk7 Query : use flama_phc
20240726@080246.8007 jf5p5jpqaur6nvq1m0b728kgk7 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240726@080246.8157 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240726@080246.8385 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404954 and bi.ref ='324.679.00.01' and bi.lordem =1
20240726@080246.8853 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240726@080246.8884 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404954 and bi.ref ='324.679.00.01' and bi.lordem =1
20240726@080246.8961 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240726@080246.8987 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404954 and bi.ref ='324.679.00.01' and bi.lordem =1
20240726@080246.9006 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240726@080246.9028 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404954 and bi.ref ='324.679.00.01' and bi.lordem =1
20240726@080246.9117 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240726@080246.9162 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404954 and bi.ref ='324.679.00.01' and bi.lordem =1
20240726@080246.9179 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240726@080246.9198 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404954 and bi.ref ='324.679.00.01' and bi.lordem =1
20240726@080246.9214 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240726@080246.9233 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404954 and bi.ref ='324.679.00.01' and bi.lordem =1
20240726@080246.9300 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240726@080246.9320 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404954 and bi.ref ='324.679.00.01' and bi.lordem =1
20240726@080246.9337 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240726@080246.9364 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404954 and bi.ref ='324.679.00.01' and bi.lordem =1
20240726@080246.9542 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240726@080246.9937 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404954 and bi.ref ='324.679.00.01' and bi.lordem =1
20240726@080246.9968 jf5p5jpqaur6nvq1m0b728kgk7 Query : use flama_phc
20240726@080246.9971 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240726@080247.4000 jf5p5jpqaur6nvq1m0b728kgk7 Query : use flama_phc
20240726@080247.7000 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 1 valor from td where td.ndoc = 39
20240726@080247.3600 jf5p5jpqaur6nvq1m0b728kgk7 Query : use flama_phc
20240726@080247.3900 jf5p5jpqaur6nvq1m0b728kgk7 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')
20240726@080247.1110 jf5p5jpqaur6nvq1m0b728kgk7 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
20240726@080247.1450 jf5p5jpqaur6nvq1m0b728kgk7 Query : use flama_phc
20240726@080247.1480 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240726@080247.1840 jf5p5jpqaur6nvq1m0b728kgk7 Query : use flama_phc
20240726@080247.1860 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240726@080247.2730 jf5p5jpqaur6nvq1m0b728kgk7 Query : use flama_phc
20240726@080247.2830 jf5p5jpqaur6nvq1m0b728kgk7 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240726@080247.3250 jf5p5jpqaur6nvq1m0b728kgk7 Query : use flama_phc
20240726@080247.3280 jf5p5jpqaur6nvq1m0b728kgk7 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240726@080247.3790 jf5p5jpqaur6nvq1m0b728kgk7 Query : use flama_phc
20240726@080247.3810 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from td where ndoc = 39
20240726@080247.3930 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240726@080247.4530 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.4680 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240726@080247.4860 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.5070 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240726@080247.5370 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.5510 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240726@080247.6250 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240726@080247.6960 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240726@080247.7080 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.7870 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240726@080247.8030 jf5p5jpqaur6nvq1m0b728kgk7 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66a348225066a34a170f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240726@080247.1096 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.1164 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240726@080247.1197 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240726@080247.1208 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240726@080247.1219 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240726@080247.1230 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240726@080247.1242 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240726@080247.1297 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240726@080247.1308 jf5p5jpqaur6nvq1m0b728kgk7 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66a348225066a34a170f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240726@080247.1613 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 fno valor from wsftdata order by fno desc
20240726@080247.1627 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.1709 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240726@080247.1731 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 'normal' from dummy
20240726@080247.1747 jf5p5jpqaur6nvq1m0b728kgk7 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66a348225066a34a170f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',28,100810,0,'2024-07-26',39,'euro',0,0,2024 ,?,?)
20240726@080247.2197 jf5p5jpqaur6nvq1m0b728kgk7 Query : use flama_phc
20240726@080247.2201 jf5p5jpqaur6nvq1m0b728kgk7 Query : select st.usalote valor from st where st.ref = '324.679.00.01'
20240726@080247.2224 jf5p5jpqaur6nvq1m0b728kgk7 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.679.00.01'
20240726@080247.2451 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.2469 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080247.2543 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.2562 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080247.2572 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080247.2585 jf5p5jpqaur6nvq1m0b728kgk7 Query : select sestamp valor from se where ref ='324.679.00.01' and lote = 'r2400282100a'
20240726@080247.2606 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.2623 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080247.2680 jf5p5jpqaur6nvq1m0b728kgk7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a348819366a34a173f','aut66a348225066a34a170f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080247.2686 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.2701 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080247.2731 jf5p5jpqaur6nvq1m0b728kgk7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a348819366a34a173f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66a348225066a34a170f' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240726@080247.3104 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.3135 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080247.3164 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.3226 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080247.3246 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080247.3259 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.3274 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080247.3286 jf5p5jpqaur6nvq1m0b728kgk7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a340777066a34a174f','aut66a348225066a34a170f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080247.3291 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.3309 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080247.3338 jf5p5jpqaur6nvq1m0b728kgk7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a340777066a34a174f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a348225066a34a170f' ,0,0 ,2,23.00,20000,?,?,?)
20240726@080247.3716 jf5p5jpqaur6nvq1m0b728kgk7 Query : use flama_phc
20240726@080247.3719 jf5p5jpqaur6nvq1m0b728kgk7 Query : select st.usalote valor from st where st.ref = '324.679.00.01'
20240726@080247.3785 jf5p5jpqaur6nvq1m0b728kgk7 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.679.00.01'
20240726@080247.3799 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.3814 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080247.3839 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.3855 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080247.3864 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080247.3878 jf5p5jpqaur6nvq1m0b728kgk7 Query : select sestamp valor from se where ref ='324.679.00.01' and lote = 'r2400282100a'
20240726@080247.3953 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.3971 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080247.3984 jf5p5jpqaur6nvq1m0b728kgk7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a343128366a34a1760','aut66a348225066a34a170f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080247.3988 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.4003 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080247.4039 jf5p5jpqaur6nvq1m0b728kgk7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a343128366a34a1760',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66a348225066a34a170f' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240726@080247.4453 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.4469 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080247.4495 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.4516 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080247.4573 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080247.4586 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.4602 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080247.4615 jf5p5jpqaur6nvq1m0b728kgk7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a349793466a34a176f','aut66a348225066a34a170f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080247.4620 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.4634 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080247.4665 jf5p5jpqaur6nvq1m0b728kgk7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a349793466a34a176f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a348225066a34a170f' ,0,0 ,2,23.00,50000,?,?,?)
20240726@080247.5061 jf5p5jpqaur6nvq1m0b728kgk7 Query : use flama_phc
20240726@080247.5064 jf5p5jpqaur6nvq1m0b728kgk7 Query : select st.usalote valor from st where st.ref = '324.679.00.01'
20240726@080247.5086 jf5p5jpqaur6nvq1m0b728kgk7 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.679.00.01'
20240726@080247.5101 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.5166 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080247.5195 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.5209 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080247.5218 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080247.5232 jf5p5jpqaur6nvq1m0b728kgk7 Query : select sestamp valor from se where ref ='324.679.00.01' and lote = 'r2400282100a'
20240726@080247.5246 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.5307 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080247.5319 jf5p5jpqaur6nvq1m0b728kgk7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a346083566a34a1780','aut66a348225066a34a170f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080247.5324 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.5338 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080247.5364 jf5p5jpqaur6nvq1m0b728kgk7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a346083566a34a1780',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66a348225066a34a170f' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240726@080247.5749 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.5764 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080247.5789 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.5805 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080247.5813 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080247.5888 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.5903 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080247.5915 jf5p5jpqaur6nvq1m0b728kgk7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a342296866a34a178f','aut66a348225066a34a170f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080247.5933 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.5946 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080247.5974 jf5p5jpqaur6nvq1m0b728kgk7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a342296866a34a178f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a348225066a34a170f' ,0,0 ,2,23.00,80000,?,?,?)
20240726@080247.6335 jf5p5jpqaur6nvq1m0b728kgk7 Query : use flama_phc
20240726@080247.6338 jf5p5jpqaur6nvq1m0b728kgk7 Query : select st.usalote valor from st where st.ref = '324.679.00.01'
20240726@080247.6358 jf5p5jpqaur6nvq1m0b728kgk7 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.679.00.01'
20240726@080247.6371 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.6390 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080247.6457 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.6477 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080247.6486 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080247.6498 jf5p5jpqaur6nvq1m0b728kgk7 Query : select sestamp valor from se where ref ='324.679.00.01' and lote = 'r2400282100a'
20240726@080247.6511 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.6527 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080247.6538 jf5p5jpqaur6nvq1m0b728kgk7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a344310066a34a179e','aut66a348225066a34a170f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080247.6543 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.6558 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080247.6630 jf5p5jpqaur6nvq1m0b728kgk7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a344310066a34a179e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66a348225066a34a170f' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20240726@080247.7025 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.7041 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080247.7092 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.7152 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080247.7167 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080247.7180 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.7197 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080247.7209 jf5p5jpqaur6nvq1m0b728kgk7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a349959966a34a17af','aut66a348225066a34a170f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080247.7213 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.7228 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080247.7256 jf5p5jpqaur6nvq1m0b728kgk7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a349959966a34a17af',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a348225066a34a170f' ,0,0 ,2,23.00,110000,?,?,?)
20240726@080247.7648 jf5p5jpqaur6nvq1m0b728kgk7 Query : use flama_phc
20240726@080247.7657 jf5p5jpqaur6nvq1m0b728kgk7 Query : select st.usalote valor from st where st.ref = '324.679.00.01'
20240726@080247.7691 jf5p5jpqaur6nvq1m0b728kgk7 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.679.00.01'
20240726@080247.7708 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.7777 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080247.7805 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.7823 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080247.7833 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080247.7847 jf5p5jpqaur6nvq1m0b728kgk7 Query : select sestamp valor from se where ref ='324.679.00.01' and lote = 'r2400282100a'
20240726@080247.7860 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.7943 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080247.7958 jf5p5jpqaur6nvq1m0b728kgk7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a347645166a34a17bf','aut66a348225066a34a170f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080247.7962 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.7979 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080247.8013 jf5p5jpqaur6nvq1m0b728kgk7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a347645166a34a17bf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66a348225066a34a170f' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20240726@080247.8661 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.8682 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080247.8713 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.8795 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080247.8804 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080247.8818 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.8836 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080247.8849 jf5p5jpqaur6nvq1m0b728kgk7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a340613066a34a17d7','aut66a348225066a34a170f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080247.8854 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.8870 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080247.8994 jf5p5jpqaur6nvq1m0b728kgk7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a340613066a34a17d7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a348225066a34a170f' ,0,0 ,2,23.00,140000,?,?,?)
20240726@080247.9409 jf5p5jpqaur6nvq1m0b728kgk7 Query : use flama_phc
20240726@080247.9412 jf5p5jpqaur6nvq1m0b728kgk7 Query : select st.usalote valor from st where st.ref = '324.679.00.01'
20240726@080247.9432 jf5p5jpqaur6nvq1m0b728kgk7 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.679.00.01'
20240726@080247.9445 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.9462 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080247.9488 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.9551 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080247.9559 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080247.9571 jf5p5jpqaur6nvq1m0b728kgk7 Query : select sestamp valor from se where ref ='324.679.00.01' and lote = 'r2400282100a'
20240726@080247.9592 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.9608 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080247.9662 jf5p5jpqaur6nvq1m0b728kgk7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a348464566a34a17ea','aut66a348225066a34a170f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080247.9732 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080247.9951 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080248.1275 jf5p5jpqaur6nvq1m0b728kgk7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a348464566a34a17ea',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66a348225066a34a170f' ,0,0 ,2,23.00,160000,?,?,?,?,?)
20240726@080248.1650 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080248.1668 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080248.1693 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080248.1706 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080248.1715 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080248.1727 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080248.1741 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080248.1826 jf5p5jpqaur6nvq1m0b728kgk7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a345519666a34a182a','aut66a348225066a34a170f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080248.1831 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080248.1851 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080248.1883 jf5p5jpqaur6nvq1m0b728kgk7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a345519666a34a182a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a348225066a34a170f' ,0,0 ,2,23.00,170000,?,?,?)
20240726@080248.2259 jf5p5jpqaur6nvq1m0b728kgk7 Query : use flama_phc
20240726@080248.2263 jf5p5jpqaur6nvq1m0b728kgk7 Query : select st.usalote valor from st where st.ref = '324.679.00.01'
20240726@080248.2285 jf5p5jpqaur6nvq1m0b728kgk7 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.679.00.01'
20240726@080248.2301 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080248.2316 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080248.2380 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080248.2418 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080248.2427 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080248.2442 jf5p5jpqaur6nvq1m0b728kgk7 Query : select sestamp valor from se where ref ='324.679.00.01' and lote = 'r2400282100a'
20240726@080248.2457 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080248.2471 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080248.2485 jf5p5jpqaur6nvq1m0b728kgk7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a346545166a34a183b','aut66a348225066a34a170f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080248.2489 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080248.2503 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080248.2599 jf5p5jpqaur6nvq1m0b728kgk7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a346545166a34a183b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66a348225066a34a170f' ,0,0 ,2,23.00,190000,?,?,?,?,?)
20240726@080248.3016 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080248.3035 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080248.3066 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080248.3083 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080248.3099 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080248.3162 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080248.3180 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080248.3195 jf5p5jpqaur6nvq1m0b728kgk7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a342896866a34a184d','aut66a348225066a34a170f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080248.3200 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080248.3218 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080248.3300 jf5p5jpqaur6nvq1m0b728kgk7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a342896866a34a184d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a348225066a34a170f' ,0,0 ,2,23.00,200000,?,?,?)
20240726@080248.3691 jf5p5jpqaur6nvq1m0b728kgk7 Query : use flama_phc
20240726@080248.3695 jf5p5jpqaur6nvq1m0b728kgk7 Query : select st.usalote valor from st where st.ref = '324.679.00.01'
20240726@080248.3715 jf5p5jpqaur6nvq1m0b728kgk7 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.679.00.01'
20240726@080248.3729 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080248.3747 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080248.3776 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080248.3854 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080248.3863 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080248.3875 jf5p5jpqaur6nvq1m0b728kgk7 Query : select sestamp valor from se where ref ='324.679.00.01' and lote = 'r2400282100a'
20240726@080248.3888 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080248.3904 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080248.3923 jf5p5jpqaur6nvq1m0b728kgk7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a347447966a34a185e','aut66a348225066a34a170f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080248.3928 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080248.4022 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080248.4055 jf5p5jpqaur6nvq1m0b728kgk7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a347447966a34a185e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66a348225066a34a170f' ,0,0 ,2,23.00,220000,?,?,?,?,?)
20240726@080248.4483 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080248.4500 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080248.4525 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080248.4540 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080248.4549 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080248.4561 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080248.4649 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080248.4662 jf5p5jpqaur6nvq1m0b728kgk7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a344805066a34a186f','aut66a348225066a34a170f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080248.4667 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080248.4685 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080248.4714 jf5p5jpqaur6nvq1m0b728kgk7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a344805066a34a186f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a348225066a34a170f' ,0,0 ,2,23.00,230000,?,?,?)
20240726@080248.5200 jf5p5jpqaur6nvq1m0b728kgk7 Query : use flama_phc
20240726@080248.5203 jf5p5jpqaur6nvq1m0b728kgk7 Query : select st.usalote valor from st where st.ref = '324.679.00.01'
20240726@080248.5227 jf5p5jpqaur6nvq1m0b728kgk7 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.679.00.01'
20240726@080248.5243 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080248.5262 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080248.5340 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080248.5359 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080248.5370 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080248.5385 jf5p5jpqaur6nvq1m0b728kgk7 Query : select sestamp valor from se where ref ='324.679.00.01' and lote = 'r2400282100a'
20240726@080248.5401 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080248.5427 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080248.5491 jf5p5jpqaur6nvq1m0b728kgk7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a341084566a34a1883','aut66a348225066a34a170f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080248.5496 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080248.5517 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080248.5609 jf5p5jpqaur6nvq1m0b728kgk7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a341084566a34a1883',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66a348225066a34a170f' ,0,0 ,2,23.00,250000,?,?,?,?,?)
20240726@080248.6013 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080248.6032 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080248.6063 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080248.6302 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080248.6413 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080248.6428 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080248.6446 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080248.6460 jf5p5jpqaur6nvq1m0b728kgk7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a348242666a34a189c','aut66a348225066a34a170f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080248.6465 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080248.6481 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080248.6579 jf5p5jpqaur6nvq1m0b728kgk7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a348242666a34a189c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a348225066a34a170f' ,0,0 ,2,23.00,260000,?,?,?)
20240726@080248.6981 jf5p5jpqaur6nvq1m0b728kgk7 Query : use flama_phc
20240726@080248.6989 jf5p5jpqaur6nvq1m0b728kgk7 Query : select st.usalote valor from st where st.ref = '324.679.00.01'
20240726@080248.7012 jf5p5jpqaur6nvq1m0b728kgk7 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.679.00.01'
20240726@080248.7029 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080248.7047 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080248.7143 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080248.7161 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080248.7173 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080248.7186 jf5p5jpqaur6nvq1m0b728kgk7 Query : select sestamp valor from se where ref ='324.679.00.01' and lote = 'r2400282100a'
20240726@080248.7201 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080248.7219 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080248.7277 jf5p5jpqaur6nvq1m0b728kgk7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a345234066a34a18af','aut66a348225066a34a170f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080248.7306 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080248.7325 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080248.7358 jf5p5jpqaur6nvq1m0b728kgk7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a345234066a34a18af',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66a348225066a34a170f' ,0,0 ,2,23.00,280000,?,?,?,?,?)
20240726@080248.7896 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080248.7922 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080248.7954 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080248.8057 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080248.8078 jf5p5jpqaur6nvq1m0b728kgk7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080248.8093 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080248.8112 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080248.8126 jf5p5jpqaur6nvq1m0b728kgk7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a347084266a34a18c5','aut66a348225066a34a170f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080248.8130 jf5p5jpqaur6nvq1m0b728kgk7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080248.8147 jf5p5jpqaur6nvq1m0b728kgk7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080248.8244 jf5p5jpqaur6nvq1m0b728kgk7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a347084266a34a18c5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a348225066a34a170f' ,0,0 ,2,23.00,290000,?,?,?)
20240726@080248.8662 jf5p5jpqaur6nvq1m0b728kgk7 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66a348225066a34a170f','2404954','wait',39,'adm09112754980.682000002')
20240726@080248.8745 jf5p5jpqaur6nvq1m0b728kgk7 Query : use flama_phc
20240726@080248.8748 jf5p5jpqaur6nvq1m0b728kgk7 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240726@080248.8839 jf5p5jpqaur6nvq1m0b728kgk7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1176';
20240726@080248.8865 jf5p5jpqaur6nvq1m0b728kgk7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1176';
20240726@080248.8903 jf5p5jpqaur6nvq1m0b728kgk7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1176';
20240726@080248.9004 jf5p5jpqaur6nvq1m0b728kgk7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1176';
20240726@080248.9647 5clg5r1ksarbh1bucdjohmo7qh Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240726@080248.9659 5clg5r1ksarbh1bucdjohmo7qh Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240726@080248.9707 5clg5r1ksarbh1bucdjohmo7qh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1177';
20240726@080248.9844 5clg5r1ksarbh1bucdjohmo7qh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1177';
20240726@080248.9898 5clg5r1ksarbh1bucdjohmo7qh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1177';
20240726@080248.9985 5clg5r1ksarbh1bucdjohmo7qh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1177';
20240726@080249.3800 5clg5r1ksarbh1bucdjohmo7qh Query : use flama_phc
20240726@080249.4200 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240726@080249.1780 5clg5r1ksarbh1bucdjohmo7qh Query : use flama_phc
20240726@080249.1830 5clg5r1ksarbh1bucdjohmo7qh Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240726@080249.2210 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240726@080249.8590 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404955 and bi.ref ='324.675.00.01' and bi.lordem =1
20240726@080249.1329 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240726@080249.1352 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404955 and bi.ref ='324.675.00.01' and bi.lordem =1
20240726@080249.1372 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240726@080249.1460 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404955 and bi.ref ='324.675.00.01' and bi.lordem =1
20240726@080249.1478 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240726@080249.1500 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404955 and bi.ref ='324.675.00.01' and bi.lordem =1
20240726@080249.1525 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240726@080249.1583 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404955 and bi.ref ='324.675.00.01' and bi.lordem =1
20240726@080249.1640 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240726@080249.1661 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404955 and bi.ref ='324.675.00.01' and bi.lordem =1
20240726@080249.1680 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240726@080249.1702 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404955 and bi.ref ='324.675.00.01' and bi.lordem =1
20240726@080249.1760 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240726@080249.1807 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404955 and bi.ref ='324.675.00.01' and bi.lordem =1
20240726@080249.1825 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240726@080249.1845 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404955 and bi.ref ='324.675.00.01' and bi.lordem =1
20240726@080249.1862 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240726@080249.1882 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2049 and bo.obrano = 2404955 and bi.ref ='324.675.00.01' and bi.lordem =1
20240726@080249.1963 5clg5r1ksarbh1bucdjohmo7qh Query : use flama_phc
20240726@080249.1967 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240726@080249.2002 5clg5r1ksarbh1bucdjohmo7qh Query : use flama_phc
20240726@080249.2005 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 1 valor from td where td.ndoc = 39
20240726@080249.2101 5clg5r1ksarbh1bucdjohmo7qh Query : use flama_phc
20240726@080249.2131 5clg5r1ksarbh1bucdjohmo7qh 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')
20240726@080249.2409 5clg5r1ksarbh1bucdjohmo7qh 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
20240726@080249.2506 5clg5r1ksarbh1bucdjohmo7qh Query : use flama_phc
20240726@080249.2510 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240726@080249.2542 5clg5r1ksarbh1bucdjohmo7qh Query : use flama_phc
20240726@080249.2546 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240726@080249.2577 5clg5r1ksarbh1bucdjohmo7qh Query : use flama_phc
20240726@080249.2580 5clg5r1ksarbh1bucdjohmo7qh Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240726@080249.2676 5clg5r1ksarbh1bucdjohmo7qh Query : use flama_phc
20240726@080249.2679 5clg5r1ksarbh1bucdjohmo7qh Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240726@080249.2727 5clg5r1ksarbh1bucdjohmo7qh Query : use flama_phc
20240726@080249.2730 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from td where ndoc = 39
20240726@080249.2744 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240726@080249.2798 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080249.2836 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240726@080249.2857 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080249.2873 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240726@080249.2905 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080249.2959 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240726@080249.2996 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240726@080249.3074 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240726@080249.3153 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080249.3170 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240726@080249.3188 5clg5r1ksarbh1bucdjohmo7qh Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66a344757366a34a1949' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240726@080249.3437 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080249.3458 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240726@080249.3575 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240726@080249.3588 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240726@080249.3600 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240726@080249.3611 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240726@080249.3623 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240726@080249.3635 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240726@080249.3693 5clg5r1ksarbh1bucdjohmo7qh Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66a344757366a34a1949',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240726@080249.4071 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 fno valor from wsftdata order by fno desc
20240726@080249.4089 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080249.4109 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240726@080249.4202 5clg5r1ksarbh1bucdjohmo7qh Query : select 'normal' from dummy
20240726@080249.4222 5clg5r1ksarbh1bucdjohmo7qh Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66a344757366a34a1949',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',29,100810,0,'2024-07-26',39,'euro',0,0,2024 ,?,?)
20240726@080249.4665 5clg5r1ksarbh1bucdjohmo7qh Query : use flama_phc
20240726@080249.4668 5clg5r1ksarbh1bucdjohmo7qh Query : select st.usalote valor from st where st.ref = '324.675.00.01'
20240726@080249.4696 5clg5r1ksarbh1bucdjohmo7qh 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.675.00.01'
20240726@080249.4997 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080249.5036 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080249.5062 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080249.5077 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080249.5085 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080249.5097 5clg5r1ksarbh1bucdjohmo7qh Query : select sestamp valor from se where ref ='324.675.00.01' and lote = 'r2400282200a'
20240726@080249.5109 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080249.5184 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080249.5195 5clg5r1ksarbh1bucdjohmo7qh Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a340506566a34a197c','aut66a344757366a34a1949' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080249.5200 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080249.5214 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080249.5241 5clg5r1ksarbh1bucdjohmo7qh Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a340506566a34a197c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66a344757366a34a1949' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240726@080249.5656 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080249.5673 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080249.5706 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080249.5722 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080249.5795 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080249.5809 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080249.5826 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080249.5838 5clg5r1ksarbh1bucdjohmo7qh Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a349227066a34a198d','aut66a344757366a34a1949' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080249.5843 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080249.5857 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080249.5889 5clg5r1ksarbh1bucdjohmo7qh Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a349227066a34a198d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a344757366a34a1949' ,0,0 ,2,23.00,20000,?,?,?)
20240726@080249.6314 5clg5r1ksarbh1bucdjohmo7qh Query : use flama_phc
20240726@080249.6317 5clg5r1ksarbh1bucdjohmo7qh Query : select st.usalote valor from st where st.ref = '324.675.00.01'
20240726@080249.6359 5clg5r1ksarbh1bucdjohmo7qh 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.675.00.01'
20240726@080249.6414 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080249.6448 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080249.6483 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080249.6500 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080249.6512 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080249.6526 5clg5r1ksarbh1bucdjohmo7qh Query : select sestamp valor from se where ref ='324.675.00.01' and lote = 'r2400282200a'
20240726@080249.6595 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080249.6611 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080249.6625 5clg5r1ksarbh1bucdjohmo7qh Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a341949966a34a19a1','aut66a344757366a34a1949' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080249.6631 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080249.6651 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080249.6807 5clg5r1ksarbh1bucdjohmo7qh Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a341949966a34a19a1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66a344757366a34a1949' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240726@080249.7300 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080249.7388 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080249.7422 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080249.7448 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080249.7571 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080249.7584 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080249.7766 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080249.7966 5clg5r1ksarbh1bucdjohmo7qh Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a343201866a34a19b9','aut66a344757366a34a1949' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080249.8013 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080249.8106 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080249.8136 5clg5r1ksarbh1bucdjohmo7qh Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a343201866a34a19b9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a344757366a34a1949' ,0,0 ,2,23.00,50000,?,?,?)
20240726@080249.8577 5clg5r1ksarbh1bucdjohmo7qh Query : use flama_phc
20240726@080249.8581 5clg5r1ksarbh1bucdjohmo7qh Query : select st.usalote valor from st where st.ref = '324.675.00.01'
20240726@080249.8605 5clg5r1ksarbh1bucdjohmo7qh 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.675.00.01'
20240726@080249.8620 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080249.8639 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080249.8675 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080249.8752 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080249.8762 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080249.8776 5clg5r1ksarbh1bucdjohmo7qh Query : select sestamp valor from se where ref ='324.675.00.01' and lote = 'r2400282200a'
20240726@080249.8842 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080249.8927 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080249.8940 5clg5r1ksarbh1bucdjohmo7qh Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a346837266a34a19d7','aut66a344757366a34a1949' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080249.8945 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080249.8994 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080249.9115 5clg5r1ksarbh1bucdjohmo7qh Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a346837266a34a19d7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66a344757366a34a1949' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240726@080249.9576 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080249.9653 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080249.9679 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080249.9694 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080249.9703 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080249.9715 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080249.9730 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080249.9743 5clg5r1ksarbh1bucdjohmo7qh Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a348770666a34a19ed','aut66a344757366a34a1949' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080249.9748 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080249.9762 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080249.9792 5clg5r1ksarbh1bucdjohmo7qh Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a348770666a34a19ed',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a344757366a34a1949' ,0,0 ,2,23.00,80000,?,?,?)
20240726@080250.9300 5clg5r1ksarbh1bucdjohmo7qh Query : use flama_phc
20240726@080250.9700 5clg5r1ksarbh1bucdjohmo7qh Query : select st.usalote valor from st where st.ref = '324.675.00.01'
20240726@080250.1150 5clg5r1ksarbh1bucdjohmo7qh 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.675.00.01'
20240726@080250.1300 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.1570 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080250.1910 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.2090 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080250.2190 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080250.2310 5clg5r1ksarbh1bucdjohmo7qh Query : select sestamp valor from se where ref ='324.675.00.01' and lote = 'r2400282200a'
20240726@080250.2440 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.2640 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080250.2780 5clg5r1ksarbh1bucdjohmo7qh Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a346850366a34a1a05','aut66a344757366a34a1949' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080250.2840 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.3010 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080250.3300 5clg5r1ksarbh1bucdjohmo7qh Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a346850366a34a1a05',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66a344757366a34a1949' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20240726@080250.6300 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.6470 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080250.6990 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.7160 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080250.7250 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080250.1023 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.1526 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080250.1872 5clg5r1ksarbh1bucdjohmo7qh Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a346095366a34a1a18','aut66a344757366a34a1949' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080250.1956 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.2029 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080250.2062 5clg5r1ksarbh1bucdjohmo7qh Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a346095366a34a1a18',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a344757366a34a1949' ,0,0 ,2,23.00,110000,?,?,?)
20240726@080250.2341 5clg5r1ksarbh1bucdjohmo7qh Query : use flama_phc
20240726@080250.2344 5clg5r1ksarbh1bucdjohmo7qh Query : select st.usalote valor from st where st.ref = '324.675.00.01'
20240726@080250.2365 5clg5r1ksarbh1bucdjohmo7qh 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.675.00.01'
20240726@080250.2379 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.2395 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080250.2419 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.2433 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080250.2442 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080250.2453 5clg5r1ksarbh1bucdjohmo7qh Query : select sestamp valor from se where ref ='324.675.00.01' and lote = 'r2400282200a'
20240726@080250.2468 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.2482 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080250.2495 5clg5r1ksarbh1bucdjohmo7qh Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a348286166a34a1a3c','aut66a344757366a34a1949' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080250.2499 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.2514 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080250.2546 5clg5r1ksarbh1bucdjohmo7qh Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a348286166a34a1a3c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66a344757366a34a1949' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20240726@080250.2978 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.2999 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080250.3029 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.3046 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080250.3056 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080250.3070 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.3087 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080250.3099 5clg5r1ksarbh1bucdjohmo7qh Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a340322666a34a1a4a','aut66a344757366a34a1949' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080250.3104 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.3119 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080250.3147 5clg5r1ksarbh1bucdjohmo7qh Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a340322666a34a1a4a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a344757366a34a1949' ,0,0 ,2,23.00,140000,?,?,?)
20240726@080250.3416 5clg5r1ksarbh1bucdjohmo7qh Query : use flama_phc
20240726@080250.3419 5clg5r1ksarbh1bucdjohmo7qh Query : select st.usalote valor from st where st.ref = '324.675.00.01'
20240726@080250.3440 5clg5r1ksarbh1bucdjohmo7qh 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.675.00.01'
20240726@080250.3457 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.3474 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080250.3504 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.3520 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080250.3529 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080250.3542 5clg5r1ksarbh1bucdjohmo7qh Query : select sestamp valor from se where ref ='324.675.00.01' and lote = 'r2400282200a'
20240726@080250.3555 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.3573 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080250.3585 5clg5r1ksarbh1bucdjohmo7qh Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a346142866a34a1a56','aut66a344757366a34a1949' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080250.3602 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.3619 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080250.3652 5clg5r1ksarbh1bucdjohmo7qh Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a346142866a34a1a56',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66a344757366a34a1949' ,0,0 ,2,23.00,160000,?,?,?,?,?)
20240726@080250.3951 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.3971 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080250.3995 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.4008 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080250.4016 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080250.4026 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.4039 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080250.4050 5clg5r1ksarbh1bucdjohmo7qh Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a341841366a34a1a62','aut66a344757366a34a1949' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080250.4054 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.4069 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080250.4096 5clg5r1ksarbh1bucdjohmo7qh Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a341841366a34a1a62',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a344757366a34a1949' ,0,0 ,2,23.00,170000,?,?,?)
20240726@080250.4349 5clg5r1ksarbh1bucdjohmo7qh Query : use flama_phc
20240726@080250.4352 5clg5r1ksarbh1bucdjohmo7qh Query : select st.usalote valor from st where st.ref = '324.675.00.01'
20240726@080250.4372 5clg5r1ksarbh1bucdjohmo7qh 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.675.00.01'
20240726@080250.4387 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.4403 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080250.4427 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.4441 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080250.4449 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080250.4461 5clg5r1ksarbh1bucdjohmo7qh Query : select sestamp valor from se where ref ='324.675.00.01' and lote = 'r2400282200a'
20240726@080250.4474 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.4490 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080250.4501 5clg5r1ksarbh1bucdjohmo7qh Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a347096666a34a1a6d','aut66a344757366a34a1949' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080250.4506 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.4520 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080250.4548 5clg5r1ksarbh1bucdjohmo7qh Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a347096666a34a1a6d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66a344757366a34a1949' ,0,0 ,2,23.00,190000,?,?,?,?,?)
20240726@080250.4853 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.4873 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080250.4900 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.4914 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080250.4922 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080250.4935 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.4950 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080250.4962 5clg5r1ksarbh1bucdjohmo7qh Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a349284766a34a1a78','aut66a344757366a34a1949' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080250.4967 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.4982 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080250.5014 5clg5r1ksarbh1bucdjohmo7qh Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a349284766a34a1a78',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a344757366a34a1949' ,0,0 ,2,23.00,200000,?,?,?)
20240726@080250.5298 5clg5r1ksarbh1bucdjohmo7qh Query : use flama_phc
20240726@080250.5301 5clg5r1ksarbh1bucdjohmo7qh Query : select st.usalote valor from st where st.ref = '324.675.00.01'
20240726@080250.5321 5clg5r1ksarbh1bucdjohmo7qh 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.675.00.01'
20240726@080250.5338 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.5354 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080250.5379 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.5394 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080250.5403 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080250.5415 5clg5r1ksarbh1bucdjohmo7qh Query : select sestamp valor from se where ref ='324.675.00.01' and lote = 'r2400282200a'
20240726@080250.5428 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.5442 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080250.5453 5clg5r1ksarbh1bucdjohmo7qh Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a347211566a34a1a84','aut66a344757366a34a1949' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080250.5458 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.5473 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080250.5503 5clg5r1ksarbh1bucdjohmo7qh Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a347211566a34a1a84',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66a344757366a34a1949' ,0,0 ,2,23.00,220000,?,?,?,?,?)
20240726@080250.5776 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.5793 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080250.5820 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.5834 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080250.5843 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080250.5856 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.5873 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080250.5885 5clg5r1ksarbh1bucdjohmo7qh Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a349071966a34a1a8e','aut66a344757366a34a1949' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080250.5890 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.5904 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080250.5932 5clg5r1ksarbh1bucdjohmo7qh Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a349071966a34a1a8e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a344757366a34a1949' ,0,0 ,2,23.00,230000,?,?,?)
20240726@080250.6240 5clg5r1ksarbh1bucdjohmo7qh Query : use flama_phc
20240726@080250.6243 5clg5r1ksarbh1bucdjohmo7qh Query : select st.usalote valor from st where st.ref = '324.675.00.01'
20240726@080250.6265 5clg5r1ksarbh1bucdjohmo7qh 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.675.00.01'
20240726@080250.6350 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.6368 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080250.6398 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.6413 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080250.6439 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080250.6494 5clg5r1ksarbh1bucdjohmo7qh Query : select sestamp valor from se where ref ='324.675.00.01' and lote = 'r2400282200a'
20240726@080250.6509 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.6526 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080250.6634 5clg5r1ksarbh1bucdjohmo7qh Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a340905666a34a1a9e','aut66a344757366a34a1949' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080250.6642 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.6659 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080250.6689 5clg5r1ksarbh1bucdjohmo7qh Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a340905666a34a1a9e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66a344757366a34a1949' ,0,0 ,2,23.00,250000,?,?,?,?,?)
20240726@080250.6977 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.7003 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080250.7032 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.7050 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080250.7062 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080250.7076 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.7091 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080250.7105 5clg5r1ksarbh1bucdjohmo7qh Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a347872566a34a1aac','aut66a344757366a34a1949' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080250.7110 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.7128 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080250.7159 5clg5r1ksarbh1bucdjohmo7qh Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66a347872566a34a1aac',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66a344757366a34a1949' ,0,0 ,2,23.00,260000,?,?,?)
20240726@080250.7438 5clg5r1ksarbh1bucdjohmo7qh Query : use flama_phc
20240726@080250.7471 5clg5r1ksarbh1bucdjohmo7qh Query : select st.usalote valor from st where st.ref = '324.675.00.01'
20240726@080250.7497 5clg5r1ksarbh1bucdjohmo7qh 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.675.00.01'
20240726@080250.7518 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.7540 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080250.7567 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.7585 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080250.7595 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080250.7608 5clg5r1ksarbh1bucdjohmo7qh Query : select sestamp valor from se where ref ='324.675.00.01' and lote = 'r2400282200a'
20240726@080250.7627 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.7642 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080250.7655 5clg5r1ksarbh1bucdjohmo7qh Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a343725966a34a1aba','aut66a344757366a34a1949' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240726@080250.7662 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.7678 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080250.7709 5clg5r1ksarbh1bucdjohmo7qh Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66a343725966a34a1aba',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66a344757366a34a1949' ,0,0 ,2,23.00,280000,?,?,?,?,?)
20240726@080250.8001 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.8036 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240726@080250.8066 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.8081 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080250.8127 5clg5r1ksarbh1bucdjohmo7qh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240726@080250.8195 5clg5r1ksarbh1bucdjohmo7qh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240726@080250.8211 5clg5r1ksarbh1bucdjohmo7qh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240726@080250.8243 5clg5r1ksarbh1bucdjohmo7qh Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66a341810866a34a1ac8','aut66a344757366a34a1949' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
