20240924@175459.9820 41dg9eg5ia2gc1u19eujvgcvaf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175459.9970 41dg9eg5ia2gc1u19eujvgcvaf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175459.1025 41dg9eg5ia2gc1u19eujvgcvaf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66f2e7340366f2eee317',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66f2e6056366f2eee29f' ,0,0 ,2,23.00,90000,?,?,?)
20240924@175459.1272 41dg9eg5ia2gc1u19eujvgcvaf Query : use flama_phc
20240924@175459.1277 41dg9eg5ia2gc1u19eujvgcvaf Query : select st.usalote valor from st where st.ref = '323.318.09.00'
20240924@175459.1298 41dg9eg5ia2gc1u19eujvgcvaf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '323.318.09.00'
20240924@175459.1442 41dg9eg5ia2gc1u19eujvgcvaf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175459.1459 41dg9eg5ia2gc1u19eujvgcvaf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175459.1485 41dg9eg5ia2gc1u19eujvgcvaf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175459.1499 41dg9eg5ia2gc1u19eujvgcvaf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175459.1508 41dg9eg5ia2gc1u19eujvgcvaf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175459.1522 41dg9eg5ia2gc1u19eujvgcvaf Query : select sestamp valor from se where ref ='323.318.09.00' and lote = 'r2400053200a'
20240924@175459.1536 41dg9eg5ia2gc1u19eujvgcvaf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175459.1550 41dg9eg5ia2gc1u19eujvgcvaf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175459.1563 41dg9eg5ia2gc1u19eujvgcvaf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e9156366f2eee325','aut66f2e6056366f2eee29f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175459.1567 41dg9eg5ia2gc1u19eujvgcvaf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175459.1583 41dg9eg5ia2gc1u19eujvgcvaf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175459.1610 41dg9eg5ia2gc1u19eujvgcvaf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f2e9156366f2eee325',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66f2e6056366f2eee29f' ,0,0 ,2,23.00,110000,?,?,?,?,?)
20240924@175459.1878 41dg9eg5ia2gc1u19eujvgcvaf Query : use flama_phc
20240924@175459.1881 41dg9eg5ia2gc1u19eujvgcvaf Query : select st.usalote valor from st where st.ref = '324.1705.00.1'
20240924@175459.1901 41dg9eg5ia2gc1u19eujvgcvaf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240924@175459.2045 41dg9eg5ia2gc1u19eujvgcvaf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175459.2060 41dg9eg5ia2gc1u19eujvgcvaf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175459.2086 41dg9eg5ia2gc1u19eujvgcvaf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175459.2100 41dg9eg5ia2gc1u19eujvgcvaf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175459.2109 41dg9eg5ia2gc1u19eujvgcvaf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175459.2124 41dg9eg5ia2gc1u19eujvgcvaf Query : select sestamp valor from se where ref ='324.1705.00.1' and lote = 'r2400050500a'
20240924@175459.2143 41dg9eg5ia2gc1u19eujvgcvaf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175459.2157 41dg9eg5ia2gc1u19eujvgcvaf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175459.2168 41dg9eg5ia2gc1u19eujvgcvaf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e0898466f2eee334','aut66f2e6056366f2eee29f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175459.2173 41dg9eg5ia2gc1u19eujvgcvaf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175459.2187 41dg9eg5ia2gc1u19eujvgcvaf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175459.2214 41dg9eg5ia2gc1u19eujvgcvaf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f2e0898466f2eee334',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66f2e6056366f2eee29f' ,0,0 ,2,23.00,120000,?,?,?,?,?)
20240924@175459.2508 41dg9eg5ia2gc1u19eujvgcvaf Query : use flama_phc
20240924@175459.2511 41dg9eg5ia2gc1u19eujvgcvaf Query : select st.usalote valor from st where st.ref = '324.5501.00.1'
20240924@175459.2530 41dg9eg5ia2gc1u19eujvgcvaf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240924@175459.2668 41dg9eg5ia2gc1u19eujvgcvaf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175459.2683 41dg9eg5ia2gc1u19eujvgcvaf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175459.2709 41dg9eg5ia2gc1u19eujvgcvaf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175459.2724 41dg9eg5ia2gc1u19eujvgcvaf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175459.2733 41dg9eg5ia2gc1u19eujvgcvaf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175459.2747 41dg9eg5ia2gc1u19eujvgcvaf Query : select sestamp valor from se where ref ='324.5501.00.1' and lote = 'r2300908100a'
20240924@175459.2766 41dg9eg5ia2gc1u19eujvgcvaf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175459.2781 41dg9eg5ia2gc1u19eujvgcvaf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175459.2792 41dg9eg5ia2gc1u19eujvgcvaf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e5732966f2eee343','aut66f2e6056366f2eee29f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175459.2796 41dg9eg5ia2gc1u19eujvgcvaf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175459.2810 41dg9eg5ia2gc1u19eujvgcvaf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175459.2840 41dg9eg5ia2gc1u19eujvgcvaf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f2e5732966f2eee343',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66f2e6056366f2eee29f' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20240924@175459.3110 41dg9eg5ia2gc1u19eujvgcvaf Query : use flama_phc
20240924@175459.3113 41dg9eg5ia2gc1u19eujvgcvaf Query : select st.usalote valor from st where st.ref = '324.1675.00.2'
20240924@175459.3134 41dg9eg5ia2gc1u19eujvgcvaf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1675.00.2'
20240924@175459.3286 41dg9eg5ia2gc1u19eujvgcvaf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175459.3301 41dg9eg5ia2gc1u19eujvgcvaf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175459.3329 41dg9eg5ia2gc1u19eujvgcvaf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175459.3346 41dg9eg5ia2gc1u19eujvgcvaf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175459.3356 41dg9eg5ia2gc1u19eujvgcvaf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175459.3369 41dg9eg5ia2gc1u19eujvgcvaf Query : select sestamp valor from se where ref ='324.1675.00.2' and lote = 'r2200299200a'
20240924@175459.3396 41dg9eg5ia2gc1u19eujvgcvaf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175459.3411 41dg9eg5ia2gc1u19eujvgcvaf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175459.3425 41dg9eg5ia2gc1u19eujvgcvaf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e6747166f2eee352','aut66f2e6056366f2eee29f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175459.3430 41dg9eg5ia2gc1u19eujvgcvaf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175459.3447 41dg9eg5ia2gc1u19eujvgcvaf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175459.3477 41dg9eg5ia2gc1u19eujvgcvaf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f2e6747166f2eee352',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut66f2e6056366f2eee29f' ,0,0 ,2,23.00,140000,?,?,?,?,?)
20240924@175459.3741 41dg9eg5ia2gc1u19eujvgcvaf Query : use flama_phc
20240924@175459.3744 41dg9eg5ia2gc1u19eujvgcvaf Query : select st.usalote valor from st where st.ref = '324.1675.00.2'
20240924@175459.3763 41dg9eg5ia2gc1u19eujvgcvaf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1675.00.2'
20240924@175459.3776 41dg9eg5ia2gc1u19eujvgcvaf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175459.3791 41dg9eg5ia2gc1u19eujvgcvaf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175459.3815 41dg9eg5ia2gc1u19eujvgcvaf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175459.3829 41dg9eg5ia2gc1u19eujvgcvaf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175459.3837 41dg9eg5ia2gc1u19eujvgcvaf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175459.3849 41dg9eg5ia2gc1u19eujvgcvaf Query : select sestamp valor from se where ref ='324.1675.00.2' and lote = 'r2200299200a'
20240924@175459.3862 41dg9eg5ia2gc1u19eujvgcvaf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175459.3878 41dg9eg5ia2gc1u19eujvgcvaf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175459.3890 41dg9eg5ia2gc1u19eujvgcvaf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e0565766f2eee35e','aut66f2e6056366f2eee29f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175459.3894 41dg9eg5ia2gc1u19eujvgcvaf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175459.3907 41dg9eg5ia2gc1u19eujvgcvaf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175459.3934 41dg9eg5ia2gc1u19eujvgcvaf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f2e0565766f2eee35e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66f2e6056366f2eee29f' ,0,0 ,2,23.00,150000,?,?,?,?,?)
20240924@175459.4182 41dg9eg5ia2gc1u19eujvgcvaf Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66f2e6056366f2eee29f','2406184','wait',39,'adm09112754980.682000002')
20240924@175459.4260 41dg9eg5ia2gc1u19eujvgcvaf Query : use flama_phc
20240924@175459.4264 41dg9eg5ia2gc1u19eujvgcvaf Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240924@175459.4298 41dg9eg5ia2gc1u19eujvgcvaf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2195';
20240924@175459.4352 41dg9eg5ia2gc1u19eujvgcvaf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2195';
20240924@175459.4430 41dg9eg5ia2gc1u19eujvgcvaf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2195';
20240924@175459.5340 41dg9eg5ia2gc1u19eujvgcvaf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2195';
20240924@175459.6627 4huk4luls1tonlgdth27kauo5b Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240924@175459.6640 4huk4luls1tonlgdth27kauo5b Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240924@175459.6695 4huk4luls1tonlgdth27kauo5b Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2196';
20240924@175459.6750 4huk4luls1tonlgdth27kauo5b Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2196';
20240924@175459.6803 4huk4luls1tonlgdth27kauo5b Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2196';
20240924@175459.6828 4huk4luls1tonlgdth27kauo5b Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2196';
20240924@175459.6880 4huk4luls1tonlgdth27kauo5b Query : use flama_phc
20240924@175459.6883 4huk4luls1tonlgdth27kauo5b Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240924@175459.6946 4huk4luls1tonlgdth27kauo5b Query : use flama_phc
20240924@175459.6949 4huk4luls1tonlgdth27kauo5b Query : select no, estab,szadrsdesc from szadrs where u_coddest=4743
20240924@175459.6990 4huk4luls1tonlgdth27kauo5b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.691.00.01'
20240924@175459.7010 4huk4luls1tonlgdth27kauo5b Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2061 and bo.obrano = 2406187 and bi.ref ='324.691.00.01' and bi.lordem =1
20240924@175459.7376 4huk4luls1tonlgdth27kauo5b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.691.00.01'
20240924@175459.7397 4huk4luls1tonlgdth27kauo5b Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2061 and bo.obrano = 2406187 and bi.ref ='324.691.00.01' and bi.lordem =1
20240924@175459.7416 4huk4luls1tonlgdth27kauo5b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.691.00.01'
20240924@175459.7437 4huk4luls1tonlgdth27kauo5b Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2061 and bo.obrano = 2406187 and bi.ref ='324.691.00.01' and bi.lordem =1
20240924@175459.7460 4huk4luls1tonlgdth27kauo5b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.691.00.01'
20240924@175459.7479 4huk4luls1tonlgdth27kauo5b Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2061 and bo.obrano = 2406187 and bi.ref ='324.691.00.01' and bi.lordem =1
20240924@175459.7495 4huk4luls1tonlgdth27kauo5b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.691.00.01'
20240924@175459.7516 4huk4luls1tonlgdth27kauo5b Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2061 and bo.obrano = 2406187 and bi.ref ='324.691.00.01' and bi.lordem =1
20240924@175459.7544 4huk4luls1tonlgdth27kauo5b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.691.00.01'
20240924@175459.7566 4huk4luls1tonlgdth27kauo5b Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2061 and bo.obrano = 2406187 and bi.ref ='324.691.00.01' and bi.lordem =1
20240924@175459.7584 4huk4luls1tonlgdth27kauo5b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.691.00.01'
20240924@175459.7602 4huk4luls1tonlgdth27kauo5b Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2061 and bo.obrano = 2406187 and bi.ref ='324.691.00.01' and bi.lordem =1
20240924@175459.7618 4huk4luls1tonlgdth27kauo5b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.691.00.01'
20240924@175459.7639 4huk4luls1tonlgdth27kauo5b Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2061 and bo.obrano = 2406187 and bi.ref ='324.691.00.01' and bi.lordem =1
20240924@175459.7659 4huk4luls1tonlgdth27kauo5b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.691.00.01'
20240924@175459.7680 4huk4luls1tonlgdth27kauo5b Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2061 and bo.obrano = 2406187 and bi.ref ='324.691.00.01' and bi.lordem =1
20240924@175459.7697 4huk4luls1tonlgdth27kauo5b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.691.00.01'
20240924@175459.7715 4huk4luls1tonlgdth27kauo5b Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2061 and bo.obrano = 2406187 and bi.ref ='324.691.00.01' and bi.lordem =1
20240924@175459.7734 4huk4luls1tonlgdth27kauo5b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.691.00.01'
20240924@175459.7753 4huk4luls1tonlgdth27kauo5b Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2061 and bo.obrano = 2406187 and bi.ref ='324.691.00.01' and bi.lordem =1
20240924@175459.7769 4huk4luls1tonlgdth27kauo5b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.691.00.01'
20240924@175459.7791 4huk4luls1tonlgdth27kauo5b Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2061 and bo.obrano = 2406187 and bi.ref ='324.691.00.01' and bi.lordem =1
20240924@175459.7808 4huk4luls1tonlgdth27kauo5b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.691.00.01'
20240924@175459.7831 4huk4luls1tonlgdth27kauo5b Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2061 and bo.obrano = 2406187 and bi.ref ='324.691.00.01' and bi.lordem =1
20240924@175459.7855 4huk4luls1tonlgdth27kauo5b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.691.00.01'
20240924@175459.7875 4huk4luls1tonlgdth27kauo5b Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2061 and bo.obrano = 2406187 and bi.ref ='324.691.00.01' and bi.lordem =1
20240924@175459.7899 4huk4luls1tonlgdth27kauo5b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.691.00.01'
20240924@175459.7922 4huk4luls1tonlgdth27kauo5b Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2061 and bo.obrano = 2406187 and bi.ref ='324.691.00.01' and bi.lordem =1
20240924@175459.7947 4huk4luls1tonlgdth27kauo5b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.691.00.01'
20240924@175459.7968 4huk4luls1tonlgdth27kauo5b Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2061 and bo.obrano = 2406187 and bi.ref ='324.691.00.01' and bi.lordem =1
20240924@175459.7984 4huk4luls1tonlgdth27kauo5b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.691.00.01'
20240924@175459.8003 4huk4luls1tonlgdth27kauo5b Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2061 and bo.obrano = 2406187 and bi.ref ='324.691.00.01' and bi.lordem =1
20240924@175459.8019 4huk4luls1tonlgdth27kauo5b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.691.00.01'
20240924@175459.8039 4huk4luls1tonlgdth27kauo5b Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2061 and bo.obrano = 2406187 and bi.ref ='324.691.00.01' and bi.lordem =2
20240924@175459.8375 4huk4luls1tonlgdth27kauo5b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.691.00.01'
20240924@175459.8395 4huk4luls1tonlgdth27kauo5b Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2061 and bo.obrano = 2406187 and bi.ref ='324.691.00.01' and bi.lordem =2
20240924@175459.8414 4huk4luls1tonlgdth27kauo5b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.691.00.01'
20240924@175459.8436 4huk4luls1tonlgdth27kauo5b Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2061 and bo.obrano = 2406187 and bi.ref ='324.691.00.01' and bi.lordem =2
20240924@175459.8455 4huk4luls1tonlgdth27kauo5b Query : use flama_phc
20240924@175459.8458 4huk4luls1tonlgdth27kauo5b Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240924@175459.8489 4huk4luls1tonlgdth27kauo5b Query : use flama_phc
20240924@175459.8492 4huk4luls1tonlgdth27kauo5b Query : select top 1 1 valor from td where td.ndoc = 39
20240924@175459.8522 4huk4luls1tonlgdth27kauo5b Query : use flama_phc
20240924@175459.8525 4huk4luls1tonlgdth27kauo5b 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')
20240924@175459.8726 4huk4luls1tonlgdth27kauo5b 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
20240924@175459.8763 4huk4luls1tonlgdth27kauo5b Query : use flama_phc
20240924@175459.8766 4huk4luls1tonlgdth27kauo5b Query : select top 1 ~inactivo valor from cl where no = '101597' and estab = 0 order by inactivo desc
20240924@175459.8797 4huk4luls1tonlgdth27kauo5b Query : use flama_phc
20240924@175459.8800 4huk4luls1tonlgdth27kauo5b Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240924@175459.8835 4huk4luls1tonlgdth27kauo5b Query : use flama_phc
20240924@175459.8839 4huk4luls1tonlgdth27kauo5b Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240924@175459.8883 4huk4luls1tonlgdth27kauo5b Query : use flama_phc
20240924@175459.8886 4huk4luls1tonlgdth27kauo5b Query : select szadrsstamp valor from szadrs where szadrsdesc='101597 - auchan retail portugal , sa'
20240924@175459.8933 4huk4luls1tonlgdth27kauo5b Query : use flama_phc
20240924@175459.8936 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from td where ndoc = 39
20240924@175459.8948 4huk4luls1tonlgdth27kauo5b Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240924@175459.8963 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175459.8980 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240924@175459.9000 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175459.9025 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240924@175459.9055 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175459.9070 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240924@175459.9083 4huk4luls1tonlgdth27kauo5b Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240924@175459.9154 4huk4luls1tonlgdth27kauo5b Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240924@175459.9167 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175459.9185 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240924@175459.9201 4huk4luls1tonlgdth27kauo5b Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66f2e8395366f2eee3dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240924@175459.9381 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175459.9397 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240924@175459.9445 4huk4luls1tonlgdth27kauo5b Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240924@175459.9458 4huk4luls1tonlgdth27kauo5b Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240924@175459.9474 4huk4luls1tonlgdth27kauo5b Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240924@175459.9486 4huk4luls1tonlgdth27kauo5b Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240924@175459.9500 4huk4luls1tonlgdth27kauo5b Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240924@175459.9513 4huk4luls1tonlgdth27kauo5b Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240924@175459.9529 4huk4luls1tonlgdth27kauo5b Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66f2e8395366f2eee3dd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240924@175459.9836 4huk4luls1tonlgdth27kauo5b Query : select top 1 fno valor from wsftdata order by fno desc
20240924@175459.9877 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175459.9895 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240924@175459.9931 4huk4luls1tonlgdth27kauo5b Query : select 'normal' from dummy
20240924@175459.9947 4huk4luls1tonlgdth27kauo5b Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66f2e8395366f2eee3dd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',926,101597,0,'2024-09-24',39,'euro',0,0,2024 ,?,?)
20240924@175500.2590 4huk4luls1tonlgdth27kauo5b Query : use flama_phc
20240924@175500.2620 4huk4luls1tonlgdth27kauo5b Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240924@175500.2840 4huk4luls1tonlgdth27kauo5b Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240924@175500.3010 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.3170 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175500.3440 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.3600 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175500.3690 4huk4luls1tonlgdth27kauo5b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175500.3820 4huk4luls1tonlgdth27kauo5b Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400210200a'
20240924@175500.3950 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.4100 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175500.4230 4huk4luls1tonlgdth27kauo5b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e5840466f2eee409','aut66f2e8395366f2eee3dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175500.4270 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.4430 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175500.4730 4huk4luls1tonlgdth27kauo5b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f2e5840466f2eee409',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',7.000 ,'aut66f2e8395366f2eee3dd' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240924@175500.7390 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.7570 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175500.7840 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.7990 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175500.8080 4huk4luls1tonlgdth27kauo5b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175500.8330 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.8500 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175500.8620 4huk4luls1tonlgdth27kauo5b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e4833266f2eee414','aut66f2e8395366f2eee3dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175500.8660 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.8810 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175500.9110 4huk4luls1tonlgdth27kauo5b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66f2e4833266f2eee414',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66f2e8395366f2eee3dd' ,0,0 ,2,23.00,20000,?,?,?)
20240924@175500.1171 4huk4luls1tonlgdth27kauo5b Query : use flama_phc
20240924@175500.1174 4huk4luls1tonlgdth27kauo5b Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240924@175500.1194 4huk4luls1tonlgdth27kauo5b Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240924@175500.1209 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.1224 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175500.1251 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.1266 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175500.1275 4huk4luls1tonlgdth27kauo5b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175500.1288 4huk4luls1tonlgdth27kauo5b Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400210200a'
20240924@175500.1301 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.1316 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175500.1328 4huk4luls1tonlgdth27kauo5b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e3130566f2eee41f','aut66f2e8395366f2eee3dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175500.1332 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.1347 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175500.1377 4huk4luls1tonlgdth27kauo5b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f2e3130566f2eee41f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66f2e8395366f2eee3dd' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240924@175500.1660 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.1678 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175500.1708 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.1723 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175500.1732 4huk4luls1tonlgdth27kauo5b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175500.1745 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.1760 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175500.1772 4huk4luls1tonlgdth27kauo5b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e2483966f2eee42a','aut66f2e8395366f2eee3dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175500.1777 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.1791 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175500.1827 4huk4luls1tonlgdth27kauo5b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66f2e2483966f2eee42a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66f2e8395366f2eee3dd' ,0,0 ,2,23.00,50000,?,?,?)
20240924@175500.2082 4huk4luls1tonlgdth27kauo5b Query : use flama_phc
20240924@175500.2085 4huk4luls1tonlgdth27kauo5b Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240924@175500.2106 4huk4luls1tonlgdth27kauo5b Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240924@175500.2119 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.2133 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175500.2168 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.2182 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175500.2191 4huk4luls1tonlgdth27kauo5b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175500.2202 4huk4luls1tonlgdth27kauo5b Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400210200a'
20240924@175500.2214 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.2228 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175500.2246 4huk4luls1tonlgdth27kauo5b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e1648566f2eee436','aut66f2e8395366f2eee3dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175500.2250 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.2264 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175500.2298 4huk4luls1tonlgdth27kauo5b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f2e1648566f2eee436',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66f2e8395366f2eee3dd' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240924@175500.2554 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.2578 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175500.2603 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.2617 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175500.2626 4huk4luls1tonlgdth27kauo5b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175500.2638 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.2653 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175500.2664 4huk4luls1tonlgdth27kauo5b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e5007166f2eee440','aut66f2e8395366f2eee3dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175500.2667 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.2681 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175500.2714 4huk4luls1tonlgdth27kauo5b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66f2e5007166f2eee440',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66f2e8395366f2eee3dd' ,0,0 ,2,23.00,80000,?,?,?)
20240924@175500.2982 4huk4luls1tonlgdth27kauo5b Query : use flama_phc
20240924@175500.2985 4huk4luls1tonlgdth27kauo5b Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240924@175500.3016 4huk4luls1tonlgdth27kauo5b Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240924@175500.3029 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.3323 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175500.3350 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.3365 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175500.3374 4huk4luls1tonlgdth27kauo5b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175500.3386 4huk4luls1tonlgdth27kauo5b Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400210200a'
20240924@175500.3399 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.3423 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175500.3435 4huk4luls1tonlgdth27kauo5b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e7209666f2eee452','aut66f2e8395366f2eee3dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175500.3440 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.3455 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175500.3482 4huk4luls1tonlgdth27kauo5b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f2e7209666f2eee452',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66f2e8395366f2eee3dd' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20240924@175500.3743 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.3758 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175500.3784 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.3798 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175500.3806 4huk4luls1tonlgdth27kauo5b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175500.3819 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.3834 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175500.3846 4huk4luls1tonlgdth27kauo5b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e5095466f2eee45d','aut66f2e8395366f2eee3dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175500.3849 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.3864 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175500.3891 4huk4luls1tonlgdth27kauo5b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66f2e5095466f2eee45d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66f2e8395366f2eee3dd' ,0,0 ,2,23.00,110000,?,?,?)
20240924@175500.4117 4huk4luls1tonlgdth27kauo5b Query : use flama_phc
20240924@175500.4120 4huk4luls1tonlgdth27kauo5b Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240924@175500.4150 4huk4luls1tonlgdth27kauo5b Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240924@175500.4164 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.4179 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175500.4204 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.4218 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175500.4227 4huk4luls1tonlgdth27kauo5b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175500.4239 4huk4luls1tonlgdth27kauo5b Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400210200a'
20240924@175500.4258 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.4273 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175500.4285 4huk4luls1tonlgdth27kauo5b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e7278066f2eee467','aut66f2e8395366f2eee3dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175500.4290 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.4327 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175500.4358 4huk4luls1tonlgdth27kauo5b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f2e7278066f2eee467',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66f2e8395366f2eee3dd' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20240924@175500.5672 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.5690 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175500.5718 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.5735 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175500.5744 4huk4luls1tonlgdth27kauo5b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175500.5770 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.5785 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175500.5797 4huk4luls1tonlgdth27kauo5b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e5531366f2eee48c','aut66f2e8395366f2eee3dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175500.5801 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.5816 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175500.5844 4huk4luls1tonlgdth27kauo5b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66f2e5531366f2eee48c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66f2e8395366f2eee3dd' ,0,0 ,2,23.00,140000,?,?,?)
20240924@175500.6106 4huk4luls1tonlgdth27kauo5b Query : use flama_phc
20240924@175500.6109 4huk4luls1tonlgdth27kauo5b Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240924@175500.6128 4huk4luls1tonlgdth27kauo5b Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240924@175500.6143 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.6158 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175500.6183 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.6198 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175500.6206 4huk4luls1tonlgdth27kauo5b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175500.6218 4huk4luls1tonlgdth27kauo5b Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400210200a'
20240924@175500.6231 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.6245 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175500.6256 4huk4luls1tonlgdth27kauo5b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e1305066f2eee498','aut66f2e8395366f2eee3dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175500.6260 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.6274 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175500.6303 4huk4luls1tonlgdth27kauo5b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f2e1305066f2eee498',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66f2e8395366f2eee3dd' ,0,0 ,2,23.00,160000,?,?,?,?,?)
20240924@175500.6561 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.6577 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175500.6602 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.6616 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175500.6626 4huk4luls1tonlgdth27kauo5b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175500.6639 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.6654 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175500.6665 4huk4luls1tonlgdth27kauo5b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e9434766f2eee4a2','aut66f2e8395366f2eee3dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175500.6669 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.6689 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175500.6717 4huk4luls1tonlgdth27kauo5b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66f2e9434766f2eee4a2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66f2e8395366f2eee3dd' ,0,0 ,2,23.00,170000,?,?,?)
20240924@175500.7410 4huk4luls1tonlgdth27kauo5b Query : use flama_phc
20240924@175500.7415 4huk4luls1tonlgdth27kauo5b Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240924@175500.7437 4huk4luls1tonlgdth27kauo5b Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240924@175500.7453 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.7469 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175500.7495 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.7509 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175500.7520 4huk4luls1tonlgdth27kauo5b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175500.7533 4huk4luls1tonlgdth27kauo5b Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400210200a'
20240924@175500.7546 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.7561 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175500.7573 4huk4luls1tonlgdth27kauo5b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e5143366f2eee4b8','aut66f2e8395366f2eee3dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175500.7577 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.7592 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175500.7620 4huk4luls1tonlgdth27kauo5b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f2e5143366f2eee4b8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66f2e8395366f2eee3dd' ,0,0 ,2,23.00,190000,?,?,?,?,?)
20240924@175500.7902 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.7922 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175500.7950 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.7965 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175500.7974 4huk4luls1tonlgdth27kauo5b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175500.7987 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.8001 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175500.8013 4huk4luls1tonlgdth27kauo5b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e9510166f2eee4c3','aut66f2e8395366f2eee3dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175500.8017 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.8032 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175500.8061 4huk4luls1tonlgdth27kauo5b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66f2e9510166f2eee4c3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66f2e8395366f2eee3dd' ,0,0 ,2,23.00,200000,?,?,?)
20240924@175500.8314 4huk4luls1tonlgdth27kauo5b Query : use flama_phc
20240924@175500.8317 4huk4luls1tonlgdth27kauo5b Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240924@175500.8336 4huk4luls1tonlgdth27kauo5b Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240924@175500.8350 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.8365 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175500.8394 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.8413 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175500.8422 4huk4luls1tonlgdth27kauo5b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175500.8434 4huk4luls1tonlgdth27kauo5b Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400210200a'
20240924@175500.8447 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.8462 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175500.8473 4huk4luls1tonlgdth27kauo5b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e3618966f2eee4ce','aut66f2e8395366f2eee3dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175500.8477 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.8501 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175500.8529 4huk4luls1tonlgdth27kauo5b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f2e3618966f2eee4ce',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66f2e8395366f2eee3dd' ,0,0 ,2,23.00,220000,?,?,?,?,?)
20240924@175500.8926 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.8942 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175500.8970 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.8984 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175500.8993 4huk4luls1tonlgdth27kauo5b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175500.9006 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.9020 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175500.9032 4huk4luls1tonlgdth27kauo5b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e4249166f2eee4db','aut66f2e8395366f2eee3dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175500.9036 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.9050 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175500.9077 4huk4luls1tonlgdth27kauo5b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66f2e4249166f2eee4db',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66f2e8395366f2eee3dd' ,0,0 ,2,23.00,230000,?,?,?)
20240924@175500.9339 4huk4luls1tonlgdth27kauo5b Query : use flama_phc
20240924@175500.9342 4huk4luls1tonlgdth27kauo5b Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240924@175500.9361 4huk4luls1tonlgdth27kauo5b Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240924@175500.9375 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.9390 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175500.9415 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.9429 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175500.9437 4huk4luls1tonlgdth27kauo5b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175500.9449 4huk4luls1tonlgdth27kauo5b Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400210200a'
20240924@175500.9466 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.9483 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175500.9494 4huk4luls1tonlgdth27kauo5b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e8065166f2eee4e7','aut66f2e8395366f2eee3dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175500.9498 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.9513 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175500.9541 4huk4luls1tonlgdth27kauo5b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f2e8065166f2eee4e7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66f2e8395366f2eee3dd' ,0,0 ,2,23.00,250000,?,?,?,?,?)
20240924@175500.9817 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.9833 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175500.9866 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.9883 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175500.9892 4huk4luls1tonlgdth27kauo5b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175500.9911 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175500.9958 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175501.1000 4huk4luls1tonlgdth27kauo5b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e8503166f2eee4f1','aut66f2e8395366f2eee3dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175501.2000 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.4200 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175501.3730 4huk4luls1tonlgdth27kauo5b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66f2e8503166f2eee4f1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66f2e8395366f2eee3dd' ,0,0 ,2,23.00,260000,?,?,?)
20240924@175501.6720 4huk4luls1tonlgdth27kauo5b Query : use flama_phc
20240924@175501.6870 4huk4luls1tonlgdth27kauo5b Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240924@175501.7880 4huk4luls1tonlgdth27kauo5b Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240924@175501.8040 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.8340 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175501.8670 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.8830 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175501.8930 4huk4luls1tonlgdth27kauo5b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175501.9060 4huk4luls1tonlgdth27kauo5b Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400210200a'
20240924@175501.9190 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.1074 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175501.1097 4huk4luls1tonlgdth27kauo5b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e4344966f2eee516','aut66f2e8395366f2eee3dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175501.1101 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.1116 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175501.1159 4huk4luls1tonlgdth27kauo5b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f2e4344966f2eee516',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66f2e8395366f2eee3dd' ,0,0 ,2,23.00,280000,?,?,?,?,?)
20240924@175501.1427 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.1455 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175501.1487 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.1506 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175501.1516 4huk4luls1tonlgdth27kauo5b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175501.1529 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.1561 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175501.1576 4huk4luls1tonlgdth27kauo5b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e9476466f2eee525','aut66f2e8395366f2eee3dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175501.1581 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.1598 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175501.1632 4huk4luls1tonlgdth27kauo5b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66f2e9476466f2eee525',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66f2e8395366f2eee3dd' ,0,0 ,2,23.00,290000,?,?,?)
20240924@175501.1897 4huk4luls1tonlgdth27kauo5b Query : use flama_phc
20240924@175501.1900 4huk4luls1tonlgdth27kauo5b Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240924@175501.1923 4huk4luls1tonlgdth27kauo5b Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240924@175501.1939 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.1957 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175501.1987 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.2012 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175501.2021 4huk4luls1tonlgdth27kauo5b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175501.2033 4huk4luls1tonlgdth27kauo5b Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400210200a'
20240924@175501.2047 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.2061 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175501.2074 4huk4luls1tonlgdth27kauo5b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e0115166f2eee531','aut66f2e8395366f2eee3dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175501.2078 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.2096 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175501.2124 4huk4luls1tonlgdth27kauo5b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f2e0115166f2eee531',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66f2e8395366f2eee3dd' ,0,0 ,2,23.00,310000,?,?,?,?,?)
20240924@175501.2386 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.2405 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175501.2449 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.2465 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175501.2474 4huk4luls1tonlgdth27kauo5b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175501.2487 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.2504 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175501.2517 4huk4luls1tonlgdth27kauo5b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e3884666f2eee53c','aut66f2e8395366f2eee3dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175501.2521 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.2542 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175501.2574 4huk4luls1tonlgdth27kauo5b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66f2e3884666f2eee53c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66f2e8395366f2eee3dd' ,0,0 ,2,23.00,320000,?,?,?)
20240924@175501.2843 4huk4luls1tonlgdth27kauo5b Query : use flama_phc
20240924@175501.2846 4huk4luls1tonlgdth27kauo5b Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240924@175501.2866 4huk4luls1tonlgdth27kauo5b Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240924@175501.2880 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.2896 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175501.2924 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.2946 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175501.2954 4huk4luls1tonlgdth27kauo5b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175501.2968 4huk4luls1tonlgdth27kauo5b Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400210200a'
20240924@175501.2981 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.2995 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175501.3007 4huk4luls1tonlgdth27kauo5b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e1889866f2eee548','aut66f2e8395366f2eee3dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175501.3011 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.3025 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175501.3055 4huk4luls1tonlgdth27kauo5b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f2e1889866f2eee548',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66f2e8395366f2eee3dd' ,0,0 ,2,23.00,340000,?,?,?,?,?)
20240924@175501.3334 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.3350 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175501.3374 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.3388 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175501.3396 4huk4luls1tonlgdth27kauo5b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175501.3414 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.3428 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175501.3440 4huk4luls1tonlgdth27kauo5b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e3912266f2eee553','aut66f2e8395366f2eee3dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175501.3444 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.3458 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175501.3485 4huk4luls1tonlgdth27kauo5b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66f2e3912266f2eee553',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66f2e8395366f2eee3dd' ,0,0 ,2,23.00,350000,?,?,?)
20240924@175501.3748 4huk4luls1tonlgdth27kauo5b Query : use flama_phc
20240924@175501.3751 4huk4luls1tonlgdth27kauo5b Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240924@175501.3771 4huk4luls1tonlgdth27kauo5b Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240924@175501.3785 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.3801 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175501.3830 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.3846 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175501.3854 4huk4luls1tonlgdth27kauo5b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175501.3866 4huk4luls1tonlgdth27kauo5b Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400210200a'
20240924@175501.3890 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.3905 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175501.3916 4huk4luls1tonlgdth27kauo5b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e9726766f2eee55e','aut66f2e8395366f2eee3dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175501.3920 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.3934 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175501.3961 4huk4luls1tonlgdth27kauo5b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f2e9726766f2eee55e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66f2e8395366f2eee3dd' ,0,0 ,2,23.00,370000,?,?,?,?,?)
20240924@175501.4217 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.4232 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175501.4258 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.4272 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175501.4280 4huk4luls1tonlgdth27kauo5b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175501.4292 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.4306 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175501.4317 4huk4luls1tonlgdth27kauo5b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e1591666f2eee568','aut66f2e8395366f2eee3dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175501.4320 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.4335 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175501.4363 4huk4luls1tonlgdth27kauo5b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66f2e1591666f2eee568',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66f2e8395366f2eee3dd' ,0,0 ,2,23.00,380000,?,?,?)
20240924@175501.4603 4huk4luls1tonlgdth27kauo5b Query : use flama_phc
20240924@175501.4605 4huk4luls1tonlgdth27kauo5b Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240924@175501.4623 4huk4luls1tonlgdth27kauo5b Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240924@175501.4636 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.4651 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175501.4686 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.4702 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175501.4713 4huk4luls1tonlgdth27kauo5b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175501.4725 4huk4luls1tonlgdth27kauo5b Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400210200a'
20240924@175501.4738 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.4753 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175501.4767 4huk4luls1tonlgdth27kauo5b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e6486066f2eee573','aut66f2e8395366f2eee3dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175501.4789 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.4804 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175501.4839 4huk4luls1tonlgdth27kauo5b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f2e6486066f2eee573',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66f2e8395366f2eee3dd' ,0,0 ,2,23.00,400000,?,?,?,?,?)
20240924@175501.5113 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.5129 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175501.5155 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.5169 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175501.5178 4huk4luls1tonlgdth27kauo5b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175501.5190 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.5229 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175501.5243 4huk4luls1tonlgdth27kauo5b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e0208566f2eee57e','aut66f2e8395366f2eee3dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175501.5247 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.5264 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175501.5294 4huk4luls1tonlgdth27kauo5b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66f2e0208566f2eee57e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66f2e8395366f2eee3dd' ,0,0 ,2,23.00,410000,?,?,?)
20240924@175501.6412 4huk4luls1tonlgdth27kauo5b Query : use flama_phc
20240924@175501.6520 4huk4luls1tonlgdth27kauo5b Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240924@175501.6548 4huk4luls1tonlgdth27kauo5b Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240924@175501.6564 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.6583 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175501.6613 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.6644 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175501.6653 4huk4luls1tonlgdth27kauo5b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175501.6666 4huk4luls1tonlgdth27kauo5b Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400210200a'
20240924@175501.6680 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.6695 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175501.6707 4huk4luls1tonlgdth27kauo5b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e9283166f2eee5a3','aut66f2e8395366f2eee3dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175501.6712 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.6726 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175501.6756 4huk4luls1tonlgdth27kauo5b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f2e9283166f2eee5a3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66f2e8395366f2eee3dd' ,0,0 ,2,23.00,430000,?,?,?,?,?)
20240924@175501.7037 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.7053 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175501.7084 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.7100 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175501.7109 4huk4luls1tonlgdth27kauo5b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175501.7122 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.7137 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175501.7149 4huk4luls1tonlgdth27kauo5b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e0040566f2eee5ad','aut66f2e8395366f2eee3dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175501.7153 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.7167 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175501.7194 4huk4luls1tonlgdth27kauo5b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66f2e0040566f2eee5ad',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66f2e8395366f2eee3dd' ,0,0 ,2,23.00,440000,?,?,?)
20240924@175501.7460 4huk4luls1tonlgdth27kauo5b Query : use flama_phc
20240924@175501.7463 4huk4luls1tonlgdth27kauo5b Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240924@175501.7481 4huk4luls1tonlgdth27kauo5b Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240924@175501.7495 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.7510 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175501.7535 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.7556 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175501.7566 4huk4luls1tonlgdth27kauo5b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175501.7580 4huk4luls1tonlgdth27kauo5b Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400210200a'
20240924@175501.7592 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.7608 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175501.7619 4huk4luls1tonlgdth27kauo5b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e5340966f2eee5b9','aut66f2e8395366f2eee3dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175501.7623 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.7637 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175501.7666 4huk4luls1tonlgdth27kauo5b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f2e5340966f2eee5b9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66f2e8395366f2eee3dd' ,0,0 ,2,23.00,460000,?,?,?,?,?)
20240924@175501.7939 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.7953 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175501.7977 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.7992 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175501.8000 4huk4luls1tonlgdth27kauo5b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175501.8012 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.8032 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175501.8044 4huk4luls1tonlgdth27kauo5b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e3411766f2eee5c3','aut66f2e8395366f2eee3dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175501.8049 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.8063 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175501.8090 4huk4luls1tonlgdth27kauo5b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66f2e3411766f2eee5c3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66f2e8395366f2eee3dd' ,0,0 ,2,23.00,470000,?,?,?)
20240924@175501.8346 4huk4luls1tonlgdth27kauo5b Query : use flama_phc
20240924@175501.8349 4huk4luls1tonlgdth27kauo5b Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240924@175501.8369 4huk4luls1tonlgdth27kauo5b Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240924@175501.8382 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.8400 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175501.8426 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.8446 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175501.8455 4huk4luls1tonlgdth27kauo5b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175501.8469 4huk4luls1tonlgdth27kauo5b Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400210200a'
20240924@175501.8482 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.8506 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175501.8517 4huk4luls1tonlgdth27kauo5b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e2303566f2eee5cf','aut66f2e8395366f2eee3dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175501.8521 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.8537 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175501.8565 4huk4luls1tonlgdth27kauo5b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f2e2303566f2eee5cf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66f2e8395366f2eee3dd' ,0,0 ,2,23.00,490000,?,?,?,?,?)
20240924@175501.8822 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.8838 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175501.8865 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.8879 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175501.8888 4huk4luls1tonlgdth27kauo5b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175501.8900 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.8924 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175501.9062 4huk4luls1tonlgdth27kauo5b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e7694066f2eee5d9','aut66f2e8395366f2eee3dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175501.9066 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.9082 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175501.9112 4huk4luls1tonlgdth27kauo5b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66f2e7694066f2eee5d9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66f2e8395366f2eee3dd' ,0,0 ,2,23.00,500000,?,?,?)
20240924@175501.9374 4huk4luls1tonlgdth27kauo5b Query : use flama_phc
20240924@175501.9377 4huk4luls1tonlgdth27kauo5b Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240924@175501.9397 4huk4luls1tonlgdth27kauo5b Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240924@175501.9411 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.9427 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175501.9634 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.9651 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175501.9660 4huk4luls1tonlgdth27kauo5b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175501.9671 4huk4luls1tonlgdth27kauo5b Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400210200a'
20240924@175501.9684 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.9699 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175501.9712 4huk4luls1tonlgdth27kauo5b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e3543966f2eee5ec','aut66f2e8395366f2eee3dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175501.9716 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175501.9731 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175501.9761 4huk4luls1tonlgdth27kauo5b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f2e3543966f2eee5ec',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut66f2e8395366f2eee3dd' ,0,0 ,2,23.00,520000,?,?,?,?,?)
20240924@175502.4600 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175502.6100 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175502.8700 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175502.1010 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175502.1090 4huk4luls1tonlgdth27kauo5b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175502.1210 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175502.1350 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175502.1470 4huk4luls1tonlgdth27kauo5b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e5879366f2eee602','aut66f2e8395366f2eee3dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175502.1510 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175502.1650 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175502.1980 4huk4luls1tonlgdth27kauo5b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66f2e5879366f2eee602',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66f2e8395366f2eee3dd' ,0,0 ,2,23.00,530000,?,?,?)
20240924@175502.4470 4huk4luls1tonlgdth27kauo5b Query : use flama_phc
20240924@175502.4500 4huk4luls1tonlgdth27kauo5b Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240924@175502.4690 4huk4luls1tonlgdth27kauo5b Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240924@175502.4830 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175502.5010 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175502.5260 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175502.5400 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175502.5480 4huk4luls1tonlgdth27kauo5b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175502.5590 4huk4luls1tonlgdth27kauo5b Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400210200a'
20240924@175502.5710 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175502.5850 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175502.5960 4huk4luls1tonlgdth27kauo5b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e1593166f2eee60d','aut66f2e8395366f2eee3dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175502.6000 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175502.6140 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175502.6420 4huk4luls1tonlgdth27kauo5b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f2e1593166f2eee60d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66f2e8395366f2eee3dd' ,0,0 ,2,23.00,550000,?,?,?,?,?)
20240924@175502.9100 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175502.9310 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175502.9690 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175502.1035 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175502.1065 4huk4luls1tonlgdth27kauo5b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175502.1077 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175502.1095 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175502.1106 4huk4luls1tonlgdth27kauo5b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e5029666f2eee61a','aut66f2e8395366f2eee3dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175502.1110 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175502.1124 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175502.1175 4huk4luls1tonlgdth27kauo5b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66f2e5029666f2eee61a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66f2e8395366f2eee3dd' ,0,0 ,2,23.00,560000,?,?,?)
20240924@175502.1466 4huk4luls1tonlgdth27kauo5b Query : use flama_phc
20240924@175502.1472 4huk4luls1tonlgdth27kauo5b Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240924@175502.1499 4huk4luls1tonlgdth27kauo5b Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240924@175502.1513 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175502.1540 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175502.1579 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175502.1595 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175502.1604 4huk4luls1tonlgdth27kauo5b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175502.1616 4huk4luls1tonlgdth27kauo5b Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400209200a'
20240924@175502.1630 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175502.1646 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175502.1659 4huk4luls1tonlgdth27kauo5b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e6423566f2eee627','aut66f2e8395366f2eee3dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175502.1662 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175502.1676 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175502.1714 4huk4luls1tonlgdth27kauo5b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f2e6423566f2eee627',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66f2e8395366f2eee3dd' ,0,0 ,2,23.00,580000,?,?,?,?,?)
20240924@175502.1992 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175502.2038 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175502.2083 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175502.2100 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175502.2109 4huk4luls1tonlgdth27kauo5b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175502.2121 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175502.2136 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175502.2157 4huk4luls1tonlgdth27kauo5b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e0851966f2eee633','aut66f2e8395366f2eee3dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175502.2161 4huk4luls1tonlgdth27kauo5b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175502.2175 4huk4luls1tonlgdth27kauo5b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175502.2206 4huk4luls1tonlgdth27kauo5b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66f2e0851966f2eee633',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66f2e8395366f2eee3dd' ,0,0 ,2,23.00,590000,?,?,?)
20240924@175502.2476 4huk4luls1tonlgdth27kauo5b Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66f2e8395366f2eee3dd','2406187','wait',39,'adm09112754980.682000002')
20240924@175502.2563 4huk4luls1tonlgdth27kauo5b Query : use flama_phc
20240924@175502.2567 4huk4luls1tonlgdth27kauo5b Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240924@175502.2597 4huk4luls1tonlgdth27kauo5b Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2196';
20240924@175502.2628 4huk4luls1tonlgdth27kauo5b Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2196';
20240924@175502.2669 4huk4luls1tonlgdth27kauo5b Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2196';
20240924@175502.2693 4huk4luls1tonlgdth27kauo5b Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2196';
20240924@175502.3253 l4vnsaj5ala78u9nb543kk0qrd Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240924@175502.3264 l4vnsaj5ala78u9nb543kk0qrd Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240924@175502.3326 l4vnsaj5ala78u9nb543kk0qrd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2197';
20240924@175502.3382 l4vnsaj5ala78u9nb543kk0qrd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2197';
20240924@175502.3448 l4vnsaj5ala78u9nb543kk0qrd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2197';
20240924@175502.3482 l4vnsaj5ala78u9nb543kk0qrd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2197';
20240924@175502.3537 l4vnsaj5ala78u9nb543kk0qrd Query : use flama_phc
20240924@175502.3540 l4vnsaj5ala78u9nb543kk0qrd Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240924@175502.3609 l4vnsaj5ala78u9nb543kk0qrd Query : use flama_phc
20240924@175502.3612 l4vnsaj5ala78u9nb543kk0qrd Query : select no, estab,szadrsdesc from szadrs where u_coddest=863
20240924@175502.3691 l4vnsaj5ala78u9nb543kk0qrd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1896.00.1'
20240924@175502.3851 l4vnsaj5ala78u9nb543kk0qrd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2061 and bo.obrano = 2406188 and bi.ref ='324.1896.00.1' and bi.lordem =1
20240924@175502.4174 l4vnsaj5ala78u9nb543kk0qrd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2066.00.1'
20240924@175502.4320 l4vnsaj5ala78u9nb543kk0qrd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2061 and bo.obrano = 2406188 and bi.ref ='324.2066.00.1' and bi.lordem =2
20240924@175502.4629 l4vnsaj5ala78u9nb543kk0qrd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1462.00.1'
20240924@175502.4768 l4vnsaj5ala78u9nb543kk0qrd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2061 and bo.obrano = 2406188 and bi.ref ='324.1462.00.1' and bi.lordem =3
20240924@175502.5115 l4vnsaj5ala78u9nb543kk0qrd Query : use flama_phc
20240924@175502.5118 l4vnsaj5ala78u9nb543kk0qrd Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240924@175502.5160 l4vnsaj5ala78u9nb543kk0qrd Query : use flama_phc
20240924@175502.5163 l4vnsaj5ala78u9nb543kk0qrd Query : select top 1 1 valor from td where td.ndoc = 39
20240924@175502.5192 l4vnsaj5ala78u9nb543kk0qrd Query : use flama_phc
20240924@175502.5195 l4vnsaj5ala78u9nb543kk0qrd 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')
20240924@175502.5224 l4vnsaj5ala78u9nb543kk0qrd 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
20240924@175502.5274 l4vnsaj5ala78u9nb543kk0qrd Query : use flama_phc
20240924@175502.5277 l4vnsaj5ala78u9nb543kk0qrd Query : select top 1 ~inactivo valor from cl where no = '102324' and estab = 0 order by inactivo desc
20240924@175502.5401 l4vnsaj5ala78u9nb543kk0qrd Query : use flama_phc
20240924@175502.5408 l4vnsaj5ala78u9nb543kk0qrd Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240924@175502.5439 l4vnsaj5ala78u9nb543kk0qrd Query : use flama_phc
20240924@175502.5443 l4vnsaj5ala78u9nb543kk0qrd Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240924@175502.5495 l4vnsaj5ala78u9nb543kk0qrd Query : use flama_phc
20240924@175502.5498 l4vnsaj5ala78u9nb543kk0qrd Query : select szadrsstamp valor from szadrs where szadrsdesc='portelotel, lda.'
20240924@175502.5552 l4vnsaj5ala78u9nb543kk0qrd Query : use flama_phc
20240924@175502.5555 l4vnsaj5ala78u9nb543kk0qrd Query : select 1 valor from td where ndoc = 39
20240924@175502.5567 l4vnsaj5ala78u9nb543kk0qrd Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240924@175502.5582 l4vnsaj5ala78u9nb543kk0qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175502.5601 l4vnsaj5ala78u9nb543kk0qrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240924@175502.5625 l4vnsaj5ala78u9nb543kk0qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175502.5640 l4vnsaj5ala78u9nb543kk0qrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240924@175502.5680 l4vnsaj5ala78u9nb543kk0qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175502.5705 l4vnsaj5ala78u9nb543kk0qrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240924@175502.5720 l4vnsaj5ala78u9nb543kk0qrd Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240924@175502.5797 l4vnsaj5ala78u9nb543kk0qrd Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240924@175502.5814 l4vnsaj5ala78u9nb543kk0qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175502.5829 l4vnsaj5ala78u9nb543kk0qrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240924@175502.5856 l4vnsaj5ala78u9nb543kk0qrd Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66f2e4238066f2eee68b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240924@175502.6035 l4vnsaj5ala78u9nb543kk0qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175502.6056 l4vnsaj5ala78u9nb543kk0qrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240924@175502.6090 l4vnsaj5ala78u9nb543kk0qrd Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240924@175502.6102 l4vnsaj5ala78u9nb543kk0qrd Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240924@175502.6116 l4vnsaj5ala78u9nb543kk0qrd Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240924@175502.6131 l4vnsaj5ala78u9nb543kk0qrd Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240924@175502.6144 l4vnsaj5ala78u9nb543kk0qrd Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240924@175502.6156 l4vnsaj5ala78u9nb543kk0qrd Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240924@175502.6167 l4vnsaj5ala78u9nb543kk0qrd Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66f2e4238066f2eee68b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240924@175502.6402 l4vnsaj5ala78u9nb543kk0qrd Query : select top 1 fno valor from wsftdata order by fno desc
20240924@175502.6427 l4vnsaj5ala78u9nb543kk0qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175502.6443 l4vnsaj5ala78u9nb543kk0qrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240924@175502.6467 l4vnsaj5ala78u9nb543kk0qrd Query : select 'normal' from dummy
20240924@175502.6482 l4vnsaj5ala78u9nb543kk0qrd Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66f2e4238066f2eee68b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',927,102324,0,'2024-09-24',39,'euro',0,0,2024 ,?,?)
20240924@175502.6767 l4vnsaj5ala78u9nb543kk0qrd Query : use flama_phc
20240924@175502.6770 l4vnsaj5ala78u9nb543kk0qrd Query : select st.usalote valor from st where st.ref = '324.1896.00.1'
20240924@175502.6792 l4vnsaj5ala78u9nb543kk0qrd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1896.00.1'
20240924@175502.6937 l4vnsaj5ala78u9nb543kk0qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175502.6953 l4vnsaj5ala78u9nb543kk0qrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175502.6987 l4vnsaj5ala78u9nb543kk0qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175502.7001 l4vnsaj5ala78u9nb543kk0qrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175502.7009 l4vnsaj5ala78u9nb543kk0qrd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175502.7020 l4vnsaj5ala78u9nb543kk0qrd Query : select sestamp valor from se where ref ='324.1896.00.1' and lote = 'r2101190100a'
20240924@175502.7041 l4vnsaj5ala78u9nb543kk0qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175502.7055 l4vnsaj5ala78u9nb543kk0qrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175502.7069 l4vnsaj5ala78u9nb543kk0qrd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e2212366f2eee6ab','aut66f2e4238066f2eee68b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175502.7073 l4vnsaj5ala78u9nb543kk0qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175502.7087 l4vnsaj5ala78u9nb543kk0qrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175502.7119 l4vnsaj5ala78u9nb543kk0qrd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f2e2212366f2eee6ab',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66f2e4238066f2eee68b' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240924@175502.7367 l4vnsaj5ala78u9nb543kk0qrd Query : use flama_phc
20240924@175502.7371 l4vnsaj5ala78u9nb543kk0qrd Query : select st.usalote valor from st where st.ref = '324.2066.00.1'
20240924@175502.7390 l4vnsaj5ala78u9nb543kk0qrd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2066.00.1'
20240924@175502.7533 l4vnsaj5ala78u9nb543kk0qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175502.7552 l4vnsaj5ala78u9nb543kk0qrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175502.7579 l4vnsaj5ala78u9nb543kk0qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175502.7594 l4vnsaj5ala78u9nb543kk0qrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175502.7614 l4vnsaj5ala78u9nb543kk0qrd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175502.7626 l4vnsaj5ala78u9nb543kk0qrd Query : select sestamp valor from se where ref ='324.2066.00.1' and lote = 'r2400051100a'
20240924@175502.7648 l4vnsaj5ala78u9nb543kk0qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175502.7663 l4vnsaj5ala78u9nb543kk0qrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175502.7677 l4vnsaj5ala78u9nb543kk0qrd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e1007366f2eee6ba','aut66f2e4238066f2eee68b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175502.7683 l4vnsaj5ala78u9nb543kk0qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175502.7697 l4vnsaj5ala78u9nb543kk0qrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175502.7733 l4vnsaj5ala78u9nb543kk0qrd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f2e1007366f2eee6ba',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66f2e4238066f2eee68b' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240924@175502.7998 l4vnsaj5ala78u9nb543kk0qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175502.8014 l4vnsaj5ala78u9nb543kk0qrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175502.8038 l4vnsaj5ala78u9nb543kk0qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175502.8091 l4vnsaj5ala78u9nb543kk0qrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175502.8236 l4vnsaj5ala78u9nb543kk0qrd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175502.8249 l4vnsaj5ala78u9nb543kk0qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175502.8264 l4vnsaj5ala78u9nb543kk0qrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175502.8278 l4vnsaj5ala78u9nb543kk0qrd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e3651566f2eee6c9','aut66f2e4238066f2eee68b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175502.8282 l4vnsaj5ala78u9nb543kk0qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175502.8297 l4vnsaj5ala78u9nb543kk0qrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175502.8324 l4vnsaj5ala78u9nb543kk0qrd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66f2e3651566f2eee6c9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66f2e4238066f2eee68b' ,0,0 ,2,23.00,30000,?,?,?)
20240924@175502.8584 l4vnsaj5ala78u9nb543kk0qrd Query : use flama_phc
20240924@175502.8587 l4vnsaj5ala78u9nb543kk0qrd Query : select st.usalote valor from st where st.ref = '324.1462.00.1'
20240924@175502.8606 l4vnsaj5ala78u9nb543kk0qrd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1462.00.1'
20240924@175502.8749 l4vnsaj5ala78u9nb543kk0qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175502.8763 l4vnsaj5ala78u9nb543kk0qrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175502.8787 l4vnsaj5ala78u9nb543kk0qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175502.8812 l4vnsaj5ala78u9nb543kk0qrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175502.8821 l4vnsaj5ala78u9nb543kk0qrd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175502.8840 l4vnsaj5ala78u9nb543kk0qrd Query : select sestamp valor from se where ref ='324.1462.00.1' and lote = 'r2101096200a'
20240924@175502.8864 l4vnsaj5ala78u9nb543kk0qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175502.8878 l4vnsaj5ala78u9nb543kk0qrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175502.8890 l4vnsaj5ala78u9nb543kk0qrd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e3401666f2eee6d8','aut66f2e4238066f2eee68b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175502.8893 l4vnsaj5ala78u9nb543kk0qrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175502.8907 l4vnsaj5ala78u9nb543kk0qrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175502.8936 l4vnsaj5ala78u9nb543kk0qrd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f2e3401666f2eee6d8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66f2e4238066f2eee68b' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20240924@175502.9319 l4vnsaj5ala78u9nb543kk0qrd Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66f2e4238066f2eee68b','2406188','wait',39,'adm09112754980.682000002')
20240924@175502.9394 l4vnsaj5ala78u9nb543kk0qrd Query : use flama_phc
20240924@175502.9397 l4vnsaj5ala78u9nb543kk0qrd Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240924@175502.9430 l4vnsaj5ala78u9nb543kk0qrd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2197';
20240924@175502.9464 l4vnsaj5ala78u9nb543kk0qrd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2197';
20240924@175502.9510 l4vnsaj5ala78u9nb543kk0qrd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2197';
20240924@175502.9533 l4vnsaj5ala78u9nb543kk0qrd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2197';
20240924@175503.6900 l03tbpi82nv155c5e3jpa07onl Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240924@175503.8100 l03tbpi82nv155c5e3jpa07onl Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240924@175503.1340 l03tbpi82nv155c5e3jpa07onl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2198';
20240924@175503.1990 l03tbpi82nv155c5e3jpa07onl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2198';
20240924@175503.2530 l03tbpi82nv155c5e3jpa07onl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2198';
20240924@175503.2780 l03tbpi82nv155c5e3jpa07onl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2198';
20240924@175503.3330 l03tbpi82nv155c5e3jpa07onl Query : use flama_phc
20240924@175503.3370 l03tbpi82nv155c5e3jpa07onl Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240924@175503.4010 l03tbpi82nv155c5e3jpa07onl Query : use flama_phc
20240924@175503.4050 l03tbpi82nv155c5e3jpa07onl Query : select no, estab,szadrsdesc from szadrs where u_coddest=4197
20240924@175503.4970 l03tbpi82nv155c5e3jpa07onl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.958.00.01'
20240924@175503.5150 l03tbpi82nv155c5e3jpa07onl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2061 and bo.obrano = 2406189 and bi.ref ='324.958.00.01' and bi.lordem =1
20240924@175503.8340 l03tbpi82nv155c5e3jpa07onl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20240924@175503.9800 l03tbpi82nv155c5e3jpa07onl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2061 and bo.obrano = 2406189 and bi.ref ='324.4970.00.1' and bi.lordem =2
20240924@175503.1297 l03tbpi82nv155c5e3jpa07onl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2031.00.1'
20240924@175503.1446 l03tbpi82nv155c5e3jpa07onl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2061 and bo.obrano = 2406189 and bi.ref ='324.2031.00.1' and bi.lordem =5
20240924@175503.1782 l03tbpi82nv155c5e3jpa07onl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1670.00.1'
20240924@175503.1944 l03tbpi82nv155c5e3jpa07onl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2061 and bo.obrano = 2406189 and bi.ref ='324.1670.00.1' and bi.lordem =7
20240924@175503.2250 l03tbpi82nv155c5e3jpa07onl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1803.00.1'
20240924@175503.2394 l03tbpi82nv155c5e3jpa07onl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2061 and bo.obrano = 2406189 and bi.ref ='324.1803.00.1' and bi.lordem =9
20240924@175503.2719 l03tbpi82nv155c5e3jpa07onl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1805.00.1'
20240924@175503.2876 l03tbpi82nv155c5e3jpa07onl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2061 and bo.obrano = 2406189 and bi.ref ='324.1805.00.1' and bi.lordem =10
20240924@175503.3200 l03tbpi82nv155c5e3jpa07onl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1805.00.1'
20240924@175503.3222 l03tbpi82nv155c5e3jpa07onl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2061 and bo.obrano = 2406189 and bi.ref ='324.1805.00.1' and bi.lordem =11
20240924@175503.3551 l03tbpi82nv155c5e3jpa07onl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '325.1670.3015'
20240924@175503.3572 l03tbpi82nv155c5e3jpa07onl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2061 and bo.obrano = 2406189 and bi.ref ='325.1670.3015' and bi.lordem =12
20240924@175503.4026 l03tbpi82nv155c5e3jpa07onl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1871.00.1'
20240924@175503.4341 l03tbpi82nv155c5e3jpa07onl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2061 and bo.obrano = 2406189 and bi.ref ='324.1871.00.1' and bi.lordem =13
20240924@175503.4897 l03tbpi82nv155c5e3jpa07onl Query : use flama_phc
20240924@175503.4901 l03tbpi82nv155c5e3jpa07onl Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240924@175503.4934 l03tbpi82nv155c5e3jpa07onl Query : use flama_phc
20240924@175503.4938 l03tbpi82nv155c5e3jpa07onl Query : select top 1 1 valor from td where td.ndoc = 39
20240924@175503.4969 l03tbpi82nv155c5e3jpa07onl Query : use flama_phc
20240924@175503.4973 l03tbpi82nv155c5e3jpa07onl 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')
20240924@175503.5004 l03tbpi82nv155c5e3jpa07onl 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
20240924@175503.5184 l03tbpi82nv155c5e3jpa07onl Query : use flama_phc
20240924@175503.5427 l03tbpi82nv155c5e3jpa07onl Query : select top 1 ~inactivo valor from cl where no = '102085' and estab = 0 order by inactivo desc
20240924@175503.5839 l03tbpi82nv155c5e3jpa07onl Query : use flama_phc
20240924@175503.5843 l03tbpi82nv155c5e3jpa07onl Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240924@175503.5876 l03tbpi82nv155c5e3jpa07onl Query : use flama_phc
20240924@175503.5879 l03tbpi82nv155c5e3jpa07onl Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240924@175503.5923 l03tbpi82nv155c5e3jpa07onl Query : use flama_phc
20240924@175503.5926 l03tbpi82nv155c5e3jpa07onl Query : select szadrsstamp valor from szadrs where szadrsdesc='montilectica 2'
20240924@175503.5980 l03tbpi82nv155c5e3jpa07onl Query : use flama_phc
20240924@175503.5983 l03tbpi82nv155c5e3jpa07onl Query : select 1 valor from td where ndoc = 39
20240924@175503.5995 l03tbpi82nv155c5e3jpa07onl Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240924@175503.6010 l03tbpi82nv155c5e3jpa07onl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175503.6027 l03tbpi82nv155c5e3jpa07onl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240924@175503.6048 l03tbpi82nv155c5e3jpa07onl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175503.6063 l03tbpi82nv155c5e3jpa07onl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240924@175503.6092 l03tbpi82nv155c5e3jpa07onl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175503.6107 l03tbpi82nv155c5e3jpa07onl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240924@175503.6120 l03tbpi82nv155c5e3jpa07onl Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240924@175503.6187 l03tbpi82nv155c5e3jpa07onl Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240924@175503.6201 l03tbpi82nv155c5e3jpa07onl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175503.6216 l03tbpi82nv155c5e3jpa07onl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240924@175503.6232 l03tbpi82nv155c5e3jpa07onl Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66f2e7582766f2eee795' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240924@175503.6402 l03tbpi82nv155c5e3jpa07onl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175503.6418 l03tbpi82nv155c5e3jpa07onl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240924@175503.6453 l03tbpi82nv155c5e3jpa07onl Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240924@175503.6466 l03tbpi82nv155c5e3jpa07onl Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240924@175503.6479 l03tbpi82nv155c5e3jpa07onl Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240924@175503.6492 l03tbpi82nv155c5e3jpa07onl Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240924@175503.6505 l03tbpi82nv155c5e3jpa07onl Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240924@175503.6517 l03tbpi82nv155c5e3jpa07onl Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240924@175503.6530 l03tbpi82nv155c5e3jpa07onl Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66f2e7582766f2eee795',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240924@175503.6771 l03tbpi82nv155c5e3jpa07onl Query : select top 1 fno valor from wsftdata order by fno desc
20240924@175503.6793 l03tbpi82nv155c5e3jpa07onl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175503.6809 l03tbpi82nv155c5e3jpa07onl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240924@175503.6831 l03tbpi82nv155c5e3jpa07onl Query : select 'normal' from dummy
20240924@175503.6847 l03tbpi82nv155c5e3jpa07onl Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66f2e7582766f2eee795',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',928,102085,0,'2024-09-24',39,'euro',0,0,2024 ,?,?)
20240924@175503.7141 l03tbpi82nv155c5e3jpa07onl Query : use flama_phc
20240924@175503.7145 l03tbpi82nv155c5e3jpa07onl Query : select st.usalote valor from st where st.ref = '324.958.00.01'
20240924@175503.7165 l03tbpi82nv155c5e3jpa07onl Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.958.00.01'
20240924@175503.7179 l03tbpi82nv155c5e3jpa07onl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175503.7194 l03tbpi82nv155c5e3jpa07onl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175503.7219 l03tbpi82nv155c5e3jpa07onl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175503.7233 l03tbpi82nv155c5e3jpa07onl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175503.7241 l03tbpi82nv155c5e3jpa07onl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175503.7255 l03tbpi82nv155c5e3jpa07onl Query : select sestamp valor from se where ref ='324.958.00.01' and lote = 'r2400240200a'
20240924@175503.7267 l03tbpi82nv155c5e3jpa07onl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175503.7281 l03tbpi82nv155c5e3jpa07onl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175503.7291 l03tbpi82nv155c5e3jpa07onl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e9523366f2eee7b1','aut66f2e7582766f2eee795' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175503.7296 l03tbpi82nv155c5e3jpa07onl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175503.7310 l03tbpi82nv155c5e3jpa07onl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175503.7337 l03tbpi82nv155c5e3jpa07onl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f2e9523366f2eee7b1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66f2e7582766f2eee795' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240924@175503.7590 l03tbpi82nv155c5e3jpa07onl Query : use flama_phc
20240924@175503.7593 l03tbpi82nv155c5e3jpa07onl Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20240924@175503.7614 l03tbpi82nv155c5e3jpa07onl Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4970.00.1'
20240924@175503.7771 l03tbpi82nv155c5e3jpa07onl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175503.7789 l03tbpi82nv155c5e3jpa07onl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175503.7817 l03tbpi82nv155c5e3jpa07onl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175503.7833 l03tbpi82nv155c5e3jpa07onl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175503.7842 l03tbpi82nv155c5e3jpa07onl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175503.7855 l03tbpi82nv155c5e3jpa07onl Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2400205200a'
20240924@175503.7876 l03tbpi82nv155c5e3jpa07onl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175503.7892 l03tbpi82nv155c5e3jpa07onl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175503.7905 l03tbpi82nv155c5e3jpa07onl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e3917766f2eee7c0','aut66f2e7582766f2eee795' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175503.7909 l03tbpi82nv155c5e3jpa07onl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175503.7924 l03tbpi82nv155c5e3jpa07onl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175503.7954 l03tbpi82nv155c5e3jpa07onl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f2e3917766f2eee7c0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66f2e7582766f2eee795' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240924@175503.8210 l03tbpi82nv155c5e3jpa07onl Query : use flama_phc
20240924@175503.8213 l03tbpi82nv155c5e3jpa07onl Query : select st.usalote valor from st where st.ref = '324.2031.00.1'
20240924@175503.8236 l03tbpi82nv155c5e3jpa07onl Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2031.00.1'
20240924@175503.9571 l03tbpi82nv155c5e3jpa07onl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175503.9587 l03tbpi82nv155c5e3jpa07onl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175503.9611 l03tbpi82nv155c5e3jpa07onl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175503.9624 l03tbpi82nv155c5e3jpa07onl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175503.9632 l03tbpi82nv155c5e3jpa07onl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175503.9662 l03tbpi82nv155c5e3jpa07onl Query : select sestamp valor from se where ref ='324.2031.00.1' and lote = 'r2100232100a'
20240924@175503.9690 l03tbpi82nv155c5e3jpa07onl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175503.9705 l03tbpi82nv155c5e3jpa07onl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175503.9718 l03tbpi82nv155c5e3jpa07onl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e4252366f2eee7ec','aut66f2e7582766f2eee795' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175503.9722 l03tbpi82nv155c5e3jpa07onl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175503.9737 l03tbpi82nv155c5e3jpa07onl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175503.9765 l03tbpi82nv155c5e3jpa07onl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f2e4252366f2eee7ec',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66f2e7582766f2eee795' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240924@175504.3200 l03tbpi82nv155c5e3jpa07onl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175504.5100 l03tbpi82nv155c5e3jpa07onl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175504.8200 l03tbpi82nv155c5e3jpa07onl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175504.9700 l03tbpi82nv155c5e3jpa07onl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175504.1070 l03tbpi82nv155c5e3jpa07onl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175504.1210 l03tbpi82nv155c5e3jpa07onl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175504.1380 l03tbpi82nv155c5e3jpa07onl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175504.1510 l03tbpi82nv155c5e3jpa07onl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e9910566f2eee802','aut66f2e7582766f2eee795' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175504.1550 l03tbpi82nv155c5e3jpa07onl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175504.1700 l03tbpi82nv155c5e3jpa07onl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175504.2010 l03tbpi82nv155c5e3jpa07onl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66f2e9910566f2eee802',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66f2e7582766f2eee795' ,0,0 ,2,23.00,40000,?,?,?)
20240924@175504.5350 l03tbpi82nv155c5e3jpa07onl Query : use flama_phc
20240924@175504.5500 l03tbpi82nv155c5e3jpa07onl Query : select st.usalote valor from st where st.ref = '324.1670.00.1'
20240924@175504.6970 l03tbpi82nv155c5e3jpa07onl Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1670.00.1'
20240924@175504.8580 l03tbpi82nv155c5e3jpa07onl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175504.8770 l03tbpi82nv155c5e3jpa07onl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175504.9090 l03tbpi82nv155c5e3jpa07onl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175504.9320 l03tbpi82nv155c5e3jpa07onl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175504.9420 l03tbpi82nv155c5e3jpa07onl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175504.9560 l03tbpi82nv155c5e3jpa07onl Query : select sestamp valor from se where ref ='324.1670.00.1' and lote = 'r2301213200a'
20240924@175504.9710 l03tbpi82nv155c5e3jpa07onl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175504.9890 l03tbpi82nv155c5e3jpa07onl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175504.1002 l03tbpi82nv155c5e3jpa07onl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e4198066f2eee817','aut66f2e7582766f2eee795' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175504.1007 l03tbpi82nv155c5e3jpa07onl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175504.1021 l03tbpi82nv155c5e3jpa07onl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175504.1050 l03tbpi82nv155c5e3jpa07onl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f2e4198066f2eee817',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66f2e7582766f2eee795' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20240924@175504.1320 l03tbpi82nv155c5e3jpa07onl Query : use flama_phc
20240924@175504.1324 l03tbpi82nv155c5e3jpa07onl Query : select st.usalote valor from st where st.ref = '324.1803.00.1'
20240924@175504.1345 l03tbpi82nv155c5e3jpa07onl Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240924@175504.1507 l03tbpi82nv155c5e3jpa07onl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175504.1523 l03tbpi82nv155c5e3jpa07onl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175504.1551 l03tbpi82nv155c5e3jpa07onl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175504.1566 l03tbpi82nv155c5e3jpa07onl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175504.1574 l03tbpi82nv155c5e3jpa07onl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175504.1586 l03tbpi82nv155c5e3jpa07onl Query : select sestamp valor from se where ref ='324.1803.00.1' and lote = 'r2301274200a'
20240924@175504.1607 l03tbpi82nv155c5e3jpa07onl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175504.1623 l03tbpi82nv155c5e3jpa07onl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175504.1635 l03tbpi82nv155c5e3jpa07onl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e2163566f2eee827','aut66f2e7582766f2eee795' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175504.1639 l03tbpi82nv155c5e3jpa07onl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175504.1655 l03tbpi82nv155c5e3jpa07onl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175504.1685 l03tbpi82nv155c5e3jpa07onl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f2e2163566f2eee827',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut66f2e7582766f2eee795' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240924@175504.1962 l03tbpi82nv155c5e3jpa07onl Query : use flama_phc
20240924@175504.1967 l03tbpi82nv155c5e3jpa07onl Query : select st.usalote valor from st where st.ref = '324.1805.00.1'
20240924@175504.1998 l03tbpi82nv155c5e3jpa07onl Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1805.00.1'
20240924@175504.2157 l03tbpi82nv155c5e3jpa07onl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175504.2174 l03tbpi82nv155c5e3jpa07onl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175504.2202 l03tbpi82nv155c5e3jpa07onl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175504.2217 l03tbpi82nv155c5e3jpa07onl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175504.2226 l03tbpi82nv155c5e3jpa07onl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175504.2239 l03tbpi82nv155c5e3jpa07onl Query : select sestamp valor from se where ref ='324.1805.00.1' and lote = 'r2400290200a'
20240924@175504.2260 l03tbpi82nv155c5e3jpa07onl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175504.2275 l03tbpi82nv155c5e3jpa07onl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175504.2288 l03tbpi82nv155c5e3jpa07onl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e6263066f2eee837','aut66f2e7582766f2eee795' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175504.2293 l03tbpi82nv155c5e3jpa07onl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175504.2308 l03tbpi82nv155c5e3jpa07onl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175504.2338 l03tbpi82nv155c5e3jpa07onl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f2e6263066f2eee837',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66f2e7582766f2eee795' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20240924@175504.2612 l03tbpi82nv155c5e3jpa07onl Query : use flama_phc
20240924@175504.2616 l03tbpi82nv155c5e3jpa07onl Query : select st.usalote valor from st where st.ref = '324.1805.00.1'
20240924@175504.2637 l03tbpi82nv155c5e3jpa07onl Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1805.00.1'
20240924@175504.2651 l03tbpi82nv155c5e3jpa07onl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175504.2667 l03tbpi82nv155c5e3jpa07onl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175504.2694 l03tbpi82nv155c5e3jpa07onl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175504.2709 l03tbpi82nv155c5e3jpa07onl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175504.2719 l03tbpi82nv155c5e3jpa07onl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175504.2731 l03tbpi82nv155c5e3jpa07onl Query : select sestamp valor from se where ref ='324.1805.00.1' and lote = 'r2400290200a'
20240924@175504.2745 l03tbpi82nv155c5e3jpa07onl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175504.2759 l03tbpi82nv155c5e3jpa07onl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175504.2771 l03tbpi82nv155c5e3jpa07onl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e6389266f2eee843','aut66f2e7582766f2eee795' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175504.2775 l03tbpi82nv155c5e3jpa07onl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175504.2807 l03tbpi82nv155c5e3jpa07onl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175504.2837 l03tbpi82nv155c5e3jpa07onl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f2e6389266f2eee843',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66f2e7582766f2eee795' ,0,0 ,2,23.00,90000,?,?,?,?,?)
20240924@175504.3110 l03tbpi82nv155c5e3jpa07onl Query : use flama_phc
20240924@175504.3113 l03tbpi82nv155c5e3jpa07onl Query : select st.usalote valor from st where st.ref = '325.1670.3015'
20240924@175504.3136 l03tbpi82nv155c5e3jpa07onl Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240924@175504.3152 l03tbpi82nv155c5e3jpa07onl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175504.3168 l03tbpi82nv155c5e3jpa07onl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175504.3198 l03tbpi82nv155c5e3jpa07onl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175504.3215 l03tbpi82nv155c5e3jpa07onl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175504.3227 l03tbpi82nv155c5e3jpa07onl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175504.3242 l03tbpi82nv155c5e3jpa07onl Query : select sestamp valor from se where ref ='325.1670.3015' and lote = 'r2301133100a'
20240924@175504.3257 l03tbpi82nv155c5e3jpa07onl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175504.3274 l03tbpi82nv155c5e3jpa07onl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175504.3286 l03tbpi82nv155c5e3jpa07onl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e6187766f2eee84f','aut66f2e7582766f2eee795' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175504.3291 l03tbpi82nv155c5e3jpa07onl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175504.3306 l03tbpi82nv155c5e3jpa07onl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175504.3339 l03tbpi82nv155c5e3jpa07onl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f2e6187766f2eee84f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66f2e7582766f2eee795' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20240924@175504.4302 l03tbpi82nv155c5e3jpa07onl Query : use flama_phc
20240924@175504.5348 l03tbpi82nv155c5e3jpa07onl Query : select st.usalote valor from st where st.ref = '324.1871.00.1'
20240924@175504.5466 l03tbpi82nv155c5e3jpa07onl Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240924@175504.5622 l03tbpi82nv155c5e3jpa07onl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175504.5640 l03tbpi82nv155c5e3jpa07onl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175504.5667 l03tbpi82nv155c5e3jpa07onl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175504.5683 l03tbpi82nv155c5e3jpa07onl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175504.5693 l03tbpi82nv155c5e3jpa07onl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175504.5706 l03tbpi82nv155c5e3jpa07onl Query : select sestamp valor from se where ref ='324.1871.00.1' and lote = 'r2400437200a'
20240924@175504.5731 l03tbpi82nv155c5e3jpa07onl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175504.5747 l03tbpi82nv155c5e3jpa07onl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175504.5759 l03tbpi82nv155c5e3jpa07onl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e3115366f2eee88b','aut66f2e7582766f2eee795' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175504.5764 l03tbpi82nv155c5e3jpa07onl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175504.5779 l03tbpi82nv155c5e3jpa07onl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175504.5808 l03tbpi82nv155c5e3jpa07onl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f2e3115366f2eee88b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut66f2e7582766f2eee795' ,0,0 ,2,23.00,110000,?,?,?,?,?)
20240924@175504.6059 l03tbpi82nv155c5e3jpa07onl Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66f2e7582766f2eee795','2406189','wait',39,'adm09112754980.682000002')
20240924@175504.6128 l03tbpi82nv155c5e3jpa07onl Query : use flama_phc
20240924@175504.6131 l03tbpi82nv155c5e3jpa07onl Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240924@175504.6163 l03tbpi82nv155c5e3jpa07onl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2198';
20240924@175504.6200 l03tbpi82nv155c5e3jpa07onl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2198';
20240924@175504.6243 l03tbpi82nv155c5e3jpa07onl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2198';
20240924@175504.6271 l03tbpi82nv155c5e3jpa07onl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2198';
20240924@175504.6841 45jevps243o0fq3shviorj5foc Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240924@175504.6854 45jevps243o0fq3shviorj5foc Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240924@175504.6931 45jevps243o0fq3shviorj5foc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2199';
20240924@175504.7001 45jevps243o0fq3shviorj5foc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2199';
20240924@175504.7072 45jevps243o0fq3shviorj5foc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2199';
20240924@175504.7100 45jevps243o0fq3shviorj5foc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2199';
20240924@175504.7154 45jevps243o0fq3shviorj5foc Query : use flama_phc
20240924@175504.7157 45jevps243o0fq3shviorj5foc Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240924@175504.7238 45jevps243o0fq3shviorj5foc Query : use flama_phc
20240924@175504.7241 45jevps243o0fq3shviorj5foc Query : select no, estab,szadrsdesc from szadrs where u_coddest=227
20240924@175504.7332 45jevps243o0fq3shviorj5foc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4861.00.1'
20240924@175504.7500 45jevps243o0fq3shviorj5foc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2061 and bo.obrano = 2406190 and bi.ref ='304.4861.00.1' and bi.lordem =1
20240924@175504.7872 45jevps243o0fq3shviorj5foc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4521.00.1'
20240924@175504.7894 45jevps243o0fq3shviorj5foc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2061 and bo.obrano = 2406190 and bi.ref ='324.4521.00.1' and bi.lordem =3
20240924@175504.8245 45jevps243o0fq3shviorj5foc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4521.00.1'
20240924@175504.8275 45jevps243o0fq3shviorj5foc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2061 and bo.obrano = 2406190 and bi.ref ='324.4521.00.1' and bi.lordem =3
20240924@175504.8294 45jevps243o0fq3shviorj5foc Query : use flama_phc
20240924@175504.8297 45jevps243o0fq3shviorj5foc Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240924@175504.8329 45jevps243o0fq3shviorj5foc Query : use flama_phc
20240924@175504.8333 45jevps243o0fq3shviorj5foc Query : select top 1 1 valor from td where td.ndoc = 39
20240924@175504.8366 45jevps243o0fq3shviorj5foc Query : use flama_phc
20240924@175504.8369 45jevps243o0fq3shviorj5foc 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')
20240924@175504.8400 45jevps243o0fq3shviorj5foc 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
20240924@175504.8437 45jevps243o0fq3shviorj5foc Query : use flama_phc
20240924@175504.8440 45jevps243o0fq3shviorj5foc Query : select top 1 ~inactivo valor from cl where no = '100041' and estab = 0 order by inactivo desc
20240924@175504.8583 45jevps243o0fq3shviorj5foc Query : use flama_phc
20240924@175504.8586 45jevps243o0fq3shviorj5foc Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240924@175504.9842 45jevps243o0fq3shviorj5foc Query : use flama_phc
20240924@175504.9847 45jevps243o0fq3shviorj5foc Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240924@175504.9892 45jevps243o0fq3shviorj5foc Query : use flama_phc
20240924@175504.9895 45jevps243o0fq3shviorj5foc Query : select szadrsstamp valor from szadrs where szadrsdesc='radiobela som, lda'
20240924@175505.1630 45jevps243o0fq3shviorj5foc Query : use flama_phc
20240924@175505.1670 45jevps243o0fq3shviorj5foc Query : select 1 valor from td where ndoc = 39
20240924@175505.1790 45jevps243o0fq3shviorj5foc Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240924@175505.1930 45jevps243o0fq3shviorj5foc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175505.2100 45jevps243o0fq3shviorj5foc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240924@175505.2310 45jevps243o0fq3shviorj5foc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175505.2470 45jevps243o0fq3shviorj5foc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240924@175505.2780 45jevps243o0fq3shviorj5foc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175505.2930 45jevps243o0fq3shviorj5foc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240924@175505.3060 45jevps243o0fq3shviorj5foc Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240924@175505.3770 45jevps243o0fq3shviorj5foc Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240924@175505.3910 45jevps243o0fq3shviorj5foc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175505.4080 45jevps243o0fq3shviorj5foc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240924@175505.4240 45jevps243o0fq3shviorj5foc Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66f2e5939766f2eee907' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240924@175505.6280 45jevps243o0fq3shviorj5foc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175505.6580 45jevps243o0fq3shviorj5foc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240924@175505.7520 45jevps243o0fq3shviorj5foc Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240924@175505.7650 45jevps243o0fq3shviorj5foc Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240924@175505.7780 45jevps243o0fq3shviorj5foc Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240924@175505.7900 45jevps243o0fq3shviorj5foc Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240924@175505.8020 45jevps243o0fq3shviorj5foc Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240924@175505.8130 45jevps243o0fq3shviorj5foc Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240924@175505.8240 45jevps243o0fq3shviorj5foc Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66f2e5939766f2eee907',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240924@175505.1092 45jevps243o0fq3shviorj5foc Query : select top 1 fno valor from wsftdata order by fno desc
20240924@175505.1114 45jevps243o0fq3shviorj5foc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175505.1130 45jevps243o0fq3shviorj5foc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240924@175505.1159 45jevps243o0fq3shviorj5foc Query : select 'normal' from dummy
20240924@175505.1174 45jevps243o0fq3shviorj5foc Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66f2e5939766f2eee907',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',929,100041,0,'2024-09-24',39,'euro',0,0,2024 ,?,?)
20240924@175505.1522 45jevps243o0fq3shviorj5foc Query : use flama_phc
20240924@175505.1526 45jevps243o0fq3shviorj5foc Query : select st.usalote valor from st where st.ref = '304.4861.00.1'
20240924@175505.1548 45jevps243o0fq3shviorj5foc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.4861.00.1'
20240924@175505.1707 45jevps243o0fq3shviorj5foc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175505.1724 45jevps243o0fq3shviorj5foc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175505.1749 45jevps243o0fq3shviorj5foc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175505.1805 45jevps243o0fq3shviorj5foc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175505.1824 45jevps243o0fq3shviorj5foc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175505.1837 45jevps243o0fq3shviorj5foc Query : select sestamp valor from se where ref ='304.4861.00.1' and lote = '210804'
20240924@175505.1872 45jevps243o0fq3shviorj5foc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175505.1890 45jevps243o0fq3shviorj5foc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175505.1904 45jevps243o0fq3shviorj5foc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e6190466f2eee92d','aut66f2e5939766f2eee907' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175505.1909 45jevps243o0fq3shviorj5foc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175505.1924 45jevps243o0fq3shviorj5foc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175505.1955 45jevps243o0fq3shviorj5foc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f2e6190466f2eee92d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66f2e5939766f2eee907' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240924@175505.2244 45jevps243o0fq3shviorj5foc Query : use flama_phc
20240924@175505.2248 45jevps243o0fq3shviorj5foc Query : select st.usalote valor from st where st.ref = '324.4521.00.1'
20240924@175505.2269 45jevps243o0fq3shviorj5foc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.4521.00.1'
20240924@175505.2289 45jevps243o0fq3shviorj5foc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175505.2305 45jevps243o0fq3shviorj5foc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175505.2333 45jevps243o0fq3shviorj5foc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175505.2348 45jevps243o0fq3shviorj5foc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175505.2357 45jevps243o0fq3shviorj5foc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175505.2372 45jevps243o0fq3shviorj5foc Query : select sestamp valor from se where ref ='324.4521.00.1' and lote = 'r2400052200a'
20240924@175505.2390 45jevps243o0fq3shviorj5foc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175505.2407 45jevps243o0fq3shviorj5foc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175505.2425 45jevps243o0fq3shviorj5foc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e4804766f2eee93a','aut66f2e5939766f2eee907' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175505.2429 45jevps243o0fq3shviorj5foc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175505.2449 45jevps243o0fq3shviorj5foc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175505.2480 45jevps243o0fq3shviorj5foc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f2e4804766f2eee93a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66f2e5939766f2eee907' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240924@175505.2800 45jevps243o0fq3shviorj5foc Query : use flama_phc
20240924@175505.2803 45jevps243o0fq3shviorj5foc Query : select st.usalote valor from st where st.ref = '324.4521.00.1'
20240924@175505.2828 45jevps243o0fq3shviorj5foc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.4521.00.1'
20240924@175505.2844 45jevps243o0fq3shviorj5foc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175505.2861 45jevps243o0fq3shviorj5foc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175505.2892 45jevps243o0fq3shviorj5foc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175505.2908 45jevps243o0fq3shviorj5foc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175505.2917 45jevps243o0fq3shviorj5foc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175505.2930 45jevps243o0fq3shviorj5foc Query : select sestamp valor from se where ref ='324.4521.00.1' and lote = 'r2400052200a'
20240924@175505.2942 45jevps243o0fq3shviorj5foc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175505.2957 45jevps243o0fq3shviorj5foc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240924@175505.2969 45jevps243o0fq3shviorj5foc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e4139566f2eee947','aut66f2e5939766f2eee907' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240924@175505.2974 45jevps243o0fq3shviorj5foc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175505.2989 45jevps243o0fq3shviorj5foc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240924@175505.3027 45jevps243o0fq3shviorj5foc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f2e4139566f2eee947',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66f2e5939766f2eee907' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240924@175505.3304 45jevps243o0fq3shviorj5foc Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66f2e5939766f2eee907','2406190','wait',39,'adm09112754980.682000002')
20240924@175505.3373 45jevps243o0fq3shviorj5foc Query : use flama_phc
20240924@175505.3380 45jevps243o0fq3shviorj5foc Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240924@175505.3410 45jevps243o0fq3shviorj5foc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2199';
20240924@175505.3442 45jevps243o0fq3shviorj5foc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2199';
20240924@175505.3482 45jevps243o0fq3shviorj5foc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2199';
20240924@175505.3507 45jevps243o0fq3shviorj5foc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2199';
20240924@175505.4084 nv1la2n534nej2r4f41fueaj94 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240924@175505.4095 nv1la2n534nej2r4f41fueaj94 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240924@175505.4148 nv1la2n534nej2r4f41fueaj94 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2200';
20240924@175505.4202 nv1la2n534nej2r4f41fueaj94 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2200';
20240924@175505.4252 nv1la2n534nej2r4f41fueaj94 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2200';
20240924@175505.4280 nv1la2n534nej2r4f41fueaj94 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2200';
20240924@175505.5443 1p67u1kh5fl8ubnteovlnqarn9 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240924@175505.5454 1p67u1kh5fl8ubnteovlnqarn9 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240924@175505.5523 1p67u1kh5fl8ubnteovlnqarn9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2201';
20240924@175505.5577 1p67u1kh5fl8ubnteovlnqarn9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2201';
20240924@175505.5629 1p67u1kh5fl8ubnteovlnqarn9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2201';
20240924@175505.5654 1p67u1kh5fl8ubnteovlnqarn9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2201';
20240924@175505.5696 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175505.5700 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240924@175505.5781 1p67u1kh5fl8ubnteovlnqarn9 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2
20240924@175505.5861 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1871.00.1'
20240924@175505.6009 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002185 and bi.ref ='324.1871.00.1' and bi.lordem =10000
20240924@175505.6401 1p67u1kh5fl8ubnteovlnqarn9 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 = 'az24092353182,996000001 ' 
20240924@175505.7005 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1871.00.1'
20240924@175505.7025 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002185 and bi.ref ='324.1871.00.1' and bi.lordem =10000
20240924@175505.7047 1p67u1kh5fl8ubnteovlnqarn9 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 = 'az24092353182,996000001 ' 
20240924@175505.7068 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1329.00.1'
20240924@175505.7212 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002185 and bi.ref ='324.1329.00.1' and bi.lordem =20000
20240924@175505.7539 1p67u1kh5fl8ubnteovlnqarn9 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 = 'az24092353224,847000002 ' 
20240924@175505.7873 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1329.00.1'
20240924@175505.7895 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002185 and bi.ref ='324.1329.00.1' and bi.lordem =20000
20240924@175505.7919 1p67u1kh5fl8ubnteovlnqarn9 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 = 'az24092353224,847000002 ' 
20240924@175505.7943 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.4906.00.1'
20240924@175505.8078 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002185 and bi.ref ='324.4906.00.1' and bi.lordem =30000
20240924@175505.8446 1p67u1kh5fl8ubnteovlnqarn9 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 = 'az24092353241,345000003 ' 
20240924@175505.8762 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.736.00.01'
20240924@175505.9069 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002185 and bi.ref ='324.736.00.01' and bi.lordem =40000
20240924@175505.9428 1p67u1kh5fl8ubnteovlnqarn9 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 = 'az24092353252,674000004 ' 
20240924@175505.9743 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.734.00.02'
20240924@175506.2800 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002185 and bi.ref ='324.734.00.02' and bi.lordem =50000
20240924@175506.3910 1p67u1kh5fl8ubnteovlnqarn9 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 = 'az24092353338,403000005 ' 
20240924@175506.7180 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.4988.00.1'
20240924@175506.8390 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002185 and bi.ref ='324.4988.00.1' and bi.lordem =70000
20240924@175506.2132 1p67u1kh5fl8ubnteovlnqarn9 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 = 'az24092353373,581000007 ' 
20240924@175506.2613 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.4902.00.1'
20240924@175506.2740 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002185 and bi.ref ='324.4902.00.1' and bi.lordem =80000
20240924@175506.3144 1p67u1kh5fl8ubnteovlnqarn9 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 = 'az24092353386,641000008 ' 
20240924@175506.3483 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1643.00.1'
20240924@175506.3594 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002185 and bi.ref ='324.1643.00.1' and bi.lordem =90000
20240924@175506.3907 1p67u1kh5fl8ubnteovlnqarn9 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 = 'az24092353400,097000009 ' 
20240924@175506.4240 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.698.00.01'
20240924@175506.4356 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002185 and bi.ref ='324.698.00.01' and bi.lordem =100000
20240924@175506.4670 1p67u1kh5fl8ubnteovlnqarn9 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 = 'az24092353432,912000010 ' 
20240924@175506.4966 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.686.00.01'
20240924@175506.5077 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002185 and bi.ref ='324.686.00.01' and bi.lordem =110000
20240924@175506.5399 1p67u1kh5fl8ubnteovlnqarn9 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 = 'az24092353444,106000011 ' 
20240924@175506.5681 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '328.9316.00.1'
20240924@175506.5971 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002185 and bi.ref ='328.9316.00.1' and bi.lordem =120000
20240924@175506.6295 1p67u1kh5fl8ubnteovlnqarn9 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 = 'az24092353501,426000014 ' 
20240924@175506.6603 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '328.9316.00.1'
20240924@175506.6622 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002185 and bi.ref ='328.9316.00.1' and bi.lordem =120000
20240924@175506.6644 1p67u1kh5fl8ubnteovlnqarn9 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 = 'az24092353501,426000014 ' 
20240924@175506.6665 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '328.9316.00.1'
20240924@175506.6686 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002185 and bi.ref ='328.9316.00.1' and bi.lordem =120000
20240924@175506.6708 1p67u1kh5fl8ubnteovlnqarn9 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 = 'az24092353501,426000014 ' 
20240924@175506.6732 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '328.9316.00.1'
20240924@175506.6753 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002185 and bi.ref ='328.9316.00.1' and bi.lordem =120000
20240924@175506.6776 1p67u1kh5fl8ubnteovlnqarn9 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 = 'az24092353501,426000014 ' 
20240924@175506.6796 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '328.9316.00.1'
20240924@175506.6815 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002185 and bi.ref ='328.9316.00.1' and bi.lordem =120000
20240924@175506.6835 1p67u1kh5fl8ubnteovlnqarn9 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 = 'az24092353501,426000014 ' 
20240924@175506.6855 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '328.9316.00.1'
20240924@175506.6874 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002185 and bi.ref ='328.9316.00.1' and bi.lordem =120000
20240924@175506.6895 1p67u1kh5fl8ubnteovlnqarn9 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 = 'az24092353501,426000014 ' 
20240924@175506.6917 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '328.9316.00.1'
20240924@175506.6938 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002185 and bi.ref ='328.9316.00.1' and bi.lordem =120000
20240924@175506.6958 1p67u1kh5fl8ubnteovlnqarn9 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 = 'az24092353501,426000014 ' 
20240924@175506.6996 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '328.9316.00.1'
20240924@175506.7015 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =001 and bo.boano =2024 and bo.obrano = 0002185 and bi.ref ='328.9316.00.1' and bi.lordem =120000
20240924@175506.7037 1p67u1kh5fl8ubnteovlnqarn9 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 = 'az24092353501,426000014 ' 
20240924@175506.7067 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175506.7070 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 1 valor from ts where ts.ndos = 5
20240924@175506.7165 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175506.7168 1p67u1kh5fl8ubnteovlnqarn9 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')
20240924@175506.7198 1p67u1kh5fl8ubnteovlnqarn9 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
20240924@175506.7421 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175506.7462 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 ~inactivo valor from fl where no = '100500' and estab = 0 order by inactivo desc
20240924@175506.7801 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175506.7804 1p67u1kh5fl8ubnteovlnqarn9 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240924@175506.7845 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175506.7848 1p67u1kh5fl8ubnteovlnqarn9 Query : select szadrsstamp valor from szadrs where szadrsdesc='n/instalaÇÕes sede'
20240924@175506.7898 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175506.7901 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from ts where ndos = 5
20240924@175506.7979 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175506.7996 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo' and documentnumber = 5
20240924@175506.8010 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175506.8025 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo2' and documentnumber = 5
20240924@175506.8037 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175506.8052 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo3' and documentnumber = 5
20240924@175506.8062 1p67u1kh5fl8ubnteovlnqarn9 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
20240924@175506.8175 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 5 and boano=2024 order by obrano desc
20240924@175506.8332 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 bo.obrano valor from wsbodata bo where bo.ndos = 5 and boano=2024 order by obrano desc
20240924@175506.8429 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175506.8435 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='100500' and estab=0
20240924@175506.8549 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175506.8566 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo3' and documentnumber = 5
20240924@175506.8581 1p67u1kh5fl8ubnteovlnqarn9 Query : insert into wsbo3data (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e0410766f2eeeacd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20240924@175506.8785 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175506.8825 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo2' and documentnumber = 5
20240924@175506.8839 1p67u1kh5fl8ubnteovlnqarn9 Query : insert into wsbo2data (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,xpddata,xpdhora,carga,descar) values ('aut66f2e0410766f2eeeacd','ga','bo',0 ,0,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut','20240924','18:25',?,?)
20240924@175507.1224 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175507.1244 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo' and documentnumber = 5
20240924@175507.1263 1p67u1kh5fl8ubnteovlnqarn9 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 ('aut66f2e0410766f2eeeacd','trf entre armazéns a','2024-09-24',5,467,?,?,?,?,?,?,?,?,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',?)
20240924@175507.1963 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175507.1967 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.usalote valor from st where st.ref = '324.1871.00.1'
20240924@175507.1984 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175507.1988 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.stns valor from st where st.ref = '324.1871.00.1'
20240924@175507.2103 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175507.2106 1p67u1kh5fl8ubnteovlnqarn9 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 
20240924@175507.2169 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175507.2172 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.stns valor from st where st.ref = '324.1871.00.1'
20240924@175507.2193 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240924@175507.2207 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175507.2221 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175507.2234 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175507.2249 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175507.2258 1p67u1kh5fl8ubnteovlnqarn9 Query : select sestamp valor from se where ref ='324.1871.00.1' and lote = 'r2400437200a'
20240924@175507.2269 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175507.2281 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175507.2295 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175507.2307 1p67u1kh5fl8ubnteovlnqarn9 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66f2e8424666f2eeeb37','aut66f2e0410766f2eeeacd',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 = 'aut66f2e0410766f2eeeacd'
20240924@175507.2814 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175507.2834 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175507.2850 1p67u1kh5fl8ubnteovlnqarn9 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 'aut66f2e8424666f2eeeb37',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,10000 ,112.5,112.5*200.48,112.5,112.5*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,112.5*6.000,112.5*6.000*200.48 ,48.700000,48.700000*200.48 ,48.700000,48.700000*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*6.000,112.5*6.000*200.48,'az24092353182,996000001 ',112.5,112.5*6.000,112.5,112.5*6.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66f2e0410766f2eeeacd'
20240924@175507.3334 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175507.3338 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.usalote valor from st where st.ref = '324.1871.00.1'
20240924@175507.3353 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175507.3356 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.stns valor from st where st.ref = '324.1871.00.1'
20240924@175507.3387 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175507.3390 1p67u1kh5fl8ubnteovlnqarn9 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 
20240924@175507.3413 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175507.3416 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.stns valor from st where st.ref = '324.1871.00.1'
20240924@175507.3434 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240924@175507.3447 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175507.3463 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175507.3476 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175507.3491 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175507.3501 1p67u1kh5fl8ubnteovlnqarn9 Query : select sestamp valor from se where ref ='324.1871.00.1' and lote = 'r2400437200a'
20240924@175507.3512 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175507.3525 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175507.3540 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175507.3552 1p67u1kh5fl8ubnteovlnqarn9 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66f2e3960366f2eeeb56','aut66f2e0410766f2eeeacd',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 = 'aut66f2e0410766f2eeeacd'
20240924@175507.3715 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175507.3732 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175507.3751 1p67u1kh5fl8ubnteovlnqarn9 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 'aut66f2e3960366f2eeeb56',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,20000 ,112.5,112.5*200.48,112.5,112.5*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,112.5*6.000,112.5*6.000*200.48 ,48.700000,48.700000*200.48 ,48.700000,48.700000*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*6.000,112.5*6.000*200.48,'az24092353182,996000001 ',112.5,112.5*6.000,112.5,112.5*6.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66f2e0410766f2eeeacd'
20240924@175507.4071 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175507.4076 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.usalote valor from st where st.ref = '324.1329.00.1'
20240924@175507.4093 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175507.4096 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.stns valor from st where st.ref = '324.1329.00.1'
20240924@175507.4116 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175507.4119 1p67u1kh5fl8ubnteovlnqarn9 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.1329.00.1' and sa.armazem = 133 
20240924@175507.4188 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175507.4192 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.stns valor from st where st.ref = '324.1329.00.1'
20240924@175507.4213 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1329.00.1'
20240924@175507.4355 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175507.4372 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175507.4385 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175507.4399 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175507.4409 1p67u1kh5fl8ubnteovlnqarn9 Query : select sestamp valor from se where ref ='324.1329.00.1' and lote = 'r2400496300a'
20240924@175507.4429 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175507.4441 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175507.4455 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175507.4467 1p67u1kh5fl8ubnteovlnqarn9 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66f2e3239066f2eeeb6c','aut66f2e0410766f2eeeacd',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 = 'aut66f2e0410766f2eeeacd'
20240924@175507.4627 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175507.4659 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175507.4677 1p67u1kh5fl8ubnteovlnqarn9 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 'aut66f2e3239066f2eeeb6c',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,30000 ,179.2,179.2*200.48,179.2,179.2*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,179.2*6.000,179.2*6.000*200.48 ,73.389000,73.389000*200.48 ,73.389000,73.389000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,179.2,179.2*200.48,179.2*6.000,179.2*6.000*200.48,'az24092353224,847000002 ',179.2,179.2*6.000,179.2,179.2*6.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66f2e0410766f2eeeacd'
20240924@175507.5005 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175507.5009 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.usalote valor from st where st.ref = '324.1329.00.1'
20240924@175507.5024 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175507.5026 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.stns valor from st where st.ref = '324.1329.00.1'
20240924@175507.5043 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175507.5047 1p67u1kh5fl8ubnteovlnqarn9 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.1329.00.1' and sa.armazem = 133 
20240924@175507.6283 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175507.6287 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.stns valor from st where st.ref = '324.1329.00.1'
20240924@175507.6307 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1329.00.1'
20240924@175507.6321 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175507.6339 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175507.6612 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175507.6633 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175507.6643 1p67u1kh5fl8ubnteovlnqarn9 Query : select sestamp valor from se where ref ='324.1329.00.1' and lote = 'r2400496300a'
20240924@175507.6656 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175507.6669 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175507.6685 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175507.6696 1p67u1kh5fl8ubnteovlnqarn9 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66f2e0825466f2eeeba2','aut66f2e0410766f2eeeacd',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 = 'aut66f2e0410766f2eeeacd'
20240924@175507.6852 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175507.6867 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175507.6882 1p67u1kh5fl8ubnteovlnqarn9 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 'aut66f2e0825466f2eeeba2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 9.000, 9.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 ,179.2,179.2*200.48,179.2,179.2*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,179.2*9.000,179.2*9.000*200.48 ,73.389000,73.389000*200.48 ,73.389000,73.389000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,179.2,179.2*200.48,179.2*9.000,179.2*9.000*200.48,'az24092353224,847000002 ',179.2,179.2*9.000,179.2,179.2*9.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66f2e0410766f2eeeacd'
20240924@175507.7275 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175507.7279 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.usalote valor from st where st.ref = '324.4906.00.1'
20240924@175507.7294 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175507.7297 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.stns valor from st where st.ref = '324.4906.00.1'
20240924@175507.7313 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175507.7315 1p67u1kh5fl8ubnteovlnqarn9 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.4906.00.1' and sa.armazem = 133 
20240924@175507.7381 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175507.7383 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.stns valor from st where st.ref = '324.4906.00.1'
20240924@175507.7403 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.4906.00.1'
20240924@175507.7890 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175507.7908 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175507.7980 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175507.7996 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175507.8005 1p67u1kh5fl8ubnteovlnqarn9 Query : select sestamp valor from se where ref ='324.4906.00.1' and lote = 'r2300207200a'
20240924@175507.8202 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175507.8288 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175507.8306 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175507.8318 1p67u1kh5fl8ubnteovlnqarn9 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66f2e7593866f2eeebca','aut66f2e0410766f2eeeacd',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 = 'aut66f2e0410766f2eeeacd'
20240924@175507.8471 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175507.8488 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175507.8505 1p67u1kh5fl8ubnteovlnqarn9 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 'aut66f2e7593866f2eeebca',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,50000 ,41.6,41.6*200.48,41.6,41.6*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,41.6*12.000,41.6*12.000*200.48 ,19.270000,19.270000*200.48 ,19.270000,19.270000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,41.6,41.6*200.48,41.6*12.000,41.6*12.000*200.48,'az24092353241,345000003 ',41.6,41.6*12.000,41.6,41.6*12.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66f2e0410766f2eeeacd'
20240924@175507.8818 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175507.8822 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.usalote valor from st where st.ref = '324.736.00.01'
20240924@175507.8836 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175507.8839 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.stns valor from st where st.ref = '324.736.00.01'
20240924@175507.8856 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175507.8859 1p67u1kh5fl8ubnteovlnqarn9 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.736.00.01' and sa.armazem = 133 
20240924@175507.8926 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175507.8929 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.stns valor from st where st.ref = '324.736.00.01'
20240924@175507.8947 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.736.00.01'
20240924@175507.9085 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175507.9101 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175507.9113 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175507.9128 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175507.9137 1p67u1kh5fl8ubnteovlnqarn9 Query : select sestamp valor from se where ref ='324.736.00.01' and lote = 'r2400239300a'
20240924@175507.9150 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175507.9162 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175507.9175 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175507.9187 1p67u1kh5fl8ubnteovlnqarn9 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66f2e5784466f2eeebdf','aut66f2e0410766f2eeeacd',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 = 'aut66f2e0410766f2eeeacd'
20240924@175507.9342 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175507.9373 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175507.9389 1p67u1kh5fl8ubnteovlnqarn9 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 'aut66f2e5784466f2eeebdf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 20.000, 20.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,60000 ,23.7,23.7*200.48,23.7,23.7*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,23.7*20.000,23.7*20.000*200.48 ,10.386000,10.386000*200.48 ,10.386000,10.386000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,23.7,23.7*200.48,23.7*20.000,23.7*20.000*200.48,'az24092353252,674000004 ',23.7,23.7*20.000,23.7,23.7*20.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66f2e0410766f2eeeacd'
20240924@175507.9694 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175507.9699 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.usalote valor from st where st.ref = '324.734.00.02'
20240924@175507.9713 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175507.9716 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.stns valor from st where st.ref = '324.734.00.02'
20240924@175507.9731 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175507.9734 1p67u1kh5fl8ubnteovlnqarn9 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.734.00.02' and sa.armazem = 133 
20240924@175507.9813 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175507.9815 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.stns valor from st where st.ref = '324.734.00.02'
20240924@175507.9833 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.734.00.02'
20240924@175507.9971 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175507.9986 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175507.9999 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175508.1300 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175508.2100 1p67u1kh5fl8ubnteovlnqarn9 Query : select sestamp valor from se where ref ='324.734.00.02' and lote = 'r2400471100a'
20240924@175508.3400 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175508.4600 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175508.6000 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175508.7200 1p67u1kh5fl8ubnteovlnqarn9 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66f2e3147266f2eeec01','aut66f2e0410766f2eeeacd',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 = 'aut66f2e0410766f2eeeacd'
20240924@175508.2430 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175508.2590 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175508.2750 1p67u1kh5fl8ubnteovlnqarn9 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 'aut66f2e3147266f2eeec01',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 20.000, 20.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,70000 ,22.4,22.4*200.48,22.4,22.4*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,22.4*20.000,22.4*20.000*200.48 ,9.358000,9.358000*200.48 ,9.358000,9.358000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,22.4,22.4*200.48,22.4*20.000,22.4*20.000*200.48,'az24092353338,403000005 ',22.4,22.4*20.000,22.4,22.4*20.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66f2e0410766f2eeeacd'
20240924@175508.7340 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175508.7390 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.usalote valor from st where st.ref = '324.4988.00.1'
20240924@175508.7570 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175508.7600 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.stns valor from st where st.ref = '324.4988.00.1'
20240924@175508.7800 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175508.7830 1p67u1kh5fl8ubnteovlnqarn9 Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.4988.00.1' and sa.armazem = 133 
20240924@175508.8530 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175508.8560 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.stns valor from st where st.ref = '324.4988.00.1'
20240924@175508.8750 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4988.00.1'
20240924@175508.1017 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175508.1034 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175508.1047 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175508.1063 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175508.1072 1p67u1kh5fl8ubnteovlnqarn9 Query : select sestamp valor from se where ref ='324.4988.00.1' and lote = 'r2100754100a'
20240924@175508.1086 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175508.1098 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175508.1113 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175508.1126 1p67u1kh5fl8ubnteovlnqarn9 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66f2e9048266f2eeec1a','aut66f2e0410766f2eeeacd',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 = 'aut66f2e0410766f2eeeacd'
20240924@175508.1272 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175508.1303 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175508.1320 1p67u1kh5fl8ubnteovlnqarn9 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 'aut66f2e9048266f2eeec1a',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,80000 ,28.8,28.8*200.48,28.8,28.8*200.48 ,0,0,'un ','' ,bo.marcada,1 ,28.8*16.000,28.8*16.000*200.48 ,8.445000,8.445000*200.48 ,8.445000,8.445000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,28.8,28.8*200.48,28.8*16.000,28.8*16.000*200.48,'az24092353373,581000007 ',28.8,28.8*16.000,28.8,28.8*16.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66f2e0410766f2eeeacd'
20240924@175508.1829 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175508.1833 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.usalote valor from st where st.ref = '324.4902.00.1'
20240924@175508.1863 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175508.1866 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.stns valor from st where st.ref = '324.4902.00.1'
20240924@175508.1882 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175508.1885 1p67u1kh5fl8ubnteovlnqarn9 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 
20240924@175508.1957 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175508.1960 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.stns valor from st where st.ref = '324.4902.00.1'
20240924@175508.1983 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240924@175508.1996 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175508.2012 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175508.2024 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175508.2157 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175508.2222 1p67u1kh5fl8ubnteovlnqarn9 Query : select sestamp valor from se where ref ='324.4902.00.1' and lote = 'r2400145200a'
20240924@175508.2235 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175508.2247 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175508.2263 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175508.2275 1p67u1kh5fl8ubnteovlnqarn9 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66f2e6616466f2eeec36','aut66f2e0410766f2eeeacd',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 = 'aut66f2e0410766f2eeeacd'
20240924@175508.2426 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175508.2446 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175508.2462 1p67u1kh5fl8ubnteovlnqarn9 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 'aut66f2e6616466f2eeec36',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,90000 ,32,32*200.48,32,32*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,32*12.000,32*12.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*12.000,32*12.000*200.48,'az24092353386,641000008 ',32,32*12.000,32,32*12.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66f2e0410766f2eeeacd'
20240924@175508.2767 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175508.2771 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.usalote valor from st where st.ref = '324.1643.00.1'
20240924@175508.2783 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175508.2786 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.stns valor from st where st.ref = '324.1643.00.1'
20240924@175508.2803 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175508.2806 1p67u1kh5fl8ubnteovlnqarn9 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.1643.00.1' and sa.armazem = 133 
20240924@175508.2871 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175508.2874 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.stns valor from st where st.ref = '324.1643.00.1'
20240924@175508.2892 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1643.00.1'
20240924@175508.2906 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175508.2922 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175508.2934 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175508.2948 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175508.2956 1p67u1kh5fl8ubnteovlnqarn9 Query : select sestamp valor from se where ref ='324.1643.00.1' and lote = 'r2101218200a'
20240924@175508.2968 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175508.2980 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175508.2995 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175508.3006 1p67u1kh5fl8ubnteovlnqarn9 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66f2e7167366f2eeec48','aut66f2e0410766f2eeeacd',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 = 'aut66f2e0410766f2eeeacd'
20240924@175508.3173 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175508.3188 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175508.3203 1p67u1kh5fl8ubnteovlnqarn9 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 'aut66f2e7167366f2eeec48',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 15.000, 15.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*15.000,96*15.000*200.48 ,40.138000,40.138000*200.48 ,40.138000,40.138000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,96,96*200.48,96*15.000,96*15.000*200.48,'az24092353400,097000009 ',96,96*15.000,96,96*15.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66f2e0410766f2eeeacd'
20240924@175508.3501 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175508.3506 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.usalote valor from st where st.ref = '324.698.00.01'
20240924@175508.3520 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175508.3523 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.stns valor from st where st.ref = '324.698.00.01'
20240924@175508.3542 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175508.3545 1p67u1kh5fl8ubnteovlnqarn9 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.698.00.01' and sa.armazem = 133 
20240924@175508.3613 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175508.3616 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.stns valor from st where st.ref = '324.698.00.01'
20240924@175508.3635 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.698.00.01'
20240924@175508.3780 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175508.3796 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175508.3825 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175508.3839 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175508.3848 1p67u1kh5fl8ubnteovlnqarn9 Query : select sestamp valor from se where ref ='324.698.00.01' and lote = 'r2301182200a'
20240924@175508.3869 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175508.3881 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175508.3896 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175508.3907 1p67u1kh5fl8ubnteovlnqarn9 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66f2e4189066f2eeec5e','aut66f2e0410766f2eeeacd',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 = 'aut66f2e0410766f2eeeacd'
20240924@175508.4055 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175508.4072 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175508.4088 1p67u1kh5fl8ubnteovlnqarn9 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 'aut66f2e4189066f2eeec5e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 8.000, 8.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,110000 ,115.2,115.2*200.48,115.2,115.2*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,115.2*8.000,115.2*8.000*200.48 ,38.756000,38.756000*200.48 ,38.756000,38.756000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,115.2,115.2*200.48,115.2*8.000,115.2*8.000*200.48,'az24092353432,912000010 ',115.2,115.2*8.000,115.2,115.2*8.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66f2e0410766f2eeeacd'
20240924@175508.4385 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175508.4388 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.usalote valor from st where st.ref = '324.686.00.01'
20240924@175508.4403 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175508.4406 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.stns valor from st where st.ref = '324.686.00.01'
20240924@175508.4423 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175508.4426 1p67u1kh5fl8ubnteovlnqarn9 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.686.00.01' and sa.armazem = 133 
20240924@175508.4506 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175508.4509 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.stns valor from st where st.ref = '324.686.00.01'
20240924@175508.4527 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240924@175508.4671 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175508.4687 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175508.4700 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175508.4715 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175508.4723 1p67u1kh5fl8ubnteovlnqarn9 Query : select sestamp valor from se where ref ='324.686.00.01' and lote = 'r2400127100a'
20240924@175508.4737 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175508.4749 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175508.4772 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175508.4784 1p67u1kh5fl8ubnteovlnqarn9 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66f2e2408766f2eeec73','aut66f2e0410766f2eeeacd',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 = 'aut66f2e0410766f2eeeacd'
20240924@175508.5014 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175508.5266 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175508.5304 1p67u1kh5fl8ubnteovlnqarn9 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 'aut66f2e2408766f2eeec73',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,120000 ,128,128*200.48,128,128*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,128*8.000,128*8.000*200.48 ,44.319000,44.319000*200.48 ,44.319000,44.319000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,128,128*200.48,128*8.000,128*8.000*200.48,'az24092353444,106000011 ',128,128*8.000,128,128*8.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66f2e0410766f2eeeacd'
20240924@175508.5625 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175508.5629 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.usalote valor from st where st.ref = '328.9316.00.1'
20240924@175508.5642 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175508.5645 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.stns valor from st where st.ref = '328.9316.00.1'
20240924@175508.5660 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175508.5663 1p67u1kh5fl8ubnteovlnqarn9 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.9316.00.1' and sa.armazem = 133 
20240924@175508.5729 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175508.5732 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.stns valor from st where st.ref = '328.9316.00.1'
20240924@175508.5750 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.9316.00.1'
20240924@175508.5912 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175508.5927 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175508.5940 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175508.5954 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175508.5962 1p67u1kh5fl8ubnteovlnqarn9 Query : select sestamp valor from se where ref ='328.9316.00.1' and lote = 'r2400092110a'
20240924@175508.5984 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175508.5997 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175508.6011 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175508.6024 1p67u1kh5fl8ubnteovlnqarn9 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66f2e5241466f2eeec92','aut66f2e0410766f2eeeacd',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 = 'aut66f2e0410766f2eeeacd'
20240924@175508.6204 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175508.6221 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175508.6237 1p67u1kh5fl8ubnteovlnqarn9 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 'aut66f2e5241466f2eeec92',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,130000 ,83.2,83.2*200.48,83.2,83.2*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,83.2*1.000,83.2*1.000*200.48 ,34.915000,34.915000*200.48 ,34.915000,34.915000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,83.2,83.2*200.48,83.2*1.000,83.2*1.000*200.48,'az24092353501,426000014 ',83.2,83.2*1.000,83.2,83.2*1.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66f2e0410766f2eeeacd'
20240924@175508.6687 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175508.6723 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.usalote valor from st where st.ref = '328.9316.00.1'
20240924@175508.6836 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175508.6839 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.stns valor from st where st.ref = '328.9316.00.1'
20240924@175508.6855 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175508.6858 1p67u1kh5fl8ubnteovlnqarn9 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.9316.00.1' and sa.armazem = 133 
20240924@175508.6880 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175508.6882 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.stns valor from st where st.ref = '328.9316.00.1'
20240924@175508.6901 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.9316.00.1'
20240924@175508.6915 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175508.6949 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175508.6962 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175508.6979 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175508.6987 1p67u1kh5fl8ubnteovlnqarn9 Query : select sestamp valor from se where ref ='328.9316.00.1' and lote = 'r2400092110a'
20240924@175508.6999 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175508.7011 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175508.7025 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175508.7037 1p67u1kh5fl8ubnteovlnqarn9 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66f2e5821366f2eeecab','aut66f2e0410766f2eeeacd',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 = 'aut66f2e0410766f2eeeacd'
20240924@175508.7196 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175508.7212 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175508.7228 1p67u1kh5fl8ubnteovlnqarn9 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 'aut66f2e5821366f2eeecab',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,140000 ,83.2,83.2*200.48,83.2,83.2*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,83.2*1.000,83.2*1.000*200.48 ,34.915000,34.915000*200.48 ,34.915000,34.915000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,83.2,83.2*200.48,83.2*1.000,83.2*1.000*200.48,'az24092353501,426000014 ',83.2,83.2*1.000,83.2,83.2*1.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66f2e0410766f2eeeacd'
20240924@175508.7533 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175508.7537 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.usalote valor from st where st.ref = '328.9316.00.1'
20240924@175508.7566 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175508.7569 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.stns valor from st where st.ref = '328.9316.00.1'
20240924@175508.7584 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175508.7586 1p67u1kh5fl8ubnteovlnqarn9 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.9316.00.1' and sa.armazem = 133 
20240924@175508.7608 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175508.7611 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.stns valor from st where st.ref = '328.9316.00.1'
20240924@175508.7629 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.9316.00.1'
20240924@175508.7643 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175508.7658 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175508.7671 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175508.7685 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175508.7695 1p67u1kh5fl8ubnteovlnqarn9 Query : select sestamp valor from se where ref ='328.9316.00.1' and lote = 'r2400092110a'
20240924@175508.7707 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175508.7720 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175508.7736 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175508.7747 1p67u1kh5fl8ubnteovlnqarn9 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66f2e3975966f2eeecbc','aut66f2e0410766f2eeeacd',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 = 'aut66f2e0410766f2eeeacd'
20240924@175508.7896 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175508.7911 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175508.7927 1p67u1kh5fl8ubnteovlnqarn9 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 'aut66f2e3975966f2eeecbc',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,150000 ,83.2,83.2*200.48,83.2,83.2*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,83.2*1.000,83.2*1.000*200.48 ,34.915000,34.915000*200.48 ,34.915000,34.915000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,83.2,83.2*200.48,83.2*1.000,83.2*1.000*200.48,'az24092353501,426000014 ',83.2,83.2*1.000,83.2,83.2*1.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66f2e0410766f2eeeacd'
20240924@175508.8236 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175508.8239 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.usalote valor from st where st.ref = '328.9316.00.1'
20240924@175508.8252 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175508.8255 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.stns valor from st where st.ref = '328.9316.00.1'
20240924@175508.8271 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175508.8274 1p67u1kh5fl8ubnteovlnqarn9 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.9316.00.1' and sa.armazem = 133 
20240924@175508.8296 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175508.8299 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.stns valor from st where st.ref = '328.9316.00.1'
20240924@175508.8317 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.9316.00.1'
20240924@175508.8331 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175508.8347 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175508.8359 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175508.8388 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175508.8396 1p67u1kh5fl8ubnteovlnqarn9 Query : select sestamp valor from se where ref ='328.9316.00.1' and lote = 'r2400092110a'
20240924@175508.8408 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175508.8421 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175508.8435 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175508.8447 1p67u1kh5fl8ubnteovlnqarn9 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66f2e9843166f2eeeccd','aut66f2e0410766f2eeeacd',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 = 'aut66f2e0410766f2eeeacd'
20240924@175508.8592 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175508.8607 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175508.8623 1p67u1kh5fl8ubnteovlnqarn9 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 'aut66f2e9843166f2eeeccd',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,160000 ,83.2,83.2*200.48,83.2,83.2*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,83.2*1.000,83.2*1.000*200.48 ,34.915000,34.915000*200.48 ,34.915000,34.915000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,83.2,83.2*200.48,83.2*1.000,83.2*1.000*200.48,'az24092353501,426000014 ',83.2,83.2*1.000,83.2,83.2*1.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66f2e0410766f2eeeacd'
20240924@175508.8930 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175508.8933 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.usalote valor from st where st.ref = '328.9316.00.1'
20240924@175508.8946 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175508.8949 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.stns valor from st where st.ref = '328.9316.00.1'
20240924@175508.8965 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175508.8968 1p67u1kh5fl8ubnteovlnqarn9 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.9316.00.1' and sa.armazem = 133 
20240924@175508.8991 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175508.8994 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.stns valor from st where st.ref = '328.9316.00.1'
20240924@175508.9012 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.9316.00.1'
20240924@175508.9065 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175508.9209 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175508.9223 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175508.9237 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175508.9246 1p67u1kh5fl8ubnteovlnqarn9 Query : select sestamp valor from se where ref ='328.9316.00.1' and lote = 'r2400092110a'
20240924@175508.9258 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175508.9270 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175508.9285 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175508.9297 1p67u1kh5fl8ubnteovlnqarn9 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66f2e2260966f2eeece2','aut66f2e0410766f2eeeacd',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 = 'aut66f2e0410766f2eeeacd'
20240924@175508.9450 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175508.9465 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175508.9483 1p67u1kh5fl8ubnteovlnqarn9 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 'aut66f2e2260966f2eeece2',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,170000 ,83.2,83.2*200.48,83.2,83.2*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,83.2*1.000,83.2*1.000*200.48 ,34.915000,34.915000*200.48 ,34.915000,34.915000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,83.2,83.2*200.48,83.2*1.000,83.2*1.000*200.48,'az24092353501,426000014 ',83.2,83.2*1.000,83.2,83.2*1.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66f2e0410766f2eeeacd'
20240924@175508.9805 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175508.9809 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.usalote valor from st where st.ref = '328.9316.00.1'
20240924@175508.9822 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175508.9825 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.stns valor from st where st.ref = '328.9316.00.1'
20240924@175508.9842 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175508.9845 1p67u1kh5fl8ubnteovlnqarn9 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.9316.00.1' and sa.armazem = 133 
20240924@175508.9867 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175508.9870 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.stns valor from st where st.ref = '328.9316.00.1'
20240924@175508.9890 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.9316.00.1'
20240924@175508.9904 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175508.9919 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175508.9932 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175508.9947 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175508.9955 1p67u1kh5fl8ubnteovlnqarn9 Query : select sestamp valor from se where ref ='328.9316.00.1' and lote = 'r2400092110a'
20240924@175508.9967 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175508.9979 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175508.9993 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175509.5000 1p67u1kh5fl8ubnteovlnqarn9 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66f2e4548966f2eeecf3','aut66f2e0410766f2eeeacd',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 = 'aut66f2e0410766f2eeeacd'
20240924@175509.1650 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175509.1810 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175509.1960 1p67u1kh5fl8ubnteovlnqarn9 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 'aut66f2e4548966f2eeecf3',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,180000 ,83.2,83.2*200.48,83.2,83.2*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,83.2*1.000,83.2*1.000*200.48 ,34.915000,34.915000*200.48 ,34.915000,34.915000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,83.2,83.2*200.48,83.2*1.000,83.2*1.000*200.48,'az24092353501,426000014 ',83.2,83.2*1.000,83.2,83.2*1.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66f2e0410766f2eeeacd'
20240924@175509.4910 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175509.4960 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.usalote valor from st where st.ref = '328.9316.00.1'
20240924@175509.5090 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175509.5110 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.stns valor from st where st.ref = '328.9316.00.1'
20240924@175509.5270 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175509.5290 1p67u1kh5fl8ubnteovlnqarn9 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.9316.00.1' and sa.armazem = 133 
20240924@175509.5500 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175509.5530 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.stns valor from st where st.ref = '328.9316.00.1'
20240924@175509.5720 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.9316.00.1'
20240924@175509.5860 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175509.6020 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175509.6140 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175509.6280 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175509.6370 1p67u1kh5fl8ubnteovlnqarn9 Query : select sestamp valor from se where ref ='328.9316.00.1' and lote = 'r2400092110a'
20240924@175509.7830 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175509.8100 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175509.8250 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175509.8370 1p67u1kh5fl8ubnteovlnqarn9 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66f2e8842366f2eeed13','aut66f2e0410766f2eeeacd',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 = 'aut66f2e0410766f2eeeacd'
20240924@175509.9930 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175509.1009 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175509.1024 1p67u1kh5fl8ubnteovlnqarn9 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 'aut66f2e8842366f2eeed13',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,190000 ,83.2,83.2*200.48,83.2,83.2*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,83.2*1.000,83.2*1.000*200.48 ,34.915000,34.915000*200.48 ,34.915000,34.915000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,83.2,83.2*200.48,83.2*1.000,83.2*1.000*200.48,'az24092353501,426000014 ',83.2,83.2*1.000,83.2,83.2*1.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66f2e0410766f2eeeacd'
20240924@175509.1611 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175509.1854 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.usalote valor from st where st.ref = '328.9316.00.1'
20240924@175509.2302 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175509.2306 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.stns valor from st where st.ref = '328.9316.00.1'
20240924@175509.2325 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175509.2328 1p67u1kh5fl8ubnteovlnqarn9 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.9316.00.1' and sa.armazem = 133 
20240924@175509.2352 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175509.2354 1p67u1kh5fl8ubnteovlnqarn9 Query : select st.stns valor from st where st.ref = '328.9316.00.1'
20240924@175509.2375 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.9316.00.1'
20240924@175509.2391 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175509.2408 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175509.2421 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175509.2436 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175509.2448 1p67u1kh5fl8ubnteovlnqarn9 Query : select sestamp valor from se where ref ='328.9316.00.1' and lote = 'r2400092110a'
20240924@175509.2460 1p67u1kh5fl8ubnteovlnqarn9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175509.2472 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175509.2486 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175509.2497 1p67u1kh5fl8ubnteovlnqarn9 Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66f2e8855766f2eeed3c','aut66f2e0410766f2eeeacd',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 = 'aut66f2e0410766f2eeeacd'
20240924@175509.2755 1p67u1kh5fl8ubnteovlnqarn9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175509.2826 1p67u1kh5fl8ubnteovlnqarn9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175509.2845 1p67u1kh5fl8ubnteovlnqarn9 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 'aut66f2e8855766f2eeed3c',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,200000 ,83.2,83.2*200.48,83.2,83.2*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,83.2*1.000,83.2*1.000*200.48 ,34.915000,34.915000*200.48 ,34.915000,34.915000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,83.2,83.2*200.48,83.2*1.000,83.2*1.000*200.48,'az24092353501,426000014 ',83.2,83.2*1.000,83.2,83.2*1.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66f2e0410766f2eeeacd'
20240924@175509.3168 1p67u1kh5fl8ubnteovlnqarn9 Query : insert into wsbocreationlog (initialstamp,externalid,creationstatus,documenttypeid,idustamp,transactionid) values ('aut66f2e0410766f2eeeacd','','wait',5,'adm12071144683,938000003','')
20240924@175509.3263 1p67u1kh5fl8ubnteovlnqarn9 Query : use flama_phc
20240924@175509.3265 1p67u1kh5fl8ubnteovlnqarn9 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240924@175509.3335 1p67u1kh5fl8ubnteovlnqarn9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2201';
20240924@175509.3365 1p67u1kh5fl8ubnteovlnqarn9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2201';
20240924@175509.3950 gj446t2ak564o051g3tu8ivcpa Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240924@175509.3962 gj446t2ak564o051g3tu8ivcpa Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240924@175509.4023 gj446t2ak564o051g3tu8ivcpa Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2202';
20240924@175509.4077 gj446t2ak564o051g3tu8ivcpa Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2202';
20240924@175509.4131 gj446t2ak564o051g3tu8ivcpa Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2202';
20240924@175509.4157 gj446t2ak564o051g3tu8ivcpa Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2202';
20240924@175509.4410 8h8ccvj7ospnh3mnvdvdf0blrd Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240924@175509.4421 8h8ccvj7ospnh3mnvdvdf0blrd Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240924@175509.4474 8h8ccvj7ospnh3mnvdvdf0blrd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2203';
20240924@175509.4526 8h8ccvj7ospnh3mnvdvdf0blrd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2203';
20240924@175509.4575 8h8ccvj7ospnh3mnvdvdf0blrd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2203';
20240924@175509.4603 8h8ccvj7ospnh3mnvdvdf0blrd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2203';
20240924@175509.4655 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175509.4659 8h8ccvj7ospnh3mnvdvdf0blrd Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240924@175509.4726 8h8ccvj7ospnh3mnvdvdf0blrd Query : select no, estab,szadrsdesc from szadrs where u_coddest=23
20240924@175509.4811 8h8ccvj7ospnh3mnvdvdf0blrd Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1896.00.1'
20240924@175509.4929 8h8ccvj7ospnh3mnvdvdf0blrd 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 = 0000036 and bi.ref ='324.1896.00.1' and bi.lordem =10000
20240924@175509.5294 8h8ccvj7ospnh3mnvdvdf0blrd 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 = 'pll24091736027,297000001 ' 
20240924@175509.5582 8h8ccvj7ospnh3mnvdvdf0blrd Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1824.00.1'
20240924@175509.6413 8h8ccvj7ospnh3mnvdvdf0blrd 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 = 0000036 and bi.ref ='324.1824.00.1' and bi.lordem =20000
20240924@175509.6754 8h8ccvj7ospnh3mnvdvdf0blrd 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 = 'pll24091736081,358000002 ' 
20240924@175509.7048 8h8ccvj7ospnh3mnvdvdf0blrd Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '328.9106.00.1'
20240924@175509.7336 8h8ccvj7ospnh3mnvdvdf0blrd 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 = 0000036 and bi.ref ='328.9106.00.1' and bi.lordem =30000
20240924@175509.7674 8h8ccvj7ospnh3mnvdvdf0blrd 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 = 'pll24091736097,767000003 ' 
20240924@175509.7961 8h8ccvj7ospnh3mnvdvdf0blrd Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '328.9326.00.1'
20240924@175509.8075 8h8ccvj7ospnh3mnvdvdf0blrd 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 = 0000036 and bi.ref ='328.9326.00.1' and bi.lordem =40000
20240924@175509.8400 8h8ccvj7ospnh3mnvdvdf0blrd 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 = 'pll24091736119,619000004 ' 
20240924@175509.8682 8h8ccvj7ospnh3mnvdvdf0blrd Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '327.8460.00.1'
20240924@175509.8808 8h8ccvj7ospnh3mnvdvdf0blrd 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 = 0000036 and bi.ref ='327.8460.00.1' and bi.lordem =50000
20240924@175509.9118 8h8ccvj7ospnh3mnvdvdf0blrd 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 = 'pll24091736139,630000005 ' 
20240924@175509.9757 8h8ccvj7ospnh3mnvdvdf0blrd Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '327.8253.00.1'
20240924@175509.9879 8h8ccvj7ospnh3mnvdvdf0blrd 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 = 0000036 and bi.ref ='327.8253.00.1' and bi.lordem =60000
20240924@175510.2010 8h8ccvj7ospnh3mnvdvdf0blrd 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 = 'pll24091736173,659000006 ' 
20240924@175510.4980 8h8ccvj7ospnh3mnvdvdf0blrd Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '321.181.45.00'
20240924@175510.6080 8h8ccvj7ospnh3mnvdvdf0blrd 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 = 0000036 and bi.ref ='321.181.45.00' and bi.lordem =70000
20240924@175510.1121 8h8ccvj7ospnh3mnvdvdf0blrd 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 = 'pll24091736282,215000007 ' 
20240924@175510.1431 8h8ccvj7ospnh3mnvdvdf0blrd Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.692.00.01'
20240924@175510.1552 8h8ccvj7ospnh3mnvdvdf0blrd 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 = 0000036 and bi.ref ='324.692.00.01' and bi.lordem =80000
20240924@175510.1869 8h8ccvj7ospnh3mnvdvdf0blrd 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 = 'pll24091736331,841000008 ' 
20240924@175510.2164 8h8ccvj7ospnh3mnvdvdf0blrd Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.698.00.01'
20240924@175510.2185 8h8ccvj7ospnh3mnvdvdf0blrd 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 = 0000036 and bi.ref ='324.698.00.01' and bi.lordem =90000
20240924@175510.2497 8h8ccvj7ospnh3mnvdvdf0blrd 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 = 'pll24091736353,527000009 ' 
20240924@175510.2818 8h8ccvj7ospnh3mnvdvdf0blrd Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.698.00.01'
20240924@175510.2838 8h8ccvj7ospnh3mnvdvdf0blrd 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 = 0000036 and bi.ref ='324.698.00.01' and bi.lordem =90000
20240924@175510.2859 8h8ccvj7ospnh3mnvdvdf0blrd 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 = 'pll24091736353,527000009 ' 
20240924@175510.2880 8h8ccvj7ospnh3mnvdvdf0blrd Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1646.00.1'
20240924@175510.2995 8h8ccvj7ospnh3mnvdvdf0blrd 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 = 0000036 and bi.ref ='324.1646.00.1' and bi.lordem =100000
20240924@175510.3327 8h8ccvj7ospnh3mnvdvdf0blrd 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 = 'pll24091736482,813000010 ' 
20240924@175510.3611 8h8ccvj7ospnh3mnvdvdf0blrd Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1646.00.1'
20240924@175510.3632 8h8ccvj7ospnh3mnvdvdf0blrd 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 = 0000036 and bi.ref ='324.1646.00.1' and bi.lordem =100000
20240924@175510.3654 8h8ccvj7ospnh3mnvdvdf0blrd 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 = 'pll24091736482,813000010 ' 
20240924@175510.3691 8h8ccvj7ospnh3mnvdvdf0blrd Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.2231.00.2'
20240924@175510.3800 8h8ccvj7ospnh3mnvdvdf0blrd 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 = 0000036 and bi.ref ='324.2231.00.2' and bi.lordem =110000
20240924@175510.4106 8h8ccvj7ospnh3mnvdvdf0blrd 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 = 'pll24091736628,855000011 ' 
20240924@175510.4406 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175510.4409 8h8ccvj7ospnh3mnvdvdf0blrd Query : select top 1 1 valor from ts where ts.ndos = 5
20240924@175510.4442 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175510.4446 8h8ccvj7ospnh3mnvdvdf0blrd 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')
20240924@175510.4475 8h8ccvj7ospnh3mnvdvdf0blrd 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
20240924@175510.4523 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175510.4526 8h8ccvj7ospnh3mnvdvdf0blrd Query : select top 1 ~inactivo valor from fl where no = '100999' and estab = 0 order by inactivo desc
20240924@175510.4632 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175510.4635 8h8ccvj7ospnh3mnvdvdf0blrd Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240924@175510.4681 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175510.4685 8h8ccvj7ospnh3mnvdvdf0blrd Query : select szadrsstamp valor from szadrs where szadrsdesc='flama-fab.louÇas e electrodomesticos,sa'
20240924@175510.4746 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175510.4749 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from ts where ndos = 5
20240924@175510.4761 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175510.4776 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo' and documentnumber = 5
20240924@175510.4788 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175510.4802 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo2' and documentnumber = 5
20240924@175510.4810 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175510.4824 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo3' and documentnumber = 5
20240924@175510.4832 8h8ccvj7ospnh3mnvdvdf0blrd 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
20240924@175510.4848 8h8ccvj7ospnh3mnvdvdf0blrd Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 5 and boano=2024 order by obrano desc
20240924@175510.4876 8h8ccvj7ospnh3mnvdvdf0blrd Query : select top 1 bo.obrano valor from wsbodata bo where bo.ndos = 5 and boano=2024 order by obrano desc
20240924@175510.4889 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175510.4904 8h8ccvj7ospnh3mnvdvdf0blrd Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='100999' and estab=0
20240924@175510.4988 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175510.5002 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo3' and documentnumber = 5
20240924@175510.5013 8h8ccvj7ospnh3mnvdvdf0blrd Query : insert into wsbo3data (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f2e3348266f2eeee77',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20240924@175510.5017 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175510.5031 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo2' and documentnumber = 5
20240924@175510.5043 8h8ccvj7ospnh3mnvdvdf0blrd Query : insert into wsbo2data (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,xpddata,xpdhora,carga,descar) values ('aut66f2e3348266f2eeee77','ga','bo',0 ,0,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut','20240924','18:25',?,?)
20240924@175510.5204 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175510.5219 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo' and documentnumber = 5
20240924@175510.5234 8h8ccvj7ospnh3mnvdvdf0blrd 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 ('aut66f2e3348266f2eeee77','trf entre armazéns a','2024-09-24',5,468,?,?,?,?,?,?,?,?,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',?)
20240924@175510.5620 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175510.5623 8h8ccvj7ospnh3mnvdvdf0blrd Query : select st.usalote valor from st where st.ref = '324.1896.00.1'
20240924@175510.5639 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175510.5642 8h8ccvj7ospnh3mnvdvdf0blrd Query : select st.stns valor from st where st.ref = '324.1896.00.1'
20240924@175510.5660 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175510.5663 8h8ccvj7ospnh3mnvdvdf0blrd 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.1896.00.1' and sa.armazem = 133 
20240924@175510.5733 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175510.5774 8h8ccvj7ospnh3mnvdvdf0blrd Query : select st.stns valor from st where st.ref = '324.1896.00.1'
20240924@175510.5932 8h8ccvj7ospnh3mnvdvdf0blrd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1896.00.1'
20240924@175510.5946 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175510.5962 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175510.5974 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175510.5990 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175510.6016 8h8ccvj7ospnh3mnvdvdf0blrd Query : select sestamp valor from se where ref ='324.1896.00.1' and lote = 'r2101190100a'
20240924@175510.6028 8h8ccvj7ospnh3mnvdvdf0blrd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175510.6041 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175510.6056 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175510.6067 8h8ccvj7ospnh3mnvdvdf0blrd Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66f2e0108666f2eeee93','aut66f2e3348266f2eeee77',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 = 'aut66f2e3348266f2eeee77'
20240924@175510.6220 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175510.6234 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175510.6250 8h8ccvj7ospnh3mnvdvdf0blrd 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 'aut66f2e0108666f2eeee93',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,10000 ,144.99,144.99*200.48,144.99,144.99*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,144.99*6.000,144.99*6.000*200.48 ,54.672000,54.672000*200.48 ,54.672000,54.672000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,144.99,144.99*200.48,144.99*6.000,144.99*6.000*200.48,'pll24091736027,297000001 ',144.99,144.99*6.000,144.99,144.99*6.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66f2e3348266f2eeee77'
20240924@175510.6574 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175510.6577 8h8ccvj7ospnh3mnvdvdf0blrd Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20240924@175510.6590 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175510.6593 8h8ccvj7ospnh3mnvdvdf0blrd Query : select st.stns valor from st where st.ref = '324.1824.00.1'
20240924@175510.6609 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175510.6612 8h8ccvj7ospnh3mnvdvdf0blrd 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.1824.00.1' and sa.armazem = 133 
20240924@175510.6675 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175510.6678 8h8ccvj7ospnh3mnvdvdf0blrd Query : select st.stns valor from st where st.ref = '324.1824.00.1'
20240924@175510.6697 8h8ccvj7ospnh3mnvdvdf0blrd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20240924@175510.6711 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175510.6727 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175510.6740 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175510.6754 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175510.6762 8h8ccvj7ospnh3mnvdvdf0blrd Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2301209200a'
20240924@175510.6788 8h8ccvj7ospnh3mnvdvdf0blrd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175510.6800 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175510.6815 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175510.6826 8h8ccvj7ospnh3mnvdvdf0blrd Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66f2e8764566f2eeeea6','aut66f2e3348266f2eeee77',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 = 'aut66f2e3348266f2eeee77'
20240924@175510.6973 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175510.6990 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175510.7006 8h8ccvj7ospnh3mnvdvdf0blrd 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 'aut66f2e8764566f2eeeea6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 20.000, 20.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,20000 ,72.99,72.99*200.48,72.99,72.99*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,72.99*20.000,72.99*20.000*200.48 ,27.295000,27.295000*200.48 ,27.295000,27.295000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,72.99,72.99*200.48,72.99*20.000,72.99*20.000*200.48,'pll24091736081,358000002 ',72.99,72.99*20.000,72.99,72.99*20.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66f2e3348266f2eeee77'
20240924@175510.7318 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175510.7321 8h8ccvj7ospnh3mnvdvdf0blrd Query : select st.usalote valor from st where st.ref = '328.9106.00.1'
20240924@175510.7336 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175510.7338 8h8ccvj7ospnh3mnvdvdf0blrd Query : select st.stns valor from st where st.ref = '328.9106.00.1'
20240924@175510.7355 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175510.7357 8h8ccvj7ospnh3mnvdvdf0blrd 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.9106.00.1' and sa.armazem = 133 
20240924@175510.7421 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175510.7424 8h8ccvj7ospnh3mnvdvdf0blrd Query : select st.stns valor from st where st.ref = '328.9106.00.1'
20240924@175510.7461 8h8ccvj7ospnh3mnvdvdf0blrd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.9106.00.1'
20240924@175510.8671 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175510.8686 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175510.8704 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175510.8717 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175510.8726 8h8ccvj7ospnh3mnvdvdf0blrd Query : select sestamp valor from se where ref ='328.9106.00.1' and lote = 'r2100770200a'
20240924@175510.8747 8h8ccvj7ospnh3mnvdvdf0blrd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175510.8760 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175510.8773 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175510.8786 8h8ccvj7ospnh3mnvdvdf0blrd Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66f2e5858066f2eeeed5','aut66f2e3348266f2eeee77',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 = 'aut66f2e3348266f2eeee77'
20240924@175510.8948 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175510.8963 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175510.8978 8h8ccvj7ospnh3mnvdvdf0blrd 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 'aut66f2e5858066f2eeeed5',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 ,369.99,369.99*200.48,369.99,369.99*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,369.99*2.000,369.99*2.000*200.48 ,104.031000,104.031000*200.48 ,104.031000,104.031000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,369.99,369.99*200.48,369.99*2.000,369.99*2.000*200.48,'pll24091736097,767000003 ',369.99,369.99*2.000,369.99,369.99*2.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66f2e3348266f2eeee77'
20240924@175510.9271 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175510.9284 8h8ccvj7ospnh3mnvdvdf0blrd Query : select st.usalote valor from st where st.ref = '328.9326.00.1'
20240924@175510.9298 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175510.9301 8h8ccvj7ospnh3mnvdvdf0blrd Query : select st.stns valor from st where st.ref = '328.9326.00.1'
20240924@175510.9320 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175510.9322 8h8ccvj7ospnh3mnvdvdf0blrd 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.9326.00.1' and sa.armazem = 133 
20240924@175510.9403 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175510.9406 8h8ccvj7ospnh3mnvdvdf0blrd Query : select st.stns valor from st where st.ref = '328.9326.00.1'
20240924@175510.9424 8h8ccvj7ospnh3mnvdvdf0blrd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.9326.00.1'
20240924@175510.9438 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175510.9453 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175510.9465 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175510.9482 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175510.9490 8h8ccvj7ospnh3mnvdvdf0blrd Query : select sestamp valor from se where ref ='328.9326.00.1' and lote = 'r2300691100a'
20240924@175510.9504 8h8ccvj7ospnh3mnvdvdf0blrd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175510.9516 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175510.9530 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175510.9544 8h8ccvj7ospnh3mnvdvdf0blrd Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66f2e1855766f2eeeee8','aut66f2e3348266f2eeee77',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 = 'aut66f2e3348266f2eeee77'
20240924@175510.9800 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175510.9871 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175510.9888 8h8ccvj7ospnh3mnvdvdf0blrd 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 'aut66f2e1855766f2eeeee8',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,40000 ,139.99,139.99*200.48,139.99,139.99*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,139.99*2.000,139.99*2.000*200.48 ,26.993000,26.993000*200.48 ,26.993000,26.993000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,139.99,139.99*200.48,139.99*2.000,139.99*2.000*200.48,'pll24091736119,619000004 ',139.99,139.99*2.000,139.99,139.99*2.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66f2e3348266f2eeee77'
20240924@175511.2170 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175511.2220 8h8ccvj7ospnh3mnvdvdf0blrd Query : select st.usalote valor from st where st.ref = '327.8460.00.1'
20240924@175511.2370 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175511.2400 8h8ccvj7ospnh3mnvdvdf0blrd Query : select st.stns valor from st where st.ref = '327.8460.00.1'
20240924@175511.2560 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175511.2590 8h8ccvj7ospnh3mnvdvdf0blrd 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 = '327.8460.00.1' and sa.armazem = 133 
20240924@175511.3260 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175511.3290 8h8ccvj7ospnh3mnvdvdf0blrd Query : select st.stns valor from st where st.ref = '327.8460.00.1'
20240924@175511.3490 8h8ccvj7ospnh3mnvdvdf0blrd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '327.8460.00.1'
20240924@175511.4950 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175511.5110 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175511.5240 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175511.5390 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175511.5480 8h8ccvj7ospnh3mnvdvdf0blrd Query : select sestamp valor from se where ref ='327.8460.00.1' and lote = 'r2300002100a'
20240924@175511.5680 8h8ccvj7ospnh3mnvdvdf0blrd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175511.5800 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175511.5950 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175511.6070 8h8ccvj7ospnh3mnvdvdf0blrd Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66f2e4991066f2eeef0e','aut66f2e3348266f2eeee77',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 = 'aut66f2e3348266f2eeee77'
20240924@175511.7850 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175511.8060 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175511.8240 8h8ccvj7ospnh3mnvdvdf0blrd 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 'aut66f2e4991066f2eeef0e',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,50000 ,949.99,949.99*200.48,949.99,949.99*200.48 ,0,0,'un ','' ,bo.marcada,1 ,949.99*1.000,949.99*1.000*200.48 ,263.727000,263.727000*200.48 ,263.727000,263.727000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,949.99,949.99*200.48,949.99*1.000,949.99*1.000*200.48,'pll24091736139,630000005 ',949.99,949.99*1.000,949.99,949.99*1.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66f2e3348266f2eeee77'
20240924@175511.1133 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175511.1174 8h8ccvj7ospnh3mnvdvdf0blrd Query : select st.usalote valor from st where st.ref = '327.8253.00.1'
20240924@175511.1280 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175511.1283 8h8ccvj7ospnh3mnvdvdf0blrd Query : select st.stns valor from st where st.ref = '327.8253.00.1'
20240924@175511.1299 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175511.1302 8h8ccvj7ospnh3mnvdvdf0blrd 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 = '327.8253.00.1' and sa.armazem = 133 
20240924@175511.1373 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175511.1375 8h8ccvj7ospnh3mnvdvdf0blrd Query : select st.stns valor from st where st.ref = '327.8253.00.1'
20240924@175511.1393 8h8ccvj7ospnh3mnvdvdf0blrd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '327.8253.00.1'
20240924@175511.1565 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175511.1580 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175511.1592 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175511.1606 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175511.1615 8h8ccvj7ospnh3mnvdvdf0blrd Query : select sestamp valor from se where ref ='327.8253.00.1' and lote = 'r2301073100a'
20240924@175511.1635 8h8ccvj7ospnh3mnvdvdf0blrd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175511.1647 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175511.1661 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175511.1673 8h8ccvj7ospnh3mnvdvdf0blrd Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66f2e2137466f2eeef28','aut66f2e3348266f2eeee77',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 = 'aut66f2e3348266f2eeee77'
20240924@175511.1822 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175511.1838 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175511.1856 8h8ccvj7ospnh3mnvdvdf0blrd 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 'aut66f2e2137466f2eeef28',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,60000 ,389.99,389.99*200.48,389.99,389.99*200.48 ,0,0,'un ','' ,bo.marcada,1 ,389.99*1.000,389.99*1.000*200.48 ,122.218000,122.218000*200.48 ,122.218000,122.218000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,389.99,389.99*200.48,389.99*1.000,389.99*1.000*200.48,'pll24091736173,659000006 ',389.99,389.99*1.000,389.99,389.99*1.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66f2e3348266f2eeee77'
20240924@175511.2201 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175511.2205 8h8ccvj7ospnh3mnvdvdf0blrd Query : select st.usalote valor from st where st.ref = '321.181.45.00'
20240924@175511.2220 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175511.2222 8h8ccvj7ospnh3mnvdvdf0blrd Query : select st.stns valor from st where st.ref = '321.181.45.00'
20240924@175511.2238 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175511.2240 8h8ccvj7ospnh3mnvdvdf0blrd 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 
20240924@175511.2305 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175511.2308 8h8ccvj7ospnh3mnvdvdf0blrd Query : select st.stns valor from st where st.ref = '321.181.45.00'
20240924@175511.2325 8h8ccvj7ospnh3mnvdvdf0blrd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240924@175511.2465 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175511.2481 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175511.2495 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175511.2509 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175511.2518 8h8ccvj7ospnh3mnvdvdf0blrd Query : select sestamp valor from se where ref ='321.181.45.00' and lote = 'r2100632100a'
20240924@175511.2538 8h8ccvj7ospnh3mnvdvdf0blrd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175511.2551 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175511.2579 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175511.2591 8h8ccvj7ospnh3mnvdvdf0blrd Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66f2e8148666f2eeef3e','aut66f2e3348266f2eeee77',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 = 'aut66f2e3348266f2eeee77'
20240924@175511.2734 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175511.2750 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175511.2767 8h8ccvj7ospnh3mnvdvdf0blrd 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 'aut66f2e8148666f2eeef3e',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,70000 ,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,'pll24091736282,215000007 ',112.99,112.99*6.000,112.99,112.99*6.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66f2e3348266f2eeee77'
20240924@175511.3073 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175511.3076 8h8ccvj7ospnh3mnvdvdf0blrd Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20240924@175511.3090 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175511.3093 8h8ccvj7ospnh3mnvdvdf0blrd Query : select st.stns valor from st where st.ref = '324.692.00.01'
20240924@175511.3111 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175511.3113 8h8ccvj7ospnh3mnvdvdf0blrd 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 
20240924@175511.3187 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175511.3190 8h8ccvj7ospnh3mnvdvdf0blrd Query : select st.stns valor from st where st.ref = '324.692.00.01'
20240924@175511.3210 8h8ccvj7ospnh3mnvdvdf0blrd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240924@175511.3351 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175511.3367 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175511.3380 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175511.3394 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175511.3402 8h8ccvj7ospnh3mnvdvdf0blrd Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2400209100a'
20240924@175511.3428 8h8ccvj7ospnh3mnvdvdf0blrd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175511.3440 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175511.3455 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175511.3466 8h8ccvj7ospnh3mnvdvdf0blrd Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66f2e8029266f2eeef53','aut66f2e3348266f2eeee77',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 = 'aut66f2e3348266f2eeee77'
20240924@175511.3610 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175511.3625 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175511.3641 8h8ccvj7ospnh3mnvdvdf0blrd 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 'aut66f2e8029266f2eeef53',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,80000 ,149.99,149.99*200.48,149.99,149.99*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,149.99*12.000,149.99*12.000*200.48 ,32.536000,32.536000*200.48 ,32.536000,32.536000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,149.99,149.99*200.48,149.99*12.000,149.99*12.000*200.48,'pll24091736331,841000008 ',149.99,149.99*12.000,149.99,149.99*12.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66f2e3348266f2eeee77'
20240924@175511.3949 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175511.3953 8h8ccvj7ospnh3mnvdvdf0blrd Query : select st.usalote valor from st where st.ref = '324.698.00.01'
20240924@175511.3966 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175511.3968 8h8ccvj7ospnh3mnvdvdf0blrd Query : select st.stns valor from st where st.ref = '324.698.00.01'
20240924@175511.3984 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175511.3987 8h8ccvj7ospnh3mnvdvdf0blrd 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.698.00.01' and sa.armazem = 133 
20240924@175511.4010 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175511.4012 8h8ccvj7ospnh3mnvdvdf0blrd Query : select st.stns valor from st where st.ref = '324.698.00.01'
20240924@175511.4030 8h8ccvj7ospnh3mnvdvdf0blrd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.698.00.01'
20240924@175511.4043 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175511.4235 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175511.4249 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175511.4265 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175511.4274 8h8ccvj7ospnh3mnvdvdf0blrd Query : select sestamp valor from se where ref ='324.698.00.01' and lote = 'r2301182200a'
20240924@175511.4286 8h8ccvj7ospnh3mnvdvdf0blrd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175511.4298 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175511.4313 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175511.4342 8h8ccvj7ospnh3mnvdvdf0blrd Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66f2e4269566f2eeef68','aut66f2e3348266f2eeee77',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 = 'aut66f2e3348266f2eeee77'
20240924@175511.4495 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175511.4511 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175511.4526 8h8ccvj7ospnh3mnvdvdf0blrd 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 'aut66f2e4269566f2eeef68',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,90000 ,179.99,179.99*200.48,179.99,179.99*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,179.99*3.000,179.99*3.000*200.48 ,38.756000,38.756000*200.48 ,38.756000,38.756000*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*3.000,179.99*3.000*200.48,'pll24091736353,527000009 ',179.99,179.99*3.000,179.99,179.99*3.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66f2e3348266f2eeee77'
20240924@175511.4816 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175511.4821 8h8ccvj7ospnh3mnvdvdf0blrd Query : select st.usalote valor from st where st.ref = '324.698.00.01'
20240924@175511.4834 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175511.4837 8h8ccvj7ospnh3mnvdvdf0blrd Query : select st.stns valor from st where st.ref = '324.698.00.01'
20240924@175511.4853 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175511.4856 8h8ccvj7ospnh3mnvdvdf0blrd 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.698.00.01' and sa.armazem = 133 
20240924@175511.4877 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175511.4880 8h8ccvj7ospnh3mnvdvdf0blrd Query : select st.stns valor from st where st.ref = '324.698.00.01'
20240924@175511.4898 8h8ccvj7ospnh3mnvdvdf0blrd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.698.00.01'
20240924@175511.4915 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175511.4945 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175511.4957 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175511.4971 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175511.4979 8h8ccvj7ospnh3mnvdvdf0blrd Query : select sestamp valor from se where ref ='324.698.00.01' and lote = 'r2400061200a'
20240924@175511.5001 8h8ccvj7ospnh3mnvdvdf0blrd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175511.5013 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175511.5027 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175511.5039 8h8ccvj7ospnh3mnvdvdf0blrd Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66f2e6900666f2eeef7a','aut66f2e3348266f2eeee77',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 = 'aut66f2e3348266f2eeee77'
20240924@175511.5181 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175511.5198 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175511.5214 8h8ccvj7ospnh3mnvdvdf0blrd 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 'aut66f2e6900666f2eeef7a',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,100000 ,179.99,179.99*200.48,179.99,179.99*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,179.99*3.000,179.99*3.000*200.48 ,38.756000,38.756000*200.48 ,38.756000,38.756000*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*3.000,179.99*3.000*200.48,'pll24091736353,527000009 ',179.99,179.99*3.000,179.99,179.99*3.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66f2e3348266f2eeee77'
20240924@175511.5510 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175511.5515 8h8ccvj7ospnh3mnvdvdf0blrd Query : select st.usalote valor from st where st.ref = '324.1646.00.1'
20240924@175511.5528 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175511.5531 8h8ccvj7ospnh3mnvdvdf0blrd Query : select st.stns valor from st where st.ref = '324.1646.00.1'
20240924@175511.5548 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175511.5551 8h8ccvj7ospnh3mnvdvdf0blrd 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 
20240924@175511.5628 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175511.5630 8h8ccvj7ospnh3mnvdvdf0blrd Query : select st.stns valor from st where st.ref = '324.1646.00.1'
20240924@175511.5648 8h8ccvj7ospnh3mnvdvdf0blrd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240924@175511.5661 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175511.5676 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175511.5688 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175511.5702 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175511.5711 8h8ccvj7ospnh3mnvdvdf0blrd Query : select sestamp valor from se where ref ='324.1646.00.1' and lote = 'r2100904100a'
20240924@175511.5725 8h8ccvj7ospnh3mnvdvdf0blrd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175511.5737 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175511.5751 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175511.5774 8h8ccvj7ospnh3mnvdvdf0blrd Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66f2e0856266f2eeef8c','aut66f2e3348266f2eeee77',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 = 'aut66f2e3348266f2eeee77'
20240924@175511.5938 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175511.5955 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175511.5969 8h8ccvj7ospnh3mnvdvdf0blrd 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 'aut66f2e0856266f2eeef8c',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,110000 ,169.99,169.99*200.48,169.99,169.99*200.48 ,0,0,'un ','' ,bo.marcada,1 ,169.99*2.000,169.99*2.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*2.000,169.99*2.000*200.48,'pll24091736482,813000010 ',169.99,169.99*2.000,169.99,169.99*2.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66f2e3348266f2eeee77'
20240924@175511.6257 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175511.6262 8h8ccvj7ospnh3mnvdvdf0blrd Query : select st.usalote valor from st where st.ref = '324.1646.00.1'
20240924@175511.6275 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175511.6277 8h8ccvj7ospnh3mnvdvdf0blrd Query : select st.stns valor from st where st.ref = '324.1646.00.1'
20240924@175511.6294 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175511.6297 8h8ccvj7ospnh3mnvdvdf0blrd 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 
20240924@175511.6318 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175511.6321 8h8ccvj7ospnh3mnvdvdf0blrd Query : select st.stns valor from st where st.ref = '324.1646.00.1'
20240924@175511.6353 8h8ccvj7ospnh3mnvdvdf0blrd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240924@175511.6366 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175511.6381 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175511.6393 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175511.6409 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175511.6419 8h8ccvj7ospnh3mnvdvdf0blrd Query : select sestamp valor from se where ref ='324.1646.00.1' and lote = 'r2100904100a'
20240924@175511.6434 8h8ccvj7ospnh3mnvdvdf0blrd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240924@175511.6446 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175511.6460 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175511.6472 8h8ccvj7ospnh3mnvdvdf0blrd Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66f2e6362666f2eeef9d','aut66f2e3348266f2eeee77',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 = 'aut66f2e3348266f2eeee77'
20240924@175511.6704 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175511.6955 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175511.6995 8h8ccvj7ospnh3mnvdvdf0blrd 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 'aut66f2e6362666f2eeef9d',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,120000 ,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,'pll24091736482,813000010 ',169.99,169.99*8.000,169.99,169.99*8.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut66f2e3348266f2eeee77'
20240924@175511.7321 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175511.7326 8h8ccvj7ospnh3mnvdvdf0blrd Query : select st.usalote valor from st where st.ref = '324.2231.00.2'
20240924@175511.7341 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175511.7344 8h8ccvj7ospnh3mnvdvdf0blrd Query : select st.stns valor from st where st.ref = '324.2231.00.2'
20240924@175511.7364 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175511.7367 8h8ccvj7ospnh3mnvdvdf0blrd 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.2231.00.2' and sa.armazem = 133 
20240924@175511.7445 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175511.7448 8h8ccvj7ospnh3mnvdvdf0blrd Query : select st.stns valor from st where st.ref = '324.2231.00.2'
20240924@175511.7467 8h8ccvj7ospnh3mnvdvdf0blrd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.2231.00.2'
20240924@175511.7608 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175511.7623 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240924@175511.7638 8h8ccvj7ospnh3mnvdvdf0blrd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240924@175511.7653 8h8ccvj7ospnh3mnvdvdf0blrd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240924@175511.7662 8h8ccvj7ospnh3mnvdvdf0blrd Query : select sestamp valor from se where ref ='324.2231.00.2' and lote = 'r2300389200a'
20240924@175511.7723 8h8ccvj7ospnh3mnvdvdf0blrd Query : use flama_phc
20240924@175511.7726 8h8ccvj7ospnh3mnvdvdf0blrd Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20240924@175511.7806 8h8ccvj7ospnh3mnvdvdf0blrd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2203';
20240924@175511.7836 8h8ccvj7ospnh3mnvdvdf0blrd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2203';

20240924@192232.9482 vp7c6729b5vu2oainmgue7ht1o Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2204';
20240924@192232.9531 vp7c6729b5vu2oainmgue7ht1o Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2204';
20240924@192232.9556 vp7c6729b5vu2oainmgue7ht1o Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2204';
20240924@192233.1593 t3t671flbnfptcb1li3r13eps7 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240924@192233.1605 t3t671flbnfptcb1li3r13eps7 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240924@192233.1656 t3t671flbnfptcb1li3r13eps7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2205';
20240924@192233.1706 t3t671flbnfptcb1li3r13eps7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2205';
20240924@192233.1756 t3t671flbnfptcb1li3r13eps7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2205';
20240924@192233.1778 t3t671flbnfptcb1li3r13eps7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2205';
20240924@192257.5193 5dsr9ihf6cqo54hqi05s04s6ju Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240924@192257.5239 5dsr9ihf6cqo54hqi05s04s6ju Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240924@192257.5340 5dsr9ihf6cqo54hqi05s04s6ju Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2206';
20240924@192257.5390 5dsr9ihf6cqo54hqi05s04s6ju Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2206';
20240924@192257.5449 5dsr9ihf6cqo54hqi05s04s6ju Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2206';
20240924@192257.5472 5dsr9ihf6cqo54hqi05s04s6ju Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2206';
20240924@192426.9573 lvvatc7entc9dspv1hn2mlspmk Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240924@192426.9584 lvvatc7entc9dspv1hn2mlspmk Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240924@192426.9644 lvvatc7entc9dspv1hn2mlspmk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2207';
20240924@192426.9697 lvvatc7entc9dspv1hn2mlspmk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2207';
20240924@192426.9748 lvvatc7entc9dspv1hn2mlspmk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2207';
20240924@192426.9772 lvvatc7entc9dspv1hn2mlspmk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2207';
20240924@192427.4127 3qef7dfp2a63um8gcuriil7puj Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240924@192427.4138 3qef7dfp2a63um8gcuriil7puj Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240924@192427.4194 3qef7dfp2a63um8gcuriil7puj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2208';
20240924@192427.5364 3qef7dfp2a63um8gcuriil7puj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2208';
20240924@192427.5422 3qef7dfp2a63um8gcuriil7puj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2208';
20240924@192427.5527 3qef7dfp2a63um8gcuriil7puj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2208';

20240925@095216.7856 9kcvnqb7do8dfsimua2el8uaco Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2209';
20240925@095216.8628 9kcvnqb7do8dfsimua2el8uaco Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2209';
20240925@095216.8676 9kcvnqb7do8dfsimua2el8uaco Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2209';
20240925@095216.8937 9kcvnqb7do8dfsimua2el8uaco Query : use flama_phc
20240925@095216.8940 9kcvnqb7do8dfsimua2el8uaco Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240925@095216.9117 9kcvnqb7do8dfsimua2el8uaco Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1803.00.1'
20240925@095216.9266 9kcvnqb7do8dfsimua2el8uaco 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 = 2400480 and bi.ref ='324.1803.00.1' and bi.lordem =20000
20240925@095217.5550 9kcvnqb7do8dfsimua2el8uaco 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 = 'cps24050651791,096000002 ' 
20240925@095217.1757 9kcvnqb7do8dfsimua2el8uaco Query : use flama_phc
20240925@095217.1762 9kcvnqb7do8dfsimua2el8uaco Query : select top 1 1 valor from ts where ts.ndos = 61
20240925@095217.1893 9kcvnqb7do8dfsimua2el8uaco Query : use flama_phc
20240925@095217.1897 9kcvnqb7do8dfsimua2el8uaco 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')
20240925@095217.2148 9kcvnqb7do8dfsimua2el8uaco 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
20240925@095217.3478 9kcvnqb7do8dfsimua2el8uaco Query : use flama_phc
20240925@095217.3483 9kcvnqb7do8dfsimua2el8uaco Query : select top 1 ~inactivo valor from fl where no = '202241' and estab = 00 order by inactivo desc
20240925@095217.3669 9kcvnqb7do8dfsimua2el8uaco Query : use flama_phc
20240925@095217.3673 9kcvnqb7do8dfsimua2el8uaco Query : select 1 valor from ts where ndos = 61
20240925@095217.3755 9kcvnqb7do8dfsimua2el8uaco Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240925@095217.4726 9kcvnqb7do8dfsimua2el8uaco Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo' and documentnumber = 61
20240925@095217.6376 9kcvnqb7do8dfsimua2el8uaco Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240925@095217.6395 9kcvnqb7do8dfsimua2el8uaco Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo2' and documentnumber = 61
20240925@095217.6424 9kcvnqb7do8dfsimua2el8uaco Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240925@095217.6442 9kcvnqb7do8dfsimua2el8uaco Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo3' and documentnumber = 61
20240925@095217.6453 9kcvnqb7do8dfsimua2el8uaco 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
20240925@095217.6590 9kcvnqb7do8dfsimua2el8uaco Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2024 order by obrano desc
20240925@095217.6708 9kcvnqb7do8dfsimua2el8uaco Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2024 order by obrano desc
20240925@095217.6731 9kcvnqb7do8dfsimua2el8uaco Query : use flama_phc
20240925@095217.6740 9kcvnqb7do8dfsimua2el8uaco Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='202241' and estab=00
20240925@095217.6839 9kcvnqb7do8dfsimua2el8uaco Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240925@095217.6886 9kcvnqb7do8dfsimua2el8uaco Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo3' and documentnumber = 61
20240925@095217.6930 9kcvnqb7do8dfsimua2el8uaco Query : insert into bo3 (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f3c8934866f3cf41a4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20240925@095217.7794 9kcvnqb7do8dfsimua2el8uaco Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240925@095217.7862 9kcvnqb7do8dfsimua2el8uaco Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo2' and documentnumber = 61
20240925@095217.7877 9kcvnqb7do8dfsimua2el8uaco Query : insert into bo2 (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f3c8934866f3cf41a4','--','bo',7.8674230145867098865 ,1,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20240925@095217.8094 9kcvnqb7do8dfsimua2el8uaco Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240925@095217.8114 9kcvnqb7do8dfsimua2el8uaco Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo' and documentnumber = 61
20240925@095217.8131 9kcvnqb7do8dfsimua2el8uaco 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 ('aut66f3c8934866f3cf41a4','guia r. fornecedor','2024-09-25',61,2402776,?,?,?,?,?,?,?,?,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')
20240925@095221.9274 9kcvnqb7do8dfsimua2el8uaco Query : use flama_phc
20240925@095221.9315 9kcvnqb7do8dfsimua2el8uaco Query : select st.usalote valor from st where st.ref = '324.1803.00.1'
20240925@095221.9472 9kcvnqb7do8dfsimua2el8uaco Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240925@095221.9623 9kcvnqb7do8dfsimua2el8uaco Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240925@095221.9644 9kcvnqb7do8dfsimua2el8uaco Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 61
20240925@095221.9702 9kcvnqb7do8dfsimua2el8uaco Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240925@095221.9721 9kcvnqb7do8dfsimua2el8uaco Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 61
20240925@095221.9732 9kcvnqb7do8dfsimua2el8uaco Query : select sestamp valor from se where ref ='324.1803.00.1' and lote = 'r2400480200a'
20240925@095221.9826 9kcvnqb7do8dfsimua2el8uaco Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240925@095221.9843 9kcvnqb7do8dfsimua2el8uaco Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'se' and documentnumber = 0
20240925@095221.9855 9kcvnqb7do8dfsimua2el8uaco Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240925@095221.9881 9kcvnqb7do8dfsimua2el8uaco Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'se' and documentnumber = 0
20240925@095221.9896 9kcvnqb7do8dfsimua2el8uaco Query : insert into se (sestamp,ref, lote, data,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f3c9354666f3cf45f0',?,?,'20240925',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut;','aut;')
20240925@095222.9000 9kcvnqb7do8dfsimua2el8uaco Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240925@095222.9490 9kcvnqb7do8dfsimua2el8uaco Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240925@095222.9950 9kcvnqb7do8dfsimua2el8uaco Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 61
20240925@095222.1011 9kcvnqb7do8dfsimua2el8uaco Query : insert into bi2 (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66f3c0050966f3cf4617','aut66f3c8934866f3cf41a4',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 = 'aut66f3c8934866f3cf41a4'
20240925@095222.1199 9kcvnqb7do8dfsimua2el8uaco Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240925@095222.1219 9kcvnqb7do8dfsimua2el8uaco Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 61
20240925@095222.1257 9kcvnqb7do8dfsimua2el8uaco 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 'aut66f3c0050966f3cf4617',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 ,30.85,30.85*200.48,30.85,30.85*200.48 ,0,0,'un ','' ,bo.marcada,1 ,30.85*1336,30.85*1336*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,30.85,30.85*200.48,30.85*1336,30.85*1336*200.48,'cps24050651791,096000002 ',242.71,242.71*1336,242.71,242.71*1336,?,?,?,4 from bo bo where bo.bostamp = 'aut66f3c8934866f3cf41a4'
20240925@095243.6760 9kcvnqb7do8dfsimua2el8uaco Query : use flama_phc
20240925@095243.6766 9kcvnqb7do8dfsimua2el8uaco Query : declare @bostamp varchar(25) = 'aut66f3c8934866f3cf41a4' ,@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 
20240925@095259.1633 9kcvnqb7do8dfsimua2el8uaco Query : use flama_phc
20240925@095259.1637 9kcvnqb7do8dfsimua2el8uaco Query : select 1 valor from bo where bo.bostamp = 'aut66f3c8934866f3cf41a4'
20240925@095259.1768 9kcvnqb7do8dfsimua2el8uaco 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) = 'aut66f3c8934866f3cf41a4' 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 
20240925@095302.3860 9kcvnqb7do8dfsimua2el8uaco Query : use flama_phc
20240925@095302.3864 9kcvnqb7do8dfsimua2el8uaco Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240925@095302.3934 9kcvnqb7do8dfsimua2el8uaco Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2209';
20240925@095302.3973 9kcvnqb7do8dfsimua2el8uaco Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2209';

20240925@113655.2409 rotgtspgkiloftvae1blf9k43g Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2210';
20240925@113655.2468 rotgtspgkiloftvae1blf9k43g Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2210';
20240925@113655.2501 rotgtspgkiloftvae1blf9k43g Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2210';
20240925@113655.3423 vkpm3alvf93tl1btdjs23mf2jk Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240925@113655.3438 vkpm3alvf93tl1btdjs23mf2jk Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240925@113655.3505 vkpm3alvf93tl1btdjs23mf2jk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2211';
20240925@113655.3564 vkpm3alvf93tl1btdjs23mf2jk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2211';
20240925@113655.3626 vkpm3alvf93tl1btdjs23mf2jk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2211';
20240925@113655.3663 vkpm3alvf93tl1btdjs23mf2jk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2211';
20240925@113655.3758 vkpm3alvf93tl1btdjs23mf2jk Query : use flama_phc
20240925@113655.3764 vkpm3alvf93tl1btdjs23mf2jk Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240925@113655.3845 vkpm3alvf93tl1btdjs23mf2jk Query : select no, estab,szadrsdesc from szadrs where u_coddest=00000001
20240925@113655.3943 vkpm3alvf93tl1btdjs23mf2jk Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.2221.00.1'
20240925@113655.4066 vkpm3alvf93tl1btdjs23mf2jk Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.2222.00.1'
20240925@113655.4189 vkpm3alvf93tl1btdjs23mf2jk Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.2223.00.1'
20240925@113655.4322 vkpm3alvf93tl1btdjs23mf2jk Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.2224.00.1'
20240925@113655.4452 vkpm3alvf93tl1btdjs23mf2jk Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.2231.00.2'
