20240919@183339.2617 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.2637 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183339.2667 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66ec63075966ec60733f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66ec65049066ec60729e' ,0,0 ,2,23.00,100000,?,?,?,?)
20240919@183339.2961 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.2979 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183339.3007 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.3027 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183339.3035 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240919@183339.3047 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.3061 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183339.3072 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ec67833166ec60734a','aut66ec65049066ec60729e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240919@183339.3077 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.3090 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183339.3119 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66ec67833166ec60734a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66ec65049066ec60729e' ,0,0 ,2,23.00,110000,?,?,?)
20240919@183339.3405 8sbfhn7jti98e7q6urfnvsphqc Query : use flama_phc
20240919@183339.3409 8sbfhn7jti98e7q6urfnvsphqc Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240919@183339.3428 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20240919@183339.3441 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.3457 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183339.3480 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.3496 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183339.3505 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240919@183339.3517 8sbfhn7jti98e7q6urfnvsphqc Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400210200a'
20240919@183339.3532 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.3547 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183339.3559 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ec62802466ec607356','aut66ec65049066ec60729e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240919@183339.3602 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.3678 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183339.3705 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66ec62802466ec607356',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66ec65049066ec60729e' ,0,0 ,2,23.00,130000,?,?,?,?)
20240919@183339.4001 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.4018 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183339.4043 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.4058 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183339.4067 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240919@183339.4079 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.4093 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183339.4104 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ec67505566ec607363','aut66ec65049066ec60729e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240919@183339.4109 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.4123 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183339.4151 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66ec67505566ec607363',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66ec65049066ec60729e' ,0,0 ,2,23.00,140000,?,?,?)
20240919@183339.4444 8sbfhn7jti98e7q6urfnvsphqc Query : use flama_phc
20240919@183339.4447 8sbfhn7jti98e7q6urfnvsphqc Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240919@183339.4467 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20240919@183339.4481 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.4502 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183339.4530 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.4544 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183339.4553 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240919@183339.4566 8sbfhn7jti98e7q6urfnvsphqc Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400210200a'
20240919@183339.4579 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.4593 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183339.4605 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ec65514566ec60736f','aut66ec65049066ec60729e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240919@183339.4610 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.4625 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183339.4660 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66ec65514566ec60736f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66ec65049066ec60729e' ,0,0 ,2,23.00,160000,?,?,?,?)
20240919@183339.4950 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.4967 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183339.4993 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.5013 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183339.5021 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240919@183339.5034 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.5048 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183339.5154 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ec66145866ec60737a','aut66ec65049066ec60729e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240919@183339.5158 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.5173 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183339.5202 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66ec66145866ec60737a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66ec65049066ec60729e' ,0,0 ,2,23.00,170000,?,?,?)
20240919@183339.5479 8sbfhn7jti98e7q6urfnvsphqc Query : use flama_phc
20240919@183339.5483 8sbfhn7jti98e7q6urfnvsphqc Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240919@183339.5503 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20240919@183339.5517 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.5539 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183339.5565 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.5579 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183339.5587 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240919@183339.5598 8sbfhn7jti98e7q6urfnvsphqc Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400210200a'
20240919@183339.5611 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.5625 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183339.5637 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ec61291866ec607388','aut66ec65049066ec60729e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240919@183339.5641 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.5657 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183339.5690 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66ec61291866ec607388',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66ec65049066ec60729e' ,0,0 ,2,23.00,190000,?,?,?,?)
20240919@183339.5992 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.6010 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183339.6036 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.6051 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183339.6060 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240919@183339.6072 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.6087 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183339.6099 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ec66921366ec607394','aut66ec65049066ec60729e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240919@183339.6104 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.6119 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183339.6147 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66ec66921366ec607394',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66ec65049066ec60729e' ,0,0 ,2,23.00,200000,?,?,?)
20240919@183339.6422 8sbfhn7jti98e7q6urfnvsphqc Query : use flama_phc
20240919@183339.6426 8sbfhn7jti98e7q6urfnvsphqc Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240919@183339.6450 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20240919@183339.6465 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.6481 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183339.6507 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.6524 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183339.6532 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240919@183339.6548 8sbfhn7jti98e7q6urfnvsphqc Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400210200a'
20240919@183339.6561 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.6576 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183339.6588 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ec62150766ec6073a0','aut66ec65049066ec60729e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240919@183339.6594 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.6609 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183339.6637 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66ec62150766ec6073a0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66ec65049066ec60729e' ,0,0 ,2,23.00,220000,?,?,?,?)
20240919@183339.6924 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.6940 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183339.6966 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.6980 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183339.6988 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240919@183339.7002 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.7017 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183339.7028 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ec69399666ec6073aa','aut66ec65049066ec60729e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240919@183339.7032 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.7045 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183339.7073 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66ec69399666ec6073aa',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66ec65049066ec60729e' ,0,0 ,2,23.00,230000,?,?,?)
20240919@183339.7353 8sbfhn7jti98e7q6urfnvsphqc Query : use flama_phc
20240919@183339.7357 8sbfhn7jti98e7q6urfnvsphqc Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240919@183339.7377 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20240919@183339.7393 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.7410 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183339.7436 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.7450 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183339.7459 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240919@183339.7471 8sbfhn7jti98e7q6urfnvsphqc Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400210200a'
20240919@183339.7483 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.7498 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183339.7510 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ec65913766ec6073b6','aut66ec65049066ec60729e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240919@183339.7515 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.7529 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183339.7559 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66ec65913766ec6073b6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66ec65049066ec60729e' ,0,0 ,2,23.00,250000,?,?,?,?)
20240919@183339.7843 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.7859 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183339.7885 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.7904 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183339.7913 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240919@183339.7925 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.7940 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183339.7951 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ec60934466ec6073c1','aut66ec65049066ec60729e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240919@183339.7956 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.7971 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183339.7999 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66ec60934466ec6073c1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66ec65049066ec60729e' ,0,0 ,2,23.00,260000,?,?,?)
20240919@183339.8289 8sbfhn7jti98e7q6urfnvsphqc Query : use flama_phc
20240919@183339.8292 8sbfhn7jti98e7q6urfnvsphqc Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240919@183339.8313 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20240919@183339.8327 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.8343 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183339.8369 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.8383 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183339.8391 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240919@183339.8404 8sbfhn7jti98e7q6urfnvsphqc Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400210200a'
20240919@183339.8416 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.8434 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183339.8446 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ec61237266ec6073cd','aut66ec65049066ec60729e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240919@183339.8450 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.8464 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183339.8491 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66ec61237266ec6073cd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66ec65049066ec60729e' ,0,0 ,2,23.00,280000,?,?,?,?)
20240919@183339.8775 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.8794 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183339.8918 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.8936 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183339.8946 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240919@183339.8959 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.8976 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183339.8993 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ec67081866ec6073da','aut66ec65049066ec60729e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240919@183339.8998 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.9014 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183339.9044 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66ec67081866ec6073da',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66ec65049066ec60729e' ,0,0 ,2,23.00,290000,?,?,?)
20240919@183339.9327 8sbfhn7jti98e7q6urfnvsphqc Query : use flama_phc
20240919@183339.9330 8sbfhn7jti98e7q6urfnvsphqc Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240919@183339.9352 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20240919@183339.9368 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.9385 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183339.9413 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.9429 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183339.9438 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240919@183339.9451 8sbfhn7jti98e7q6urfnvsphqc Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400210200a'
20240919@183339.9465 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.9480 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183339.9493 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ec69609066ec6073e7','aut66ec65049066ec60729e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240919@183339.9497 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183339.9672 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183339.9706 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66ec69609066ec6073e7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66ec65049066ec60729e' ,0,0 ,2,23.00,310000,?,?,?,?)
20240919@183340.4000 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.6000 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183340.8800 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.1040 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183340.1140 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240919@183340.1270 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.1430 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183340.1560 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ec69680566ec607403','aut66ec65049066ec60729e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240919@183340.1600 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.1760 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183340.2120 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66ec69680566ec607403',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66ec65049066ec60729e' ,0,0 ,2,23.00,320000,?,?,?)
20240919@183340.5010 8sbfhn7jti98e7q6urfnvsphqc Query : use flama_phc
20240919@183340.5050 8sbfhn7jti98e7q6urfnvsphqc Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240919@183340.5270 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20240919@183340.5420 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.5600 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183340.5950 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.6100 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183340.6190 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240919@183340.6320 8sbfhn7jti98e7q6urfnvsphqc Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400210200a'
20240919@183340.6450 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.6600 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183340.6730 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ec69826566ec60740f','aut66ec65049066ec60729e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240919@183340.6780 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.6930 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183340.7320 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66ec69826566ec60740f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66ec65049066ec60729e' ,0,0 ,2,23.00,340000,?,?,?,?)
20240919@183340.1051 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.1069 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183340.1105 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.1124 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183340.1133 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240919@183340.1146 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.1161 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183340.1173 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ec68762866ec60741b','aut66ec65049066ec60729e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240919@183340.1178 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.1196 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183340.1229 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66ec68762866ec60741b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66ec65049066ec60729e' ,0,0 ,2,23.00,350000,?,?,?)
20240919@183340.2238 8sbfhn7jti98e7q6urfnvsphqc Query : use flama_phc
20240919@183340.2402 8sbfhn7jti98e7q6urfnvsphqc Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240919@183340.2640 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20240919@183340.2656 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.2673 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183340.2698 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.2713 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183340.2722 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240919@183340.2734 8sbfhn7jti98e7q6urfnvsphqc Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400210200a'
20240919@183340.2747 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.2761 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183340.2773 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ec67085766ec607443','aut66ec65049066ec60729e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240919@183340.2779 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.2793 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183340.2824 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66ec67085766ec607443',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66ec65049066ec60729e' ,0,0 ,2,23.00,370000,?,?,?,?)
20240919@183340.3117 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.3135 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183340.3162 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.3177 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183340.3186 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240919@183340.3199 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.3217 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183340.3229 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ec66355666ec60744e','aut66ec65049066ec60729e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240919@183340.3234 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.3253 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183340.3287 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66ec66355666ec60744e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66ec65049066ec60729e' ,0,0 ,2,23.00,380000,?,?,?)
20240919@183340.3565 8sbfhn7jti98e7q6urfnvsphqc Query : use flama_phc
20240919@183340.3568 8sbfhn7jti98e7q6urfnvsphqc Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240919@183340.3587 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20240919@183340.3613 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.3788 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183340.3986 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.4006 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183340.4017 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240919@183340.4030 8sbfhn7jti98e7q6urfnvsphqc Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400210200a'
20240919@183340.4043 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.4059 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183340.4071 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ec69639466ec607462','aut66ec65049066ec60729e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240919@183340.4076 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.4091 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183340.4121 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66ec69639466ec607462',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66ec65049066ec60729e' ,0,0 ,2,23.00,400000,?,?,?,?)
20240919@183340.4404 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.4421 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183340.4446 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.4461 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183340.4473 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240919@183340.4486 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.4503 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183340.4515 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ec60692966ec60746d','aut66ec65049066ec60729e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240919@183340.4519 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.4533 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183340.4561 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66ec60692966ec60746d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66ec65049066ec60729e' ,0,0 ,2,23.00,410000,?,?,?)
20240919@183340.4842 8sbfhn7jti98e7q6urfnvsphqc Query : use flama_phc
20240919@183340.4845 8sbfhn7jti98e7q6urfnvsphqc Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240919@183340.4866 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20240919@183340.4880 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.4898 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183340.4927 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.4944 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183340.4953 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240919@183340.4967 8sbfhn7jti98e7q6urfnvsphqc Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400210200a'
20240919@183340.4981 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.4994 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183340.5010 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ec66050466ec607479','aut66ec65049066ec60729e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240919@183340.5017 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.5031 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183340.5063 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66ec66050466ec607479',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66ec65049066ec60729e' ,0,0 ,2,23.00,430000,?,?,?,?)
20240919@183340.5369 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.5388 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183340.5424 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.5443 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183340.5454 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240919@183340.5474 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.5490 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183340.5502 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ec65613966ec607485','aut66ec65049066ec60729e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240919@183340.5507 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.5522 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183340.5552 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66ec65613966ec607485',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66ec65049066ec60729e' ,0,0 ,2,23.00,440000,?,?,?)
20240919@183340.5858 8sbfhn7jti98e7q6urfnvsphqc Query : use flama_phc
20240919@183340.5861 8sbfhn7jti98e7q6urfnvsphqc Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240919@183340.5881 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20240919@183340.5895 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.5913 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183340.5939 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.5954 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183340.5964 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240919@183340.5978 8sbfhn7jti98e7q6urfnvsphqc Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400210200a'
20240919@183340.5993 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.6015 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183340.6029 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ec62407466ec607492','aut66ec65049066ec60729e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240919@183340.6034 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.6049 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183340.6080 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66ec62407466ec607492',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66ec65049066ec60729e' ,0,0 ,2,23.00,460000,?,?,?,?)
20240919@183340.6380 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.6399 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183340.6438 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.6456 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183340.6466 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240919@183340.6479 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.6494 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183340.6508 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ec62827466ec60749e','aut66ec65049066ec60729e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240919@183340.6513 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.6528 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183340.6557 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66ec62827466ec60749e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66ec65049066ec60729e' ,0,0 ,2,23.00,470000,?,?,?)
20240919@183340.6847 8sbfhn7jti98e7q6urfnvsphqc Query : use flama_phc
20240919@183340.6850 8sbfhn7jti98e7q6urfnvsphqc Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240919@183340.6874 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20240919@183340.6889 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.6906 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183340.6933 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.6947 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183340.6956 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240919@183340.6969 8sbfhn7jti98e7q6urfnvsphqc Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400210200a'
20240919@183340.6987 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.7019 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183340.7031 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ec61839766ec6074aa','aut66ec65049066ec60729e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240919@183340.7036 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.7053 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183340.7081 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66ec61839766ec6074aa',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66ec65049066ec60729e' ,0,0 ,2,23.00,490000,?,?,?,?)
20240919@183340.7367 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.7386 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183340.7415 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.8070 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183340.8080 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240919@183340.8093 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.8125 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183340.9292 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ec66712166ec6074c5','aut66ec65049066ec60729e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240919@183340.9298 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.9318 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183340.9347 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66ec66712166ec6074c5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66ec65049066ec60729e' ,0,0 ,2,23.00,500000,?,?,?)
20240919@183340.9630 8sbfhn7jti98e7q6urfnvsphqc Query : use flama_phc
20240919@183340.9633 8sbfhn7jti98e7q6urfnvsphqc Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240919@183340.9655 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20240919@183340.9709 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.9861 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183340.9888 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.9904 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183340.9912 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240919@183340.9924 8sbfhn7jti98e7q6urfnvsphqc Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400210200a'
20240919@183340.9938 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.9953 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183340.9965 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ec69760166ec6074f2','aut66ec65049066ec60729e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240919@183340.9970 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183340.9989 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183341.1900 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66ec69760166ec6074f2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66ec65049066ec60729e' ,0,0 ,2,23.00,520000,?,?,?,?)
20240919@183341.3060 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.3230 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183341.3560 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.3710 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183341.3800 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240919@183341.3920 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.4090 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183341.4220 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ec61848066ec607509','aut66ec65049066ec60729e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240919@183341.4270 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.4410 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183341.4730 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66ec61848066ec607509',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66ec65049066ec60729e' ,0,0 ,2,23.00,530000,?,?,?)
20240919@183341.9420 8sbfhn7jti98e7q6urfnvsphqc Query : use flama_phc
20240919@183341.9460 8sbfhn7jti98e7q6urfnvsphqc Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240919@183341.9670 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20240919@183341.9840 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.1001 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183341.1027 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.1041 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183341.1050 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240919@183341.1062 8sbfhn7jti98e7q6urfnvsphqc Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400210200a'
20240919@183341.1074 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.1093 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183341.1105 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ec64904066ec60751a','aut66ec65049066ec60729e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240919@183341.1110 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.1125 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183341.1788 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66ec64904066ec60751a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66ec65049066ec60729e' ,0,0 ,2,23.00,550000,?,?,?,?)
20240919@183341.2073 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.2094 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183341.2127 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.2144 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183341.2152 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240919@183341.2166 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.2183 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183341.2196 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ec63183566ec607534','aut66ec65049066ec60729e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240919@183341.2200 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.2214 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183341.2245 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66ec63183566ec607534',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66ec65049066ec60729e' ,0,0 ,2,23.00,560000,?,?,?)
20240919@183341.2594 8sbfhn7jti98e7q6urfnvsphqc Query : use flama_phc
20240919@183341.2598 8sbfhn7jti98e7q6urfnvsphqc Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240919@183341.2619 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20240919@183341.2634 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.2654 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183341.2681 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.2697 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183341.2707 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240919@183341.2728 8sbfhn7jti98e7q6urfnvsphqc Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400210200a'
20240919@183341.2743 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.2759 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183341.2772 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ec63581166ec607542','aut66ec65049066ec60729e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240919@183341.2777 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.2793 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183341.2829 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66ec63581166ec607542',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66ec65049066ec60729e' ,0,0 ,2,23.00,580000,?,?,?,?)
20240919@183341.3155 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.3173 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183341.3198 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.3213 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183341.3221 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240919@183341.3234 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.3249 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183341.3265 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ec62786066ec60754e','aut66ec65049066ec60729e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240919@183341.3270 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.3288 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183341.3319 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66ec62786066ec60754e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66ec65049066ec60729e' ,0,0 ,2,23.00,590000,?,?,?)
20240919@183341.3611 8sbfhn7jti98e7q6urfnvsphqc Query : use flama_phc
20240919@183341.3614 8sbfhn7jti98e7q6urfnvsphqc Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240919@183341.3638 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20240919@183341.3653 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.3670 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183341.3696 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.3712 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183341.3720 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240919@183341.3733 8sbfhn7jti98e7q6urfnvsphqc Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400210200a'
20240919@183341.3754 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.3768 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183341.3780 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ec66071166ec60755b','aut66ec65049066ec60729e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240919@183341.3784 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.3798 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183341.3826 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66ec66071166ec60755b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66ec65049066ec60729e' ,0,0 ,2,23.00,610000,?,?,?,?)
20240919@183341.4115 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.4132 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183341.5305 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.5326 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183341.5335 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240919@183341.5347 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.5360 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183341.5371 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ec64379666ec607582','aut66ec65049066ec60729e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240919@183341.5376 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.5389 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183341.5416 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66ec64379666ec607582',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66ec65049066ec60729e' ,0,0 ,2,23.00,620000,?,?,?)
20240919@183341.5709 8sbfhn7jti98e7q6urfnvsphqc Query : use flama_phc
20240919@183341.5713 8sbfhn7jti98e7q6urfnvsphqc Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240919@183341.5733 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20240919@183341.5747 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.5767 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183341.5795 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.5811 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183341.5819 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240919@183341.5830 8sbfhn7jti98e7q6urfnvsphqc Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400210200a'
20240919@183341.6473 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.6490 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183341.6502 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ec62426266ec60759e','aut66ec65049066ec60729e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240919@183341.6508 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.6523 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183341.6552 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66ec62426266ec60759e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66ec65049066ec60729e' ,0,0 ,2,23.00,640000,?,?,?,?)
20240919@183341.6831 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.6847 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183341.6872 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.6886 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183341.6894 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240919@183341.6907 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.6922 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183341.6934 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ec65470666ec6075a8','aut66ec65049066ec60729e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240919@183341.6938 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.6953 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183341.6980 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66ec65470666ec6075a8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66ec65049066ec60729e' ,0,0 ,2,23.00,650000,?,?,?)
20240919@183341.7284 8sbfhn7jti98e7q6urfnvsphqc Query : use flama_phc
20240919@183341.7289 8sbfhn7jti98e7q6urfnvsphqc Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240919@183341.7309 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20240919@183341.7323 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.7338 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183341.7364 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.7381 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183341.7390 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240919@183341.7402 8sbfhn7jti98e7q6urfnvsphqc Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400210200a'
20240919@183341.7416 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.7430 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183341.7442 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ec67898866ec6075b5','aut66ec65049066ec60729e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240919@183341.7447 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.7462 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183341.7489 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66ec67898866ec6075b5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66ec65049066ec60729e' ,0,0 ,2,23.00,670000,?,?,?,?)
20240919@183341.7785 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.7801 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183341.7827 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.7841 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183341.7850 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240919@183341.7865 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.7880 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183341.7893 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ec60461066ec6075c0','aut66ec65049066ec60729e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240919@183341.7897 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.7911 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183341.7938 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66ec60461066ec6075c0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66ec65049066ec60729e' ,0,0 ,2,23.00,680000,?,?,?)
20240919@183341.8227 8sbfhn7jti98e7q6urfnvsphqc Query : use flama_phc
20240919@183341.8230 8sbfhn7jti98e7q6urfnvsphqc Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240919@183341.8249 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20240919@183341.8266 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.8282 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183341.8311 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.8325 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183341.8334 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240919@183341.8346 8sbfhn7jti98e7q6urfnvsphqc Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400210200a'
20240919@183341.8990 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.9010 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183341.9024 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ec63062066ec6075db','aut66ec65049066ec60729e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240919@183341.9029 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.9044 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183341.9075 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66ec63062066ec6075db',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66ec65049066ec60729e' ,0,0 ,2,23.00,700000,?,?,?,?)
20240919@183341.9361 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.9583 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183341.9609 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.9629 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183341.9637 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240919@183341.9649 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.9665 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183341.9676 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ec67805366ec6075eb','aut66ec65049066ec60729e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240919@183341.9681 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183341.9696 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183341.9727 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66ec67805366ec6075eb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66ec65049066ec60729e' ,0,0 ,2,23.00,710000,?,?,?)
20240919@183342.1900 8sbfhn7jti98e7q6urfnvsphqc Query : use flama_phc
20240919@183342.1930 8sbfhn7jti98e7q6urfnvsphqc Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240919@183342.2130 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20240919@183342.2270 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183342.2430 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183342.2680 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183342.2820 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183342.2910 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240919@183342.3020 8sbfhn7jti98e7q6urfnvsphqc Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400210200a'
20240919@183342.3150 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183342.3360 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183342.3480 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ec66978166ec607607','aut66ec65049066ec60729e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240919@183342.3530 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183342.3670 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183342.3930 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66ec66978166ec607607',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66ec65049066ec60729e' ,0,0 ,2,23.00,730000,?,?,?,?)
20240919@183342.6920 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183342.9410 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183342.9850 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183342.1003 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183342.1011 8sbfhn7jti98e7q6urfnvsphqc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240919@183342.1023 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183342.1037 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240919@183342.1048 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ec63206366ec607618','aut66ec65049066ec60729e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240919@183342.1054 8sbfhn7jti98e7q6urfnvsphqc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240919@183342.1069 8sbfhn7jti98e7q6urfnvsphqc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240919@183342.1097 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66ec63206366ec607618',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66ec65049066ec60729e' ,0,0 ,2,23.00,740000,?,?,?)
20240919@183342.1390 8sbfhn7jti98e7q6urfnvsphqc Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66ec65049066ec60729e','2406069','wait',39,'adm09112754980.682000002')
20240919@183342.1494 8sbfhn7jti98e7q6urfnvsphqc Query : use flama_phc
20240919@183342.1497 8sbfhn7jti98e7q6urfnvsphqc Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240919@183342.1533 8sbfhn7jti98e7q6urfnvsphqc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2101';
20240919@183342.1578 8sbfhn7jti98e7q6urfnvsphqc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2101';
20240919@183342.1621 8sbfhn7jti98e7q6urfnvsphqc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2101';
20240919@183342.1644 8sbfhn7jti98e7q6urfnvsphqc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2101';

20240920@133547.2660 f47rvmasrlona9kqhtsc6ka5nd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2102';
20240920@133547.2730 f47rvmasrlona9kqhtsc6ka5nd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2102';
20240920@133547.2757 f47rvmasrlona9kqhtsc6ka5nd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2102';
20240920@133547.2823 f47rvmasrlona9kqhtsc6ka5nd Query : use flama_phc
20240920@133547.2836 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240920@133547.2939 f47rvmasrlona9kqhtsc6ka5nd Query : use flama_phc
20240920@133547.2943 f47rvmasrlona9kqhtsc6ka5nd Query : select no, estab,szadrsdesc from szadrs where u_coddest=4743
20240920@133547.3036 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240920@133547.3275 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240920@133547.3299 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240920@133547.3321 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240920@133547.3343 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240920@133547.3364 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240920@133547.3386 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240920@133547.3407 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240920@133547.3428 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240920@133547.3450 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240920@133547.3470 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240920@133547.3491 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240920@133547.3511 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240920@133547.3530 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240920@133547.3552 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240920@133547.3572 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240920@133547.3595 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240920@133547.3617 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240920@133547.3639 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240920@133547.3660 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240920@133547.3680 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240920@133547.3701 f47rvmasrlona9kqhtsc6ka5nd Query : use flama_phc
20240920@133547.3705 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240920@133547.3907 f47rvmasrlona9kqhtsc6ka5nd Query : use flama_phc
20240920@133547.3911 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 1 valor from td where td.ndoc = 39
20240920@133547.4012 f47rvmasrlona9kqhtsc6ka5nd Query : use flama_phc
20240920@133547.4015 f47rvmasrlona9kqhtsc6ka5nd 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')
20240920@133547.4094 f47rvmasrlona9kqhtsc6ka5nd 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
20240920@133547.4231 f47rvmasrlona9kqhtsc6ka5nd Query : use flama_phc
20240920@133547.4235 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 ~inactivo valor from cl where no = '101597' and estab = 0 order by inactivo desc
20240920@133547.4384 f47rvmasrlona9kqhtsc6ka5nd Query : use flama_phc
20240920@133547.4388 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240920@133547.4551 f47rvmasrlona9kqhtsc6ka5nd Query : use flama_phc
20240920@133547.4672 f47rvmasrlona9kqhtsc6ka5nd Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240920@133547.4801 f47rvmasrlona9kqhtsc6ka5nd Query : use flama_phc
20240920@133547.4810 f47rvmasrlona9kqhtsc6ka5nd Query : select szadrsstamp valor from szadrs where szadrsdesc='101597 - auchan retail portugal , sa'
20240920@133547.4915 f47rvmasrlona9kqhtsc6ka5nd Query : use flama_phc
20240920@133547.4920 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from td where ndoc = 39
20240920@133547.5163 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240920@133547.5265 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133547.5596 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240920@133547.5703 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133547.5720 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240920@133547.5819 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133547.5885 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240920@133547.5913 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240920@133547.6148 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240920@133547.6283 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133547.6321 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240920@133547.6380 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66ed65569666ed6c2390' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240920@133547.6671 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133547.6705 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240920@133547.6786 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240920@133547.6907 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240920@133547.7022 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240920@133547.7138 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240920@133547.7296 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240920@133547.7386 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240920@133547.7660 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66ed65569666ed6c2390',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240920@133547.8161 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 fno valor from wsftdata order by fno desc
20240920@133547.8261 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133547.8277 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240920@133547.8302 f47rvmasrlona9kqhtsc6ka5nd Query : select 'normal' from dummy
20240920@133547.8349 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66ed65569666ed6c2390',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',839,101597,0,'2024-09-20',39,'euro',0,0,2024 ,?,?)
20240920@133547.8785 f47rvmasrlona9kqhtsc6ka5nd Query : use flama_phc
20240920@133547.8789 f47rvmasrlona9kqhtsc6ka5nd Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240920@133547.8919 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.646.00.01'
20240920@133547.9065 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133547.9083 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133547.9113 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133547.9128 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133547.9139 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240920@133547.9183 f47rvmasrlona9kqhtsc6ka5nd Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400224100a'
20240920@133547.9245 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133547.9276 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133547.9292 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ed60871166ed6c23e1','aut66ed65569666ed6c2390' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240920@133547.9348 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133547.9364 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133547.9405 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66ed60871166ed6c23e1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66ed65569666ed6c2390' ,0,0 ,2,23.00,10000,?,?,?,?)
20240920@133547.9793 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133547.9810 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133547.9838 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133547.9856 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133547.9868 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240920@133547.9885 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133547.9903 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133547.9918 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ed66347366ed6c23f1','aut66ed65569666ed6c2390' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240920@133547.9923 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133547.9939 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133547.9975 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66ed66347366ed6c23f1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66ed65569666ed6c2390' ,0,0 ,2,23.00,20000,?,?,?)
20240920@133548.2680 f47rvmasrlona9kqhtsc6ka5nd Query : use flama_phc
20240920@133548.2720 f47rvmasrlona9kqhtsc6ka5nd Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240920@133548.2930 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.646.00.01'
20240920@133548.3080 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.3270 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133548.3590 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.3820 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133548.3940 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240920@133548.4110 f47rvmasrlona9kqhtsc6ka5nd Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400224100a'
20240920@133548.4290 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.4490 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133548.4640 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ed62377766ed6c240a','aut66ed65569666ed6c2390' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240920@133548.4700 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.4900 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133548.5240 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66ed62377766ed6c240a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66ed65569666ed6c2390' ,0,0 ,2,23.00,40000,?,?,?,?)
20240920@133548.8000 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.8180 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133548.8500 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.8700 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133548.8810 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240920@133548.8980 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.9210 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133548.9480 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ed66649766ed6c2415','aut66ed65569666ed6c2390' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240920@133548.9530 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.9710 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133548.1007 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66ed66649766ed6c2415',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66ed65569666ed6c2390' ,0,0 ,2,23.00,50000,?,?,?)
20240920@133548.1298 f47rvmasrlona9kqhtsc6ka5nd Query : use flama_phc
20240920@133548.1304 f47rvmasrlona9kqhtsc6ka5nd Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240920@133548.1328 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.646.00.01'
20240920@133548.1346 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.1367 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133548.1401 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.1420 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133548.1434 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240920@133548.1449 f47rvmasrlona9kqhtsc6ka5nd Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400224100a'
20240920@133548.1463 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.1480 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133548.1493 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ed67045466ed6c2423','aut66ed65569666ed6c2390' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240920@133548.1497 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.1515 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133548.1546 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66ed67045466ed6c2423',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66ed65569666ed6c2390' ,0,0 ,2,23.00,70000,?,?,?,?)
20240920@133548.1833 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.1854 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133548.1952 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.1973 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133548.1984 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240920@133548.3495 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.3512 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133548.3524 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ed63968466ed6c2455','aut66ed65569666ed6c2390' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240920@133548.3530 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.3546 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133548.3576 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66ed63968466ed6c2455',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66ed65569666ed6c2390' ,0,0 ,2,23.00,80000,?,?,?)
20240920@133548.3894 f47rvmasrlona9kqhtsc6ka5nd Query : use flama_phc
20240920@133548.3901 f47rvmasrlona9kqhtsc6ka5nd Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240920@133548.3965 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.646.00.01'
20240920@133548.3994 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.4023 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133548.4088 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.4127 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133548.4149 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240920@133548.4181 f47rvmasrlona9kqhtsc6ka5nd Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400224100a'
20240920@133548.4212 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.4245 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133548.4272 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ed66143266ed6c2466','aut66ed65569666ed6c2390' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240920@133548.4281 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.4316 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133548.4382 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66ed66143266ed6c2466',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66ed65569666ed6c2390' ,0,0 ,2,23.00,100000,?,?,?,?)
20240920@133548.4684 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.4716 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133548.4784 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.4818 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133548.4841 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240920@133548.4871 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.4907 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133548.4935 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ed68150166ed6c2476','aut66ed65569666ed6c2390' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240920@133548.4940 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.4973 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133548.5037 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66ed68150166ed6c2476',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66ed65569666ed6c2390' ,0,0 ,2,23.00,110000,?,?,?)
20240920@133548.5470 f47rvmasrlona9kqhtsc6ka5nd Query : use flama_phc
20240920@133548.5477 f47rvmasrlona9kqhtsc6ka5nd Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240920@133548.5520 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.646.00.01'
20240920@133548.5549 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.5588 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133548.5651 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.5686 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133548.5697 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240920@133548.5712 f47rvmasrlona9kqhtsc6ka5nd Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400224100a'
20240920@133548.5727 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.5762 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133548.5778 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ed65892066ed6c248b','aut66ed65569666ed6c2390' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240920@133548.5784 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.5801 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133548.5831 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66ed65892066ed6c248b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66ed65569666ed6c2390' ,0,0 ,2,23.00,130000,?,?,?,?)
20240920@133548.6109 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.6128 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133548.6159 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.6176 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133548.6186 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240920@133548.6200 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.6218 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133548.6232 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ed65205366ed6c2497','aut66ed65569666ed6c2390' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240920@133548.6237 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.6253 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133548.6285 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66ed65205366ed6c2497',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66ed65569666ed6c2390' ,0,0 ,2,23.00,140000,?,?,?)
20240920@133548.6918 f47rvmasrlona9kqhtsc6ka5nd Query : use flama_phc
20240920@133548.7045 f47rvmasrlona9kqhtsc6ka5nd Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240920@133548.7082 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.646.00.01'
20240920@133548.7098 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.7117 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133548.7145 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.7163 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133548.7172 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240920@133548.7186 f47rvmasrlona9kqhtsc6ka5nd Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400224100a'
20240920@133548.7205 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.7223 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133548.7237 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ed68286766ed6c24af','aut66ed65569666ed6c2390' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240920@133548.7242 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.7257 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133548.7291 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66ed68286766ed6c24af',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66ed65569666ed6c2390' ,0,0 ,2,23.00,160000,?,?,?,?)
20240920@133548.7785 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.7802 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133548.7844 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.7861 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133548.7870 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240920@133548.7886 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.7903 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133548.7915 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ed65010366ed6c24c0','aut66ed65569666ed6c2390' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240920@133548.7921 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.7938 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133548.7973 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66ed65010366ed6c24c0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66ed65569666ed6c2390' ,0,0 ,2,23.00,170000,?,?,?)
20240920@133548.8252 f47rvmasrlona9kqhtsc6ka5nd Query : use flama_phc
20240920@133548.8256 f47rvmasrlona9kqhtsc6ka5nd Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240920@133548.8278 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.646.00.01'
20240920@133548.8294 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.8311 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133548.8341 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.8357 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133548.8367 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240920@133548.8379 f47rvmasrlona9kqhtsc6ka5nd Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400224100a'
20240920@133548.8392 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.8407 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133548.8421 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ed65453466ed6c24cc','aut66ed65569666ed6c2390' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240920@133548.8425 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.8441 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133548.8469 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66ed65453466ed6c24cc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66ed65569666ed6c2390' ,0,0 ,2,23.00,190000,?,?,?,?)
20240920@133548.8738 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.8755 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133548.8784 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.8800 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133548.8809 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240920@133548.8823 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.8841 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133548.8853 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ed68857666ed6c24d7','aut66ed65569666ed6c2390' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240920@133548.8858 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.8888 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133548.8922 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66ed68857666ed6c24d7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66ed65569666ed6c2390' ,0,0 ,2,23.00,200000,?,?,?)
20240920@133548.9184 f47rvmasrlona9kqhtsc6ka5nd Query : use flama_phc
20240920@133548.9188 f47rvmasrlona9kqhtsc6ka5nd Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240920@133548.9209 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.646.00.01'
20240920@133548.9224 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.9242 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133548.9284 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.9302 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133548.9311 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240920@133548.9325 f47rvmasrlona9kqhtsc6ka5nd Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400224100a'
20240920@133548.9340 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.9356 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133548.9368 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ed61384366ed6c24e4','aut66ed65569666ed6c2390' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240920@133548.9373 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.9393 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133548.9425 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66ed61384366ed6c24e4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66ed65569666ed6c2390' ,0,0 ,2,23.00,220000,?,?,?,?)
20240920@133548.9690 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.9707 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133548.9736 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.9771 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133548.9780 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240920@133548.9796 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.9811 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133548.9825 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ed61725466ed6c24ef','aut66ed65569666ed6c2390' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240920@133548.9830 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133548.9844 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133548.9876 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66ed61725466ed6c24ef',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66ed65569666ed6c2390' ,0,0 ,2,23.00,230000,?,?,?)
20240920@133549.1380 f47rvmasrlona9kqhtsc6ka5nd Query : use flama_phc
20240920@133549.1420 f47rvmasrlona9kqhtsc6ka5nd Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240920@133549.1660 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.646.00.01'
20240920@133549.1870 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.2040 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133549.2340 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.2510 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133549.2600 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240920@133549.2740 f47rvmasrlona9kqhtsc6ka5nd Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400224100a'
20240920@133549.3020 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.3180 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133549.3320 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ed64613466ed6c2507','aut66ed65569666ed6c2390' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240920@133549.3370 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.3550 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133549.3900 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66ed64613466ed6c2507',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66ed65569666ed6c2390' ,0,0 ,2,23.00,250000,?,?,?,?)
20240920@133549.6650 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.6850 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133549.7140 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.7300 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133549.7410 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240920@133549.7560 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.7720 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133549.8000 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ed64801866ed6c2512','aut66ed65569666ed6c2390' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240920@133549.8050 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.8220 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133549.8530 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66ed64801866ed6c2512',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66ed65569666ed6c2390' ,0,0 ,2,23.00,260000,?,?,?)
20240920@133549.1114 f47rvmasrlona9kqhtsc6ka5nd Query : use flama_phc
20240920@133549.1118 f47rvmasrlona9kqhtsc6ka5nd Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240920@133549.1139 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.646.00.01'
20240920@133549.1154 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.1169 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133549.1196 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.1211 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133549.1221 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240920@133549.1234 f47rvmasrlona9kqhtsc6ka5nd Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400224100a'
20240920@133549.1249 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.1264 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133549.1277 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ed60829366ed6c251e','aut66ed65569666ed6c2390' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240920@133549.1281 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.1296 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133549.1326 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66ed60829366ed6c251e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66ed65569666ed6c2390' ,0,0 ,2,23.00,280000,?,?,?,?)
20240920@133549.1589 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.1605 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133549.1643 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.1658 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133549.1667 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240920@133549.1679 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.1694 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133549.1706 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ed62962266ed6c2529','aut66ed65569666ed6c2390' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240920@133549.1710 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.1724 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133549.1754 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66ed62962266ed6c2529',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66ed65569666ed6c2390' ,0,0 ,2,23.00,290000,?,?,?)
20240920@133549.2063 f47rvmasrlona9kqhtsc6ka5nd Query : use flama_phc
20240920@133549.2067 f47rvmasrlona9kqhtsc6ka5nd Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240920@133549.2085 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.646.00.01'
20240920@133549.2100 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.2115 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133549.2140 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.2156 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133549.2164 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240920@133549.2177 f47rvmasrlona9kqhtsc6ka5nd Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400224100a'
20240920@133549.2191 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.2206 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133549.2217 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ed62349666ed6c2535','aut66ed65569666ed6c2390' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240920@133549.2221 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.2309 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133549.2345 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66ed62349666ed6c2535',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66ed65569666ed6c2390' ,0,0 ,2,23.00,310000,?,?,?,?)
20240920@133549.2712 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.3194 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133549.3222 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.3300 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133549.3308 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240920@133549.3322 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.3338 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133549.3350 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ed63753866ed6c2551','aut66ed65569666ed6c2390' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240920@133549.3354 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.3369 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133549.3395 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66ed63753866ed6c2551',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66ed65569666ed6c2390' ,0,0 ,2,23.00,320000,?,?,?)
20240920@133549.3663 f47rvmasrlona9kqhtsc6ka5nd Query : use flama_phc
20240920@133549.3687 f47rvmasrlona9kqhtsc6ka5nd Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240920@133549.4035 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.646.00.01'
20240920@133549.4100 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.4137 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133549.4228 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.4262 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133549.4282 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240920@133549.4317 f47rvmasrlona9kqhtsc6ka5nd Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400224100a'
20240920@133549.4357 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.4395 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133549.4435 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ed60603266ed6c256a','aut66ed65569666ed6c2390' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240920@133549.4447 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.4472 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133549.4507 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66ed60603266ed6c256a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66ed65569666ed6c2390' ,0,0 ,2,23.00,340000,?,?,?,?)
20240920@133549.4801 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.4826 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133549.4868 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.4897 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133549.4914 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240920@133549.4938 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.4968 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133549.4983 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ed60335966ed6c2578','aut66ed65569666ed6c2390' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240920@133549.4989 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.5019 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133549.5077 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66ed60335966ed6c2578',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66ed65569666ed6c2390' ,0,0 ,2,23.00,350000,?,?,?)
20240920@133549.5351 f47rvmasrlona9kqhtsc6ka5nd Query : use flama_phc
20240920@133549.5356 f47rvmasrlona9kqhtsc6ka5nd Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240920@133549.5391 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.646.00.01'
20240920@133549.5405 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.5423 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133549.5450 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.5465 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133549.5591 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240920@133549.5608 f47rvmasrlona9kqhtsc6ka5nd Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400224100a'
20240920@133549.5621 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.5636 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133549.5661 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ed68992266ed6c2589','aut66ed65569666ed6c2390' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240920@133549.5665 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.5681 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133549.5711 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66ed68992266ed6c2589',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66ed65569666ed6c2390' ,0,0 ,2,23.00,370000,?,?,?,?)
20240920@133549.5988 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.6005 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133549.6034 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.6062 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133549.6071 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240920@133549.6085 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.6100 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133549.6112 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ed65503166ed6c2594','aut66ed65569666ed6c2390' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240920@133549.6118 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.6135 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133549.6173 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66ed65503166ed6c2594',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66ed65569666ed6c2390' ,0,0 ,2,23.00,380000,?,?,?)
20240920@133549.6436 f47rvmasrlona9kqhtsc6ka5nd Query : use flama_phc
20240920@133549.6439 f47rvmasrlona9kqhtsc6ka5nd Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240920@133549.6462 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.646.00.01'
20240920@133549.6478 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.6495 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133549.6530 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.6705 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133549.6753 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240920@133549.6768 f47rvmasrlona9kqhtsc6ka5nd Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400224100a'
20240920@133549.6781 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.6803 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133549.6816 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ed69522966ed6c25a5','aut66ed65569666ed6c2390' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240920@133549.6823 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.6840 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133549.6874 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66ed69522966ed6c25a5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66ed65569666ed6c2390' ,0,0 ,2,23.00,400000,?,?,?,?)
20240920@133549.7189 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.7207 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133549.7239 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.7257 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133549.7266 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240920@133549.7280 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.7296 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133549.7310 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ed69490066ed6c25b1','aut66ed65569666ed6c2390' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240920@133549.7315 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.7330 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133549.7364 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66ed69490066ed6c25b1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66ed65569666ed6c2390' ,0,0 ,2,23.00,410000,?,?,?)
20240920@133549.7644 f47rvmasrlona9kqhtsc6ka5nd Query : use flama_phc
20240920@133549.7648 f47rvmasrlona9kqhtsc6ka5nd Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240920@133549.7668 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.646.00.01'
20240920@133549.7686 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.7702 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133549.7730 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.7747 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133549.7765 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240920@133549.7777 f47rvmasrlona9kqhtsc6ka5nd Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400224100a'
20240920@133549.7790 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.7804 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133549.7816 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ed65019666ed6c25be','aut66ed65569666ed6c2390' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240920@133549.7820 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.7834 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133549.7864 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66ed65019666ed6c25be',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66ed65569666ed6c2390' ,0,0 ,2,23.00,430000,?,?,?,?)
20240920@133549.8133 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.8150 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133549.8179 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.8195 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133549.8204 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240920@133549.8219 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.8235 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133549.8260 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ed69205766ed6c25c8','aut66ed65569666ed6c2390' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240920@133549.8264 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.8282 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133549.8313 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66ed69205766ed6c25c8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66ed65569666ed6c2390' ,0,0 ,2,23.00,440000,?,?,?)
20240920@133549.8573 f47rvmasrlona9kqhtsc6ka5nd Query : use flama_phc
20240920@133549.8577 f47rvmasrlona9kqhtsc6ka5nd Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240920@133549.8599 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.646.00.01'
20240920@133549.8614 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.8630 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133549.8657 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.8673 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133549.8683 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240920@133549.8695 f47rvmasrlona9kqhtsc6ka5nd Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400224100a'
20240920@133549.8708 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.8723 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133549.8736 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ed63401266ed6c25d4','aut66ed65569666ed6c2390' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240920@133549.8740 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.8755 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133549.8784 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66ed63401266ed6c25d4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66ed65569666ed6c2390' ,0,0 ,2,23.00,460000,?,?,?,?)
20240920@133549.9052 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.9070 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133549.9099 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.9115 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133549.9124 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240920@133549.9139 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.9171 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133549.9186 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ed69156566ed6c25df','aut66ed65569666ed6c2390' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240920@133549.9190 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.9206 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133549.9236 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66ed69156566ed6c25df',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66ed65569666ed6c2390' ,0,0 ,2,23.00,470000,?,?,?)
20240920@133549.9533 f47rvmasrlona9kqhtsc6ka5nd Query : use flama_phc
20240920@133549.9536 f47rvmasrlona9kqhtsc6ka5nd Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240920@133549.9559 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.646.00.01'
20240920@133549.9578 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.9594 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133549.9623 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.9639 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133549.9648 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240920@133549.9661 f47rvmasrlona9kqhtsc6ka5nd Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400224100a'
20240920@133549.9674 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.9690 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133549.9715 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ed68665266ed6c25ec','aut66ed65569666ed6c2390' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240920@133549.9720 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133549.9738 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133549.9770 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66ed68665266ed6c25ec',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66ed65569666ed6c2390' ,0,0 ,2,23.00,490000,?,?,?,?)
20240920@133550.4100 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133550.6000 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133550.9900 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133550.1150 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133550.1240 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240920@133550.1400 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133550.1550 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133550.1690 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ed63844666ed6c2603','aut66ed65569666ed6c2390' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240920@133550.1760 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133550.1920 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133550.2250 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66ed63844666ed6c2603',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66ed65569666ed6c2390' ,0,0 ,2,23.00,500000,?,?,?)
20240920@133550.5090 f47rvmasrlona9kqhtsc6ka5nd Query : use flama_phc
20240920@133550.5130 f47rvmasrlona9kqhtsc6ka5nd Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240920@133550.5340 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.646.00.01'
20240920@133550.5490 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133550.5650 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133550.5940 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133550.6220 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133550.6330 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240920@133550.6470 f47rvmasrlona9kqhtsc6ka5nd Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400224100a'
20240920@133550.6610 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133550.6770 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133550.6900 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ed69594366ed6c2610','aut66ed65569666ed6c2390' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240920@133550.6950 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133550.7120 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133550.7430 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66ed69594366ed6c2610',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66ed65569666ed6c2390' ,0,0 ,2,23.00,520000,?,?,?,?)
20240920@133550.1013 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133550.1030 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133550.1080 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133550.1097 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133550.1130 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240920@133550.2605 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133550.2624 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133550.2638 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ed60222266ed6c263f','aut66ed65569666ed6c2390' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240920@133550.2643 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133550.2659 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133550.2693 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66ed60222266ed6c263f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66ed65569666ed6c2390' ,0,0 ,2,23.00,530000,?,?,?)
20240920@133550.3013 f47rvmasrlona9kqhtsc6ka5nd Query : use flama_phc
20240920@133550.3022 f47rvmasrlona9kqhtsc6ka5nd Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240920@133550.3070 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.646.00.01'
20240920@133550.3105 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133550.3144 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133550.3227 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133550.3262 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133550.3283 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240920@133550.3314 f47rvmasrlona9kqhtsc6ka5nd Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400224100a'
20240920@133550.3344 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133550.3378 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133550.3407 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ed66218066ed6c2651','aut66ed65569666ed6c2390' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240920@133550.3415 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133550.3454 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133550.3527 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66ed66218066ed6c2651',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66ed65569666ed6c2390' ,0,0 ,2,23.00,550000,?,?,?,?)
20240920@133550.3865 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133550.3901 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133550.3955 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133550.3990 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133550.4007 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240920@133550.4035 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133550.4075 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133550.4107 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ed60382466ed6c2662','aut66ed65569666ed6c2390' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240920@133550.4114 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133550.4148 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133550.4213 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66ed60382466ed6c2662',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66ed65569666ed6c2390' ,0,0 ,2,23.00,560000,?,?,?)
20240920@133550.4495 f47rvmasrlona9kqhtsc6ka5nd Query : use flama_phc
20240920@133550.4499 f47rvmasrlona9kqhtsc6ka5nd Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240920@133550.4528 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.646.00.01'
20240920@133550.4560 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133550.4592 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133550.4629 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133550.4674 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133550.4699 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240920@133550.4730 f47rvmasrlona9kqhtsc6ka5nd Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400224100a'
20240920@133550.4751 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133550.4780 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133550.4808 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ed63658166ed6c2674','aut66ed65569666ed6c2390' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240920@133550.4817 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133550.4856 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133550.4924 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66ed63658166ed6c2674',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66ed65569666ed6c2390' ,0,0 ,2,23.00,580000,?,?,?,?)
20240920@133550.5226 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133550.5252 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133550.5313 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133550.5340 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133550.5349 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240920@133550.5371 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133550.5406 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133550.5439 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ed68459666ed6c2683','aut66ed65569666ed6c2390' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240920@133550.5445 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133550.5478 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133550.5535 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66ed68459666ed6c2683',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66ed65569666ed6c2390' ,0,0 ,2,23.00,590000,?,?,?)
20240920@133550.5950 f47rvmasrlona9kqhtsc6ka5nd Query : use flama_phc
20240920@133550.5954 f47rvmasrlona9kqhtsc6ka5nd Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240920@133550.5976 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.646.00.01'
20240920@133550.5992 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133550.6009 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133550.6039 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133550.6057 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133550.6068 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240920@133550.6083 f47rvmasrlona9kqhtsc6ka5nd Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400224100a'
20240920@133550.6100 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133550.6310 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133550.6325 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ed65213866ed6c2694','aut66ed65569666ed6c2390' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240920@133550.6331 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133550.6367 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133550.6399 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66ed65213866ed6c2694',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66ed65569666ed6c2390' ,0,0 ,2,23.00,610000,?,?,?,?)
20240920@133550.6674 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133550.6693 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133550.6722 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133550.6751 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133550.6760 f47rvmasrlona9kqhtsc6ka5nd Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240920@133550.6775 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133550.6791 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240920@133550.6805 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ed61654666ed6c26a5','aut66ed65569666ed6c2390' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240920@133550.6809 f47rvmasrlona9kqhtsc6ka5nd Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@133550.6825 f47rvmasrlona9kqhtsc6ka5nd Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240920@133550.6857 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66ed61654666ed6c26a5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66ed65569666ed6c2390' ,0,0 ,2,23.00,620000,?,?,?)
20240920@133550.7184 f47rvmasrlona9kqhtsc6ka5nd Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66ed65569666ed6c2390','2406072','wait',39,'adm09112754980.682000002')
20240920@133550.7289 f47rvmasrlona9kqhtsc6ka5nd Query : use flama_phc
20240920@133550.7292 f47rvmasrlona9kqhtsc6ka5nd Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240920@133550.7327 f47rvmasrlona9kqhtsc6ka5nd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2102';
20240920@133550.7360 f47rvmasrlona9kqhtsc6ka5nd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2102';
20240920@133550.7402 f47rvmasrlona9kqhtsc6ka5nd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2102';
20240920@133550.7430 f47rvmasrlona9kqhtsc6ka5nd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2102';

20240920@155410.6600 7rl14u2s3ff6cbj0gk39pt0mu1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2103';
20240920@155410.1290 7rl14u2s3ff6cbj0gk39pt0mu1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2103';
20240920@155410.1530 7rl14u2s3ff6cbj0gk39pt0mu1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2103';
20240920@155410.1920 7rl14u2s3ff6cbj0gk39pt0mu1 Query : use flama_phc
20240920@155410.1950 7rl14u2s3ff6cbj0gk39pt0mu1 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240920@155410.2910 7rl14u2s3ff6cbj0gk39pt0mu1 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.4970.00.1'
20240920@155410.4120 7rl14u2s3ff6cbj0gk39pt0mu1 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 = 2400492 and bi.ref ='324.4970.00.1' and bi.lordem =20000
20240920@155410.7450 7rl14u2s3ff6cbj0gk39pt0mu1 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 = 'cps24050842449,883000002 ' 
20240920@155410.1052 7rl14u2s3ff6cbj0gk39pt0mu1 Query : use flama_phc
20240920@155410.1055 7rl14u2s3ff6cbj0gk39pt0mu1 Query : select top 1 1 valor from ts where ts.ndos = 61
20240920@155410.1143 7rl14u2s3ff6cbj0gk39pt0mu1 Query : use flama_phc
20240920@155410.1145 7rl14u2s3ff6cbj0gk39pt0mu1 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')
20240920@155410.1214 7rl14u2s3ff6cbj0gk39pt0mu1 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
20240920@155410.1352 7rl14u2s3ff6cbj0gk39pt0mu1 Query : use flama_phc
20240920@155410.1355 7rl14u2s3ff6cbj0gk39pt0mu1 Query : select top 1 ~inactivo valor from fl where no = '202278' and estab = 00 order by inactivo desc
20240920@155410.1466 7rl14u2s3ff6cbj0gk39pt0mu1 Query : use flama_phc
20240920@155410.1469 7rl14u2s3ff6cbj0gk39pt0mu1 Query : select 1 valor from ts where ndos = 61
20240920@155410.1536 7rl14u2s3ff6cbj0gk39pt0mu1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@155410.2323 7rl14u2s3ff6cbj0gk39pt0mu1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo' and documentnumber = 61
20240920@155410.2385 7rl14u2s3ff6cbj0gk39pt0mu1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@155410.2398 7rl14u2s3ff6cbj0gk39pt0mu1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo2' and documentnumber = 61
20240920@155410.2407 7rl14u2s3ff6cbj0gk39pt0mu1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@155410.2421 7rl14u2s3ff6cbj0gk39pt0mu1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo3' and documentnumber = 61
20240920@155410.2429 7rl14u2s3ff6cbj0gk39pt0mu1 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
20240920@155410.2556 7rl14u2s3ff6cbj0gk39pt0mu1 Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2024 order by obrano desc
20240920@155410.2653 7rl14u2s3ff6cbj0gk39pt0mu1 Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2024 order by obrano desc
20240920@155410.2670 7rl14u2s3ff6cbj0gk39pt0mu1 Query : use flama_phc
20240920@155410.2676 7rl14u2s3ff6cbj0gk39pt0mu1 Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='202278' and estab=00
20240920@155410.2759 7rl14u2s3ff6cbj0gk39pt0mu1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@155410.2773 7rl14u2s3ff6cbj0gk39pt0mu1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo3' and documentnumber = 61
20240920@155410.2810 7rl14u2s3ff6cbj0gk39pt0mu1 Query : insert into bo3 (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ed87907866ed8c9241',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20240920@155410.2903 7rl14u2s3ff6cbj0gk39pt0mu1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@155410.2919 7rl14u2s3ff6cbj0gk39pt0mu1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo2' and documentnumber = 61
20240920@155410.2936 7rl14u2s3ff6cbj0gk39pt0mu1 Query : insert into bo2 (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ed87907866ed8c9241','--','bo',1.1163101604278074866 ,1,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20240920@155410.3140 7rl14u2s3ff6cbj0gk39pt0mu1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@155410.3157 7rl14u2s3ff6cbj0gk39pt0mu1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo' and documentnumber = 61
20240920@155410.3169 7rl14u2s3ff6cbj0gk39pt0mu1 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 ('aut66ed87907866ed8c9241','guia r. fornecedor','2024-09-20',61,2402723,?,?,?,?,?,?,?,?,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')
20240920@155410.4026 7rl14u2s3ff6cbj0gk39pt0mu1 Query : use flama_phc
20240920@155410.4029 7rl14u2s3ff6cbj0gk39pt0mu1 Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20240920@155410.4162 7rl14u2s3ff6cbj0gk39pt0mu1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20240920@155410.4333 7rl14u2s3ff6cbj0gk39pt0mu1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@155410.4562 7rl14u2s3ff6cbj0gk39pt0mu1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 61
20240920@155410.4719 7rl14u2s3ff6cbj0gk39pt0mu1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@155410.4736 7rl14u2s3ff6cbj0gk39pt0mu1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 61
20240920@155410.4747 7rl14u2s3ff6cbj0gk39pt0mu1 Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2400492200a'
20240920@155410.4838 7rl14u2s3ff6cbj0gk39pt0mu1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@155410.4887 7rl14u2s3ff6cbj0gk39pt0mu1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'se' and documentnumber = 0
20240920@155410.5067 7rl14u2s3ff6cbj0gk39pt0mu1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@155410.5092 7rl14u2s3ff6cbj0gk39pt0mu1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'se' and documentnumber = 0
20240920@155410.5106 7rl14u2s3ff6cbj0gk39pt0mu1 Query : insert into se (sestamp,ref, lote, data,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66ed89028466ed8c927b',?,?,'20240920',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut;','aut;')
20240920@155410.5632 7rl14u2s3ff6cbj0gk39pt0mu1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240920@155410.5674 7rl14u2s3ff6cbj0gk39pt0mu1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@155410.5690 7rl14u2s3ff6cbj0gk39pt0mu1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 61
20240920@155410.5703 7rl14u2s3ff6cbj0gk39pt0mu1 Query : insert into bi2 (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66ed82681566ed8c928a','aut66ed87907866ed8c9241',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 = 'aut66ed87907866ed8c9241'
20240920@155410.5885 7rl14u2s3ff6cbj0gk39pt0mu1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240920@155410.5902 7rl14u2s3ff6cbj0gk39pt0mu1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 61
20240920@155410.5920 7rl14u2s3ff6cbj0gk39pt0mu1 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 'aut66ed82681566ed8c928a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 5760, 5760*.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 ,7.48,7.48*200.48,7.48,7.48*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,7.48*5760,7.48*5760*200.48 ,8.845000,8.845000*200.48 ,8.845000,8.845000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,7.48,7.48*200.48,7.48*5760,7.48*5760*200.48,'cps24050842449,883000002 ',8.35,8.35*5760,8.35,8.35*5760,?,?,?,4 from bo bo where bo.bostamp = 'aut66ed87907866ed8c9241'
20240920@155417.7642 7rl14u2s3ff6cbj0gk39pt0mu1 Query : use flama_phc
20240920@155417.7650 7rl14u2s3ff6cbj0gk39pt0mu1 Query : declare @bostamp varchar(25) = 'aut66ed87907866ed8c9241' ,@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 
20240920@155431.7410 7rl14u2s3ff6cbj0gk39pt0mu1 Query : use flama_phc
20240920@155431.7820 7rl14u2s3ff6cbj0gk39pt0mu1 Query : select 1 valor from bo where bo.bostamp = 'aut66ed87907866ed8c9241'
20240920@155431.1096 7rl14u2s3ff6cbj0gk39pt0mu1 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) = 'aut66ed87907866ed8c9241' 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 
20240920@155439.5194 7rl14u2s3ff6cbj0gk39pt0mu1 Query : use flama_phc
20240920@155439.5197 7rl14u2s3ff6cbj0gk39pt0mu1 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240920@155439.5248 7rl14u2s3ff6cbj0gk39pt0mu1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2103';
20240920@155439.5280 7rl14u2s3ff6cbj0gk39pt0mu1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2103';

20240921@191523.7817 tj02e4p5cmj4258q42017emdg7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2104';
20240921@191523.7883 tj02e4p5cmj4258q42017emdg7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2104';
20240921@191523.7907 tj02e4p5cmj4258q42017emdg7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2104';
20240921@191523.8160 ljkaj1vn9e863ivi7n1cugspsj Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240921@191523.8171 ljkaj1vn9e863ivi7n1cugspsj Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240921@191523.8222 ljkaj1vn9e863ivi7n1cugspsj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2105';
20240921@191523.8275 ljkaj1vn9e863ivi7n1cugspsj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2105';
20240921@191523.8331 ljkaj1vn9e863ivi7n1cugspsj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2105';
20240921@191523.8356 ljkaj1vn9e863ivi7n1cugspsj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2105';

20240921@192204.2290 ov77keu2ii2sgffqjqt74gmtvg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2106';
20240921@192204.2344 ov77keu2ii2sgffqjqt74gmtvg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2106';
20240921@192204.2381 ov77keu2ii2sgffqjqt74gmtvg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2106';

20240923@074625.4560 3c81lvfgi9im0ju6j10b92og5c Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2107';
20240923@074625.4627 3c81lvfgi9im0ju6j10b92og5c Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2107';
20240923@074625.4653 3c81lvfgi9im0ju6j10b92og5c Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2107';
20240923@074625.4726 3c81lvfgi9im0ju6j10b92og5c Query : use flama_phc
20240923@074625.4730 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240923@074625.4829 3c81lvfgi9im0ju6j10b92og5c Query : use flama_phc
20240923@074625.4832 3c81lvfgi9im0ju6j10b92og5c Query : select no, estab,szadrsdesc from szadrs where u_coddest=2064
20240923@074625.4926 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20240923@074625.5100 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406046 and bi.ref ='324.1816.00.1' and bi.lordem =1
20240923@074625.5458 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20240923@074625.5479 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406046 and bi.ref ='324.1816.00.1' and bi.lordem =1
20240923@074625.5497 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20240923@074625.5526 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406046 and bi.ref ='324.1816.00.1' and bi.lordem =1
20240923@074625.5552 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20240923@074625.5575 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406046 and bi.ref ='324.1816.00.1' and bi.lordem =2
20240923@074625.5854 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20240923@074625.5875 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406046 and bi.ref ='324.1816.00.1' and bi.lordem =2
20240923@074625.5895 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20240923@074625.5917 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406046 and bi.ref ='324.1816.00.1' and bi.lordem =2
20240923@074625.5934 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20240923@074625.5955 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406046 and bi.ref ='324.1816.00.1' and bi.lordem =2
20240923@074625.5974 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20240923@074625.6005 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406046 and bi.ref ='324.1816.00.1' and bi.lordem =2
20240923@074625.6022 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20240923@074625.6042 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406046 and bi.ref ='324.1816.00.1' and bi.lordem =2
20240923@074625.6060 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20240923@074625.6079 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406046 and bi.ref ='324.1816.00.1' and bi.lordem =2
20240923@074625.6100 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20240923@074625.6121 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406046 and bi.ref ='324.1816.00.1' and bi.lordem =2
20240923@074625.6152 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20240923@074625.6171 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406046 and bi.ref ='324.1816.00.1' and bi.lordem =2
20240923@074625.6190 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20240923@074625.6211 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406046 and bi.ref ='324.1816.00.1' and bi.lordem =2
20240923@074625.6230 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20240923@074625.6249 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406046 and bi.ref ='324.1816.00.1' and bi.lordem =2
20240923@074625.6265 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20240923@074625.6286 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406046 and bi.ref ='324.1816.00.1' and bi.lordem =2
20240923@074625.6305 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20240923@074625.6336 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406046 and bi.ref ='324.1816.00.1' and bi.lordem =2
20240923@074625.6353 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20240923@074625.6375 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406046 and bi.ref ='324.1816.00.1' and bi.lordem =2
20240923@074625.6393 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20240923@074625.6413 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406046 and bi.ref ='324.1816.00.1' and bi.lordem =2
20240923@074625.6432 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20240923@074625.6454 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406046 and bi.ref ='324.1816.00.1' and bi.lordem =2
20240923@074625.6479 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20240923@074625.6501 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406046 and bi.ref ='324.1816.00.1' and bi.lordem =2
20240923@074625.6518 3c81lvfgi9im0ju6j10b92og5c Query : use flama_phc
20240923@074625.6522 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240923@074625.6712 3c81lvfgi9im0ju6j10b92og5c Query : use flama_phc
20240923@074625.6715 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 1 valor from td where td.ndoc = 39
20240923@074625.6802 3c81lvfgi9im0ju6j10b92og5c Query : use flama_phc
20240923@074625.6805 3c81lvfgi9im0ju6j10b92og5c 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')
20240923@074625.6886 3c81lvfgi9im0ju6j10b92og5c 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
20240923@074625.7009 3c81lvfgi9im0ju6j10b92og5c Query : use flama_phc
20240923@074625.7011 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 ~inactivo valor from cl where no = '101645' and estab = 0 order by inactivo desc
20240923@074625.7145 3c81lvfgi9im0ju6j10b92og5c Query : use flama_phc
20240923@074625.7147 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240923@074625.7229 3c81lvfgi9im0ju6j10b92og5c Query : use flama_phc
20240923@074625.7232 3c81lvfgi9im0ju6j10b92og5c Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240923@074625.7314 3c81lvfgi9im0ju6j10b92og5c Query : use flama_phc
20240923@074625.7317 3c81lvfgi9im0ju6j10b92og5c Query : select szadrsstamp valor from szadrs where szadrsdesc='macorlux - electrodomÉsticos, s.a.'
20240923@074625.7377 3c81lvfgi9im0ju6j10b92og5c Query : use flama_phc
20240923@074625.7380 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from td where ndoc = 39
20240923@074625.7433 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240923@074625.7489 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074625.7815 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240923@074625.7894 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074625.7909 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240923@074625.7938 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074625.7952 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240923@074625.7966 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240923@074625.8263 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240923@074625.8360 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074625.8376 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240923@074625.8414 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66f108029966f10ec1c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240923@074625.8767 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074625.8784 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240923@074625.8817 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240923@074625.8907 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240923@074625.8976 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240923@074625.9050 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240923@074625.9118 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240923@074625.9187 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240923@074625.9256 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66f108029966f10ec1c2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240923@074626.1229 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 fno valor from wsftdata order by fno desc
20240923@074626.1317 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.1333 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240923@074626.1356 3c81lvfgi9im0ju6j10b92og5c Query : select 'normal' from dummy
20240923@074626.1405 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66f108029966f10ec1c2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',840,101645,0,'2024-09-23',39,'euro',0,0,2024 ,?,?)
20240923@074626.2120 3c81lvfgi9im0ju6j10b92og5c Query : use flama_phc
20240923@074626.2123 3c81lvfgi9im0ju6j10b92og5c Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20240923@074626.2243 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1816.00.1'
20240923@074626.2370 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.2386 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074626.2412 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.2427 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074626.2436 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074626.2474 3c81lvfgi9im0ju6j10b92og5c Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2400198200a'
20240923@074626.2698 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.2712 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074626.2746 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f104048166f10ec241','aut66f108029966f10ec1c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074626.2866 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.2881 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074626.2910 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f104048166f10ec241',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',11.000 ,'aut66f108029966f10ec1c2' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240923@074626.4074 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.4090 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074626.4115 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.4130 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074626.4138 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074626.4150 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.4164 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074626.4175 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f102988766f10ec265','aut66f108029966f10ec1c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074626.4179 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.4194 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074626.4223 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66f102988766f10ec265',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66f108029966f10ec1c2' ,0,0 ,2,23.00,20000,?,?,?)
20240923@074626.4498 3c81lvfgi9im0ju6j10b92og5c Query : use flama_phc
20240923@074626.4501 3c81lvfgi9im0ju6j10b92og5c Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20240923@074626.4519 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1816.00.1'
20240923@074626.4533 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.4548 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074626.4574 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.4588 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074626.4597 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074626.4609 3c81lvfgi9im0ju6j10b92og5c Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2400199200a'
20240923@074626.4623 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.4637 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074626.4648 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f107572366f10ec270','aut66f108029966f10ec1c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074626.4653 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.4667 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074626.4694 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f107572366f10ec270',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66f108029966f10ec1c2' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240923@074626.4962 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.4977 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074626.5001 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.5016 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074626.5024 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074626.5036 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.5051 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074626.5063 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f106428666f10ec27a','aut66f108029966f10ec1c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074626.5067 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.5081 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074626.5109 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66f106428666f10ec27a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66f108029966f10ec1c2' ,0,0 ,2,23.00,50000,?,?,?)
20240923@074626.5358 3c81lvfgi9im0ju6j10b92og5c Query : use flama_phc
20240923@074626.5361 3c81lvfgi9im0ju6j10b92og5c Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20240923@074626.5379 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1816.00.1'
20240923@074626.5396 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.5411 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074626.5435 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.5449 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074626.5458 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074626.5469 3c81lvfgi9im0ju6j10b92og5c Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2400199200a'
20240923@074626.5482 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.5497 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074626.5508 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f106315166f10ec285','aut66f108029966f10ec1c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074626.5512 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.5527 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074626.5556 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f106315166f10ec285',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66f108029966f10ec1c2' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240923@074626.5823 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.5839 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074626.5867 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.5881 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074626.5900 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074626.5912 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.5927 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074626.5938 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f101363866f10ec290','aut66f108029966f10ec1c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074626.5942 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.5956 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074626.5982 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66f101363866f10ec290',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66f108029966f10ec1c2' ,0,0 ,2,23.00,80000,?,?,?)
20240923@074626.6229 3c81lvfgi9im0ju6j10b92og5c Query : use flama_phc
20240923@074626.6233 3c81lvfgi9im0ju6j10b92og5c Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20240923@074626.6260 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1816.00.1'
20240923@074626.6274 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.6289 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074626.6314 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.6329 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074626.6338 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074626.6351 3c81lvfgi9im0ju6j10b92og5c Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2400199200a'
20240923@074626.6364 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.6378 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074626.6390 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f105510166f10ec29b','aut66f108029966f10ec1c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074626.6394 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.6409 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074626.6437 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f105510166f10ec29b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66f108029966f10ec1c2' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20240923@074626.6693 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.6709 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074626.6732 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.6747 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074626.6755 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074626.6767 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.6783 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074626.6795 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f102142266f10ec2a5','aut66f108029966f10ec1c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074626.6799 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.6857 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074626.7976 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66f102142266f10ec2a5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66f108029966f10ec1c2' ,0,0 ,2,23.00,110000,?,?,?)
20240923@074626.8226 3c81lvfgi9im0ju6j10b92og5c Query : use flama_phc
20240923@074626.8229 3c81lvfgi9im0ju6j10b92og5c Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20240923@074626.8248 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1816.00.1'
20240923@074626.8261 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.8277 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074626.8302 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.8316 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074626.8325 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074626.8337 3c81lvfgi9im0ju6j10b92og5c Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2400199200a'
20240923@074626.8349 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.8363 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074626.8375 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f109193566f10ec2cb','aut66f108029966f10ec1c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074626.8379 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.8393 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074626.8421 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f109193566f10ec2cb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66f108029966f10ec1c2' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20240923@074626.8660 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.8675 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074626.8700 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.8717 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074626.8725 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074626.8738 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.8752 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074626.8763 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f100204366f10ec2d5','aut66f108029966f10ec1c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074626.8767 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.8781 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074626.8809 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66f100204366f10ec2d5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66f108029966f10ec1c2' ,0,0 ,2,23.00,140000,?,?,?)
20240923@074626.9030 3c81lvfgi9im0ju6j10b92og5c Query : use flama_phc
20240923@074626.9033 3c81lvfgi9im0ju6j10b92og5c Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20240923@074626.9052 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1816.00.1'
20240923@074626.9065 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.9079 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074626.9103 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.9117 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074626.9125 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074626.9137 3c81lvfgi9im0ju6j10b92og5c Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2400199200a'
20240923@074626.9148 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.9163 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074626.9174 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f103296966f10ec2df','aut66f108029966f10ec1c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074626.9178 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.9192 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074626.9220 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f103296966f10ec2df',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66f108029966f10ec1c2' ,0,0 ,2,23.00,160000,?,?,?,?,?)
20240923@074626.9457 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.9471 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074626.9497 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.9511 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074626.9520 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074626.9532 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.9546 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074626.9557 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f108264166f10ec2e8','aut66f108029966f10ec1c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074626.9561 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.9574 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074626.9601 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66f108264166f10ec2e8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66f108029966f10ec1c2' ,0,0 ,2,23.00,170000,?,?,?)
20240923@074626.9829 3c81lvfgi9im0ju6j10b92og5c Query : use flama_phc
20240923@074626.9832 3c81lvfgi9im0ju6j10b92og5c Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20240923@074626.9849 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1816.00.1'
20240923@074626.9862 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.9876 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074626.9899 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.9912 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074626.9920 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074626.9931 3c81lvfgi9im0ju6j10b92og5c Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2400199200a'
20240923@074626.9942 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.9955 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074626.9968 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f100846966f10ec2f2','aut66f108029966f10ec1c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074626.9972 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074626.9985 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074627.1100 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f100846966f10ec2f2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66f108029966f10ec1c2' ,0,0 ,2,23.00,190000,?,?,?,?,?)
20240923@074627.2600 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.2740 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074627.2980 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.3130 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074627.3210 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074627.3330 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.3460 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074627.3570 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f102466666f10ec308','aut66f108029966f10ec1c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074627.3610 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.3750 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074627.4010 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66f102466666f10ec308',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66f108029966f10ec1c2' ,0,0 ,2,23.00,200000,?,?,?)
20240923@074627.6330 3c81lvfgi9im0ju6j10b92og5c Query : use flama_phc
20240923@074627.6360 3c81lvfgi9im0ju6j10b92og5c Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20240923@074627.6530 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1816.00.1'
20240923@074627.6660 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.6800 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074627.7040 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.7180 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074627.7260 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074627.7370 3c81lvfgi9im0ju6j10b92og5c Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2400199200a'
20240923@074627.7490 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.7630 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074627.7730 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f103970766f10ec312','aut66f108029966f10ec1c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074627.7770 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.7910 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074627.8170 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f103970766f10ec312',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66f108029966f10ec1c2' ,0,0 ,2,23.00,220000,?,?,?,?,?)
20240923@074627.1049 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.1063 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074627.1087 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.1100 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074627.1109 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074627.1121 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.1135 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074627.1146 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f103937866f10ec31b','aut66f108029966f10ec1c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074627.1150 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.1164 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074627.1191 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66f103937866f10ec31b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66f108029966f10ec1c2' ,0,0 ,2,23.00,230000,?,?,?)
20240923@074627.1418 3c81lvfgi9im0ju6j10b92og5c Query : use flama_phc
20240923@074627.1421 3c81lvfgi9im0ju6j10b92og5c Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20240923@074627.1439 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1816.00.1'
20240923@074627.1452 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.1467 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074627.1491 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.1504 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074627.1512 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074627.1524 3c81lvfgi9im0ju6j10b92og5c Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2400199200a'
20240923@074627.1535 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.1549 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074627.1560 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f105602366f10ec325','aut66f108029966f10ec1c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074627.1563 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.1577 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074627.1602 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f105602366f10ec325',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66f108029966f10ec1c2' ,0,0 ,2,23.00,250000,?,?,?,?,?)
20240923@074627.1829 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.1843 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074627.1868 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.1882 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074627.1890 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074627.1902 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.1915 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074627.1926 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f103207966f10ec32e','aut66f108029966f10ec1c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074627.1930 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.1943 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074627.1970 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66f103207966f10ec32e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66f108029966f10ec1c2' ,0,0 ,2,23.00,260000,?,?,?)
20240923@074627.2197 3c81lvfgi9im0ju6j10b92og5c Query : use flama_phc
20240923@074627.2200 3c81lvfgi9im0ju6j10b92og5c Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20240923@074627.2218 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1816.00.1'
20240923@074627.2231 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.2246 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074627.2270 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.2284 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074627.2293 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074627.2304 3c81lvfgi9im0ju6j10b92og5c Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2400199200a'
20240923@074627.2318 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.2332 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074627.2344 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f108511966f10ec338','aut66f108029966f10ec1c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074627.2348 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.2361 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074627.2389 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f108511966f10ec338',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66f108029966f10ec1c2' ,0,0 ,2,23.00,280000,?,?,?,?,?)
20240923@074627.2632 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.2647 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074627.2671 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.2685 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074627.2693 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074627.2705 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.2719 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074627.2730 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f109196666f10ec342','aut66f108029966f10ec1c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074627.2734 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.2748 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074627.2776 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66f109196666f10ec342',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66f108029966f10ec1c2' ,0,0 ,2,23.00,290000,?,?,?)
20240923@074627.3004 3c81lvfgi9im0ju6j10b92og5c Query : use flama_phc
20240923@074627.3007 3c81lvfgi9im0ju6j10b92og5c Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20240923@074627.3025 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1816.00.1'
20240923@074627.3038 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.3052 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074627.3077 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.3091 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074627.3100 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074627.3112 3c81lvfgi9im0ju6j10b92og5c Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2400199200a'
20240923@074627.3125 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.3140 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074627.3151 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f106447666f10ec34c','aut66f108029966f10ec1c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074627.3155 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.3168 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074627.3195 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f106447666f10ec34c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66f108029966f10ec1c2' ,0,0 ,2,23.00,310000,?,?,?,?,?)
20240923@074627.3431 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.3448 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074627.3473 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.3487 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074627.3495 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074627.3507 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.3523 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074627.3534 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f100975566f10ec355','aut66f108029966f10ec1c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074627.3538 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.3552 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074627.4710 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66f100975566f10ec355',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66f108029966f10ec1c2' ,0,0 ,2,23.00,320000,?,?,?)
20240923@074627.4964 3c81lvfgi9im0ju6j10b92og5c Query : use flama_phc
20240923@074627.4967 3c81lvfgi9im0ju6j10b92og5c Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20240923@074627.4987 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1816.00.1'
20240923@074627.5000 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.5016 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074627.5041 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.5055 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074627.5064 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074627.5076 3c81lvfgi9im0ju6j10b92og5c Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2400199200a'
20240923@074627.5089 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.5103 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074627.5114 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f109550066f10ec37c','aut66f108029966f10ec1c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074627.5118 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.5132 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074627.5160 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f109550066f10ec37c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66f108029966f10ec1c2' ,0,0 ,2,23.00,340000,?,?,?,?,?)
20240923@074627.5386 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.5401 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074627.5426 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.5440 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074627.5448 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074627.5461 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.5475 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074627.5486 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f105153366f10ec385','aut66f108029966f10ec1c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074627.5490 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.5504 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074627.5531 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66f105153366f10ec385',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66f108029966f10ec1c2' ,0,0 ,2,23.00,350000,?,?,?)
20240923@074627.5748 3c81lvfgi9im0ju6j10b92og5c Query : use flama_phc
20240923@074627.5751 3c81lvfgi9im0ju6j10b92og5c Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20240923@074627.5770 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1816.00.1'
20240923@074627.5783 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.5798 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074627.5823 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.5837 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074627.5845 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074627.5857 3c81lvfgi9im0ju6j10b92og5c Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2400199200a'
20240923@074627.5870 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.5884 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074627.5895 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f103346466f10ec38f','aut66f108029966f10ec1c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074627.5899 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.5913 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074627.5942 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f103346466f10ec38f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66f108029966f10ec1c2' ,0,0 ,2,23.00,370000,?,?,?,?,?)
20240923@074627.6180 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.6196 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074627.6223 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.6237 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074627.6245 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074627.6258 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.6273 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074627.6286 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f104425166f10ec398','aut66f108029966f10ec1c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074627.6290 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.6305 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074627.6333 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66f104425166f10ec398',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66f108029966f10ec1c2' ,0,0 ,2,23.00,380000,?,?,?)
20240923@074627.6552 3c81lvfgi9im0ju6j10b92og5c Query : use flama_phc
20240923@074627.6555 3c81lvfgi9im0ju6j10b92og5c Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20240923@074627.6574 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1816.00.1'
20240923@074627.6587 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.6602 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074627.6627 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.6642 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074627.6650 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074627.6662 3c81lvfgi9im0ju6j10b92og5c Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2400199200a'
20240923@074627.6675 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.6690 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074627.6702 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f100794066f10ec3a2','aut66f108029966f10ec1c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074627.6706 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.6720 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074627.6747 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f100794066f10ec3a2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66f108029966f10ec1c2' ,0,0 ,2,23.00,400000,?,?,?,?,?)
20240923@074627.6971 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.6986 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074627.7010 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.7024 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074627.7031 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074627.7043 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.7056 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074627.7067 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f103263966f10ec3ab','aut66f108029966f10ec1c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074627.7079 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.7093 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074627.7120 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66f103263966f10ec3ab',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66f108029966f10ec1c2' ,0,0 ,2,23.00,410000,?,?,?)
20240923@074627.7342 3c81lvfgi9im0ju6j10b92og5c Query : use flama_phc
20240923@074627.7345 3c81lvfgi9im0ju6j10b92og5c Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20240923@074627.7363 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1816.00.1'
20240923@074627.7377 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.7390 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074627.7414 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.7428 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074627.7436 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074627.7447 3c81lvfgi9im0ju6j10b92og5c Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2400199200a'
20240923@074627.7462 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.7475 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074627.7486 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f101437166f10ec3b6','aut66f108029966f10ec1c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074627.7490 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.7503 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074627.7529 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f101437166f10ec3b6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66f108029966f10ec1c2' ,0,0 ,2,23.00,430000,?,?,?,?,?)
20240923@074627.8037 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.8056 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074627.8081 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.8095 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074627.8104 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074627.8355 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.8606 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074627.8813 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f107677066f10ec3cb','aut66f108029966f10ec1c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074627.8856 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074627.9106 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074627.9726 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66f107677066f10ec3cb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66f108029966f10ec1c2' ,0,0 ,2,23.00,440000,?,?,?)
20240923@074628.3100 3c81lvfgi9im0ju6j10b92og5c Query : use flama_phc
20240923@074628.3520 3c81lvfgi9im0ju6j10b92og5c Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20240923@074628.1164 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1816.00.1'
20240923@074628.2020 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074628.2273 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074628.2521 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074628.2586 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074628.2661 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074628.2770 3c81lvfgi9im0ju6j10b92og5c Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2400199200a'
20240923@074628.2887 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074628.2959 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074628.2971 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f100148566f10ec446','aut66f108029966f10ec1c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074628.2975 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074628.2991 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074628.3019 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f100148566f10ec446',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66f108029966f10ec1c2' ,0,0 ,2,23.00,460000,?,?,?,?,?)
20240923@074628.3276 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074628.3295 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074628.3320 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074628.3334 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074628.3342 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074628.3353 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074628.3366 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074628.3382 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f101504966f10ec451','aut66f108029966f10ec1c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074628.3386 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074628.3401 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074628.3428 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66f101504966f10ec451',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66f108029966f10ec1c2' ,0,0 ,2,23.00,470000,?,?,?)
20240923@074628.3660 3c81lvfgi9im0ju6j10b92og5c Query : use flama_phc
20240923@074628.3663 3c81lvfgi9im0ju6j10b92og5c Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20240923@074628.3680 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1816.00.1'
20240923@074628.3693 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074628.3707 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074628.3733 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074628.3748 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074628.3756 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074628.3767 3c81lvfgi9im0ju6j10b92og5c Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2400199200a'
20240923@074628.3779 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074628.3793 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074628.3804 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f101198166f10ec45c','aut66f108029966f10ec1c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074628.3807 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074628.3821 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074628.3847 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f101198166f10ec45c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66f108029966f10ec1c2' ,0,0 ,2,23.00,490000,?,?,?,?,?)
20240923@074628.4369 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074628.4386 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074628.4411 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074628.4426 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074628.4435 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074628.4568 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074628.4819 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074628.5027 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f109150866f10ec46f','aut66f108029966f10ec1c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074628.5070 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074628.5322 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074628.5940 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66f109150866f10ec46f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66f108029966f10ec1c2' ,0,0 ,2,23.00,500000,?,?,?)
20240923@074628.6535 3c81lvfgi9im0ju6j10b92og5c Query : use flama_phc
20240923@074628.6577 3c81lvfgi9im0ju6j10b92og5c Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20240923@074628.6908 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1816.00.1'
20240923@074628.7156 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074628.7409 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074628.8866 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074628.8885 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074628.8896 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074628.8914 3c81lvfgi9im0ju6j10b92og5c Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2400199200a'
20240923@074628.8929 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074628.8950 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074628.8996 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f107556366f10ec4da','aut66f108029966f10ec1c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074628.9018 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074628.9102 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074628.9287 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f107556366f10ec4da',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66f108029966f10ec1c2' ,0,0 ,2,23.00,520000,?,?,?,?,?)
20240923@074628.9684 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074628.9703 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074628.9734 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074628.9749 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074628.9758 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074628.9771 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074628.9787 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074628.9799 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f107948766f10ec4ee','aut66f108029966f10ec1c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074628.9804 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074628.9819 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074628.9859 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66f107948766f10ec4ee',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66f108029966f10ec1c2' ,0,0 ,2,23.00,530000,?,?,?)
20240923@074629.1040 3c81lvfgi9im0ju6j10b92og5c Query : use flama_phc
20240923@074629.1080 3c81lvfgi9im0ju6j10b92og5c Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20240923@074629.1300 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1816.00.1'
20240923@074629.1460 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074629.1630 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074629.1930 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074629.2100 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074629.2200 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074629.2340 3c81lvfgi9im0ju6j10b92og5c Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2400199200a'
20240923@074629.2490 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074629.2660 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074629.2790 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f107162066f10ec506','aut66f108029966f10ec1c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074629.2830 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074629.3000 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074629.3330 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f107162066f10ec506',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66f108029966f10ec1c2' ,0,0 ,2,23.00,550000,?,?,?,?,?)
20240923@074629.5660 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074629.5820 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074629.6100 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074629.6250 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074629.6340 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074629.6480 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074629.6640 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074629.6760 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f105028266f10ec50f','aut66f108029966f10ec1c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074629.6800 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074629.6960 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074629.7270 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66f105028266f10ec50f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66f108029966f10ec1c2' ,0,0 ,2,23.00,560000,?,?,?)
20240923@074629.9380 3c81lvfgi9im0ju6j10b92og5c Query : use flama_phc
20240923@074629.9420 3c81lvfgi9im0ju6j10b92og5c Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20240923@074629.9630 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1816.00.1'
20240923@074629.9780 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074629.9950 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074629.1025 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074629.1041 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074629.1050 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074629.1063 3c81lvfgi9im0ju6j10b92og5c Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2400199200a'
20240923@074629.1076 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074629.1091 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074629.1104 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f103049766f10ec51a','aut66f108029966f10ec1c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074629.1108 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074629.1123 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074629.1153 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f103049766f10ec51a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66f108029966f10ec1c2' ,0,0 ,2,23.00,580000,?,?,?,?,?)
20240923@074629.1387 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074629.1404 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074629.1434 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074629.1451 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074629.1461 3c81lvfgi9im0ju6j10b92og5c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074629.1474 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074629.1491 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074629.1504 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f103793566f10ec524','aut66f108029966f10ec1c2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074629.1509 3c81lvfgi9im0ju6j10b92og5c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074629.1525 3c81lvfgi9im0ju6j10b92og5c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074629.1558 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66f103793566f10ec524',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66f108029966f10ec1c2' ,0,0 ,2,23.00,590000,?,?,?)
20240923@074629.1777 3c81lvfgi9im0ju6j10b92og5c Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66f108029966f10ec1c2','2406046','wait',39,'adm09112754980.682000002')
20240923@074629.1901 3c81lvfgi9im0ju6j10b92og5c Query : use flama_phc
20240923@074629.1905 3c81lvfgi9im0ju6j10b92og5c Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240923@074629.1940 3c81lvfgi9im0ju6j10b92og5c Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2107';
20240923@074629.1972 3c81lvfgi9im0ju6j10b92og5c Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2107';
20240923@074629.2013 3c81lvfgi9im0ju6j10b92og5c Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2107';
20240923@074629.2041 3c81lvfgi9im0ju6j10b92og5c Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2107';
20240923@074629.2626 lct09m6kut3s3kk3e6hd47rbau Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240923@074629.2639 lct09m6kut3s3kk3e6hd47rbau Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240923@074629.2696 lct09m6kut3s3kk3e6hd47rbau Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2108';
20240923@074629.2748 lct09m6kut3s3kk3e6hd47rbau Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2108';
20240923@074629.2800 lct09m6kut3s3kk3e6hd47rbau Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2108';
20240923@074629.2825 lct09m6kut3s3kk3e6hd47rbau Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2108';
20240923@074629.2876 lct09m6kut3s3kk3e6hd47rbau Query : use flama_phc
20240923@074629.2879 lct09m6kut3s3kk3e6hd47rbau Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240923@074629.2950 lct09m6kut3s3kk3e6hd47rbau Query : use flama_phc
20240923@074629.2953 lct09m6kut3s3kk3e6hd47rbau Query : select no, estab,szadrsdesc from szadrs where u_coddest=6917
20240923@074629.3041 lct09m6kut3s3kk3e6hd47rbau Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.600.94.01'
20240923@074629.3196 lct09m6kut3s3kk3e6hd47rbau Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406047 and bi.ref ='324.600.94.01' and bi.lordem =1
20240923@074629.3495 lct09m6kut3s3kk3e6hd47rbau Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2000.94.1'
20240923@074629.3635 lct09m6kut3s3kk3e6hd47rbau Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406047 and bi.ref ='324.2000.94.1' and bi.lordem =2
20240923@074629.3922 lct09m6kut3s3kk3e6hd47rbau Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.900.94.01'
20240923@074629.4060 lct09m6kut3s3kk3e6hd47rbau Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406047 and bi.ref ='324.900.94.01' and bi.lordem =3
20240923@074629.4500 lct09m6kut3s3kk3e6hd47rbau Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.900.94.01'
20240923@074629.4520 lct09m6kut3s3kk3e6hd47rbau Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406047 and bi.ref ='324.900.94.01' and bi.lordem =3
20240923@074629.4536 lct09m6kut3s3kk3e6hd47rbau Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.700.94.01'
20240923@074629.4674 lct09m6kut3s3kk3e6hd47rbau Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406047 and bi.ref ='324.700.94.01' and bi.lordem =4
20240923@074629.4968 lct09m6kut3s3kk3e6hd47rbau Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2200.94.1'
20240923@074629.5120 lct09m6kut3s3kk3e6hd47rbau Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406047 and bi.ref ='324.2200.94.1' and bi.lordem =5
20240923@074629.5418 lct09m6kut3s3kk3e6hd47rbau Query : use flama_phc
20240923@074629.5421 lct09m6kut3s3kk3e6hd47rbau Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240923@074629.5453 lct09m6kut3s3kk3e6hd47rbau Query : use flama_phc
20240923@074629.5456 lct09m6kut3s3kk3e6hd47rbau Query : select top 1 1 valor from td where td.ndoc = 39
20240923@074629.5484 lct09m6kut3s3kk3e6hd47rbau Query : use flama_phc
20240923@074629.5487 lct09m6kut3s3kk3e6hd47rbau 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')
20240923@074629.5514 lct09m6kut3s3kk3e6hd47rbau 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
20240923@074629.5547 lct09m6kut3s3kk3e6hd47rbau Query : use flama_phc
20240923@074629.5550 lct09m6kut3s3kk3e6hd47rbau Query : select top 1 ~inactivo valor from cl where no = '199800' and estab = 0 order by inactivo desc
20240923@074629.5664 lct09m6kut3s3kk3e6hd47rbau Query : use flama_phc
20240923@074629.5667 lct09m6kut3s3kk3e6hd47rbau Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240923@074629.5696 lct09m6kut3s3kk3e6hd47rbau Query : use flama_phc
20240923@074629.5699 lct09m6kut3s3kk3e6hd47rbau Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240923@074629.5738 lct09m6kut3s3kk3e6hd47rbau Query : use flama_phc
20240923@074629.5740 lct09m6kut3s3kk3e6hd47rbau Query : select szadrsstamp valor from szadrs where szadrsdesc='740 ent vnr bligeiro'
20240923@074629.5785 lct09m6kut3s3kk3e6hd47rbau Query : use flama_phc
20240923@074629.5788 lct09m6kut3s3kk3e6hd47rbau Query : select 1 valor from td where ndoc = 39
20240923@074629.5801 lct09m6kut3s3kk3e6hd47rbau Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240923@074629.5815 lct09m6kut3s3kk3e6hd47rbau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074629.5830 lct09m6kut3s3kk3e6hd47rbau Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240923@074629.5849 lct09m6kut3s3kk3e6hd47rbau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074629.5864 lct09m6kut3s3kk3e6hd47rbau Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240923@074629.5891 lct09m6kut3s3kk3e6hd47rbau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074629.5905 lct09m6kut3s3kk3e6hd47rbau Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240923@074629.5919 lct09m6kut3s3kk3e6hd47rbau Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240923@074629.5986 lct09m6kut3s3kk3e6hd47rbau Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240923@074629.6000 lct09m6kut3s3kk3e6hd47rbau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074629.6016 lct09m6kut3s3kk3e6hd47rbau Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240923@074629.6032 lct09m6kut3s3kk3e6hd47rbau Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66f100586066f10ec590' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240923@074629.6216 lct09m6kut3s3kk3e6hd47rbau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074629.6232 lct09m6kut3s3kk3e6hd47rbau Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240923@074629.6264 lct09m6kut3s3kk3e6hd47rbau Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240923@074629.6275 lct09m6kut3s3kk3e6hd47rbau Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240923@074629.6287 lct09m6kut3s3kk3e6hd47rbau Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240923@074629.6298 lct09m6kut3s3kk3e6hd47rbau Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240923@074629.6309 lct09m6kut3s3kk3e6hd47rbau Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240923@074629.6320 lct09m6kut3s3kk3e6hd47rbau Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240923@074629.6331 lct09m6kut3s3kk3e6hd47rbau Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66f100586066f10ec590',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240923@074629.6555 lct09m6kut3s3kk3e6hd47rbau Query : select top 1 fno valor from wsftdata order by fno desc
20240923@074629.6573 lct09m6kut3s3kk3e6hd47rbau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074629.6588 lct09m6kut3s3kk3e6hd47rbau Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240923@074629.6628 lct09m6kut3s3kk3e6hd47rbau Query : select 'normal' from dummy
20240923@074629.6645 lct09m6kut3s3kk3e6hd47rbau Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66f100586066f10ec590',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',841,199800,0,'2024-09-23',39,'euro',0,0,2024 ,?,?)
20240923@074629.7003 lct09m6kut3s3kk3e6hd47rbau Query : use flama_phc
20240923@074629.7006 lct09m6kut3s3kk3e6hd47rbau Query : select st.usalote valor from st where st.ref = '324.600.94.01'
20240923@074629.7030 lct09m6kut3s3kk3e6hd47rbau Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.600.94.01'
20240923@074629.7167 lct09m6kut3s3kk3e6hd47rbau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074629.7184 lct09m6kut3s3kk3e6hd47rbau Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074629.7212 lct09m6kut3s3kk3e6hd47rbau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074629.7227 lct09m6kut3s3kk3e6hd47rbau Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074629.7235 lct09m6kut3s3kk3e6hd47rbau Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074629.7250 lct09m6kut3s3kk3e6hd47rbau Query : select sestamp valor from se where ref ='324.600.94.01' and lote = 'r2400047200a'
20240923@074629.7276 lct09m6kut3s3kk3e6hd47rbau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074629.7291 lct09m6kut3s3kk3e6hd47rbau Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074629.7303 lct09m6kut3s3kk3e6hd47rbau Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f105720866f10ec5b1','aut66f100586066f10ec590' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074629.7307 lct09m6kut3s3kk3e6hd47rbau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074629.7321 lct09m6kut3s3kk3e6hd47rbau Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074629.7348 lct09m6kut3s3kk3e6hd47rbau Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f105720866f10ec5b1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66f100586066f10ec590' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240923@074629.7592 lct09m6kut3s3kk3e6hd47rbau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074629.7606 lct09m6kut3s3kk3e6hd47rbau Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074629.7630 lct09m6kut3s3kk3e6hd47rbau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074629.7645 lct09m6kut3s3kk3e6hd47rbau Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074629.7654 lct09m6kut3s3kk3e6hd47rbau Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074629.7665 lct09m6kut3s3kk3e6hd47rbau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074629.7680 lct09m6kut3s3kk3e6hd47rbau Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074629.7692 lct09m6kut3s3kk3e6hd47rbau Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f108413366f10ec5bb','aut66f100586066f10ec590' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074629.7696 lct09m6kut3s3kk3e6hd47rbau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074629.7710 lct09m6kut3s3kk3e6hd47rbau Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074629.7736 lct09m6kut3s3kk3e6hd47rbau Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66f108413366f10ec5bb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66f100586066f10ec590' ,0,0 ,2,23.00,20000,?,?,?)
20240923@074629.7956 lct09m6kut3s3kk3e6hd47rbau Query : use flama_phc
20240923@074629.7959 lct09m6kut3s3kk3e6hd47rbau Query : select st.usalote valor from st where st.ref = '324.2000.94.1'
20240923@074629.7980 lct09m6kut3s3kk3e6hd47rbau Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2000.94.1'
20240923@074629.8116 lct09m6kut3s3kk3e6hd47rbau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074629.8133 lct09m6kut3s3kk3e6hd47rbau Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074629.8161 lct09m6kut3s3kk3e6hd47rbau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074629.8176 lct09m6kut3s3kk3e6hd47rbau Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074629.8186 lct09m6kut3s3kk3e6hd47rbau Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074629.8199 lct09m6kut3s3kk3e6hd47rbau Query : select sestamp valor from se where ref ='324.2000.94.1' and lote = 'r2300916200a'
20240923@074629.8229 lct09m6kut3s3kk3e6hd47rbau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074629.8245 lct09m6kut3s3kk3e6hd47rbau Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074629.8258 lct09m6kut3s3kk3e6hd47rbau Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f108649766f10ec5c8','aut66f100586066f10ec590' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074629.8262 lct09m6kut3s3kk3e6hd47rbau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074629.8277 lct09m6kut3s3kk3e6hd47rbau Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074629.8308 lct09m6kut3s3kk3e6hd47rbau Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f108649766f10ec5c8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66f100586066f10ec590' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240923@074629.8543 lct09m6kut3s3kk3e6hd47rbau Query : use flama_phc
20240923@074629.8547 lct09m6kut3s3kk3e6hd47rbau Query : select st.usalote valor from st where st.ref = '324.900.94.01'
20240923@074629.8571 lct09m6kut3s3kk3e6hd47rbau Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.900.94.01'
20240923@074629.8706 lct09m6kut3s3kk3e6hd47rbau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074629.8725 lct09m6kut3s3kk3e6hd47rbau Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074629.8754 lct09m6kut3s3kk3e6hd47rbau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074629.8769 lct09m6kut3s3kk3e6hd47rbau Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074629.8777 lct09m6kut3s3kk3e6hd47rbau Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074629.8789 lct09m6kut3s3kk3e6hd47rbau Query : select sestamp valor from se where ref ='324.900.94.01' and lote = 'r2300952200a'
20240923@074629.8819 lct09m6kut3s3kk3e6hd47rbau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074629.8834 lct09m6kut3s3kk3e6hd47rbau Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074629.8845 lct09m6kut3s3kk3e6hd47rbau Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f100629266f10ec5d7','aut66f100586066f10ec590' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074629.8849 lct09m6kut3s3kk3e6hd47rbau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074629.8863 lct09m6kut3s3kk3e6hd47rbau Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074629.8891 lct09m6kut3s3kk3e6hd47rbau Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f100629266f10ec5d7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66f100586066f10ec590' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20240923@074629.9124 lct09m6kut3s3kk3e6hd47rbau Query : use flama_phc
20240923@074629.9127 lct09m6kut3s3kk3e6hd47rbau Query : select st.usalote valor from st where st.ref = '324.900.94.01'
20240923@074629.9145 lct09m6kut3s3kk3e6hd47rbau Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.900.94.01'
20240923@074629.9159 lct09m6kut3s3kk3e6hd47rbau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074629.9174 lct09m6kut3s3kk3e6hd47rbau Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074629.9199 lct09m6kut3s3kk3e6hd47rbau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074629.9213 lct09m6kut3s3kk3e6hd47rbau Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074629.9221 lct09m6kut3s3kk3e6hd47rbau Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074629.9233 lct09m6kut3s3kk3e6hd47rbau Query : select sestamp valor from se where ref ='324.900.94.01' and lote = 'r2300952200a'
20240923@074629.9245 lct09m6kut3s3kk3e6hd47rbau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074629.9260 lct09m6kut3s3kk3e6hd47rbau Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074629.9271 lct09m6kut3s3kk3e6hd47rbau Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f104945966f10ec5e1','aut66f100586066f10ec590' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074629.9275 lct09m6kut3s3kk3e6hd47rbau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074629.9289 lct09m6kut3s3kk3e6hd47rbau Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074629.9317 lct09m6kut3s3kk3e6hd47rbau Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f104945966f10ec5e1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66f100586066f10ec590' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20240923@074629.9539 lct09m6kut3s3kk3e6hd47rbau Query : use flama_phc
20240923@074629.9542 lct09m6kut3s3kk3e6hd47rbau Query : select st.usalote valor from st where st.ref = '324.700.94.01'
20240923@074629.9561 lct09m6kut3s3kk3e6hd47rbau Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.700.94.01'
20240923@074629.9694 lct09m6kut3s3kk3e6hd47rbau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074629.9709 lct09m6kut3s3kk3e6hd47rbau Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074629.9733 lct09m6kut3s3kk3e6hd47rbau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074629.9747 lct09m6kut3s3kk3e6hd47rbau Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074629.9755 lct09m6kut3s3kk3e6hd47rbau Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074629.9766 lct09m6kut3s3kk3e6hd47rbau Query : select sestamp valor from se where ref ='324.700.94.01' and lote = 'r2300913100a'
20240923@074629.9779 lct09m6kut3s3kk3e6hd47rbau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074629.9792 lct09m6kut3s3kk3e6hd47rbau Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074629.9803 lct09m6kut3s3kk3e6hd47rbau Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f105048866f10ec5ee','aut66f100586066f10ec590' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074629.9806 lct09m6kut3s3kk3e6hd47rbau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074629.9820 lct09m6kut3s3kk3e6hd47rbau Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074629.9846 lct09m6kut3s3kk3e6hd47rbau Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f105048866f10ec5ee',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66f100586066f10ec590' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240923@074630.8100 lct09m6kut3s3kk3e6hd47rbau Query : use flama_phc
20240923@074630.8400 lct09m6kut3s3kk3e6hd47rbau Query : select st.usalote valor from st where st.ref = '324.2200.94.1'
20240923@074630.1020 lct09m6kut3s3kk3e6hd47rbau Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2200.94.1'
20240923@074630.2300 lct09m6kut3s3kk3e6hd47rbau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074630.2440 lct09m6kut3s3kk3e6hd47rbau Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074630.2680 lct09m6kut3s3kk3e6hd47rbau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074630.2810 lct09m6kut3s3kk3e6hd47rbau Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074630.2900 lct09m6kut3s3kk3e6hd47rbau Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074630.3020 lct09m6kut3s3kk3e6hd47rbau Query : select sestamp valor from se where ref ='324.2200.94.1' and lote = 'r2400046200a'
20240923@074630.3160 lct09m6kut3s3kk3e6hd47rbau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074630.3290 lct09m6kut3s3kk3e6hd47rbau Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074630.3400 lct09m6kut3s3kk3e6hd47rbau Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f104484766f10ec607','aut66f100586066f10ec590' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074630.3440 lct09m6kut3s3kk3e6hd47rbau Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074630.3600 lct09m6kut3s3kk3e6hd47rbau Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074630.3870 lct09m6kut3s3kk3e6hd47rbau Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f104484766f10ec607',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut66f100586066f10ec590' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20240923@074630.6310 lct09m6kut3s3kk3e6hd47rbau Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66f100586066f10ec590','2406047','wait',39,'adm09112754980.682000002')
20240923@074630.7070 lct09m6kut3s3kk3e6hd47rbau Query : use flama_phc
20240923@074630.7100 lct09m6kut3s3kk3e6hd47rbau Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240923@074630.7470 lct09m6kut3s3kk3e6hd47rbau Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2108';
20240923@074630.7750 lct09m6kut3s3kk3e6hd47rbau Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2108';
20240923@074630.8180 lct09m6kut3s3kk3e6hd47rbau Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2108';
20240923@074630.8430 lct09m6kut3s3kk3e6hd47rbau Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2108';
20240923@074630.1307 mdikn05ljrtd33toa6cvfmepbi Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240923@074630.1319 mdikn05ljrtd33toa6cvfmepbi Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240923@074630.1371 mdikn05ljrtd33toa6cvfmepbi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2109';
20240923@074630.1422 mdikn05ljrtd33toa6cvfmepbi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2109';
20240923@074630.1477 mdikn05ljrtd33toa6cvfmepbi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2109';
20240923@074630.1504 mdikn05ljrtd33toa6cvfmepbi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2109';
20240923@074630.1556 mdikn05ljrtd33toa6cvfmepbi Query : use flama_phc
20240923@074630.1559 mdikn05ljrtd33toa6cvfmepbi Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240923@074630.1627 mdikn05ljrtd33toa6cvfmepbi Query : use flama_phc
20240923@074630.1630 mdikn05ljrtd33toa6cvfmepbi Query : select no, estab,szadrsdesc from szadrs where u_coddest=4804
20240923@074630.1716 mdikn05ljrtd33toa6cvfmepbi Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2232.00.1'
20240923@074630.1867 mdikn05ljrtd33toa6cvfmepbi Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406059 and bi.ref ='324.2232.00.1' and bi.lordem =1
20240923@074630.2198 mdikn05ljrtd33toa6cvfmepbi Query : use flama_phc
20240923@074630.2201 mdikn05ljrtd33toa6cvfmepbi Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240923@074630.3347 mdikn05ljrtd33toa6cvfmepbi Query : use flama_phc
20240923@074630.3352 mdikn05ljrtd33toa6cvfmepbi Query : select top 1 1 valor from td where td.ndoc = 39
20240923@074630.3382 mdikn05ljrtd33toa6cvfmepbi Query : use flama_phc
20240923@074630.3385 mdikn05ljrtd33toa6cvfmepbi 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')
20240923@074630.3414 mdikn05ljrtd33toa6cvfmepbi 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
20240923@074630.3447 mdikn05ljrtd33toa6cvfmepbi Query : use flama_phc
20240923@074630.3450 mdikn05ljrtd33toa6cvfmepbi Query : select top 1 ~inactivo valor from cl where no = '101900' and estab = 0 order by inactivo desc
20240923@074630.3568 mdikn05ljrtd33toa6cvfmepbi Query : use flama_phc
20240923@074630.3571 mdikn05ljrtd33toa6cvfmepbi Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240923@074630.3601 mdikn05ljrtd33toa6cvfmepbi Query : use flama_phc
20240923@074630.3604 mdikn05ljrtd33toa6cvfmepbi Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240923@074630.3647 mdikn05ljrtd33toa6cvfmepbi Query : use flama_phc
20240923@074630.3650 mdikn05ljrtd33toa6cvfmepbi Query : select szadrsstamp valor from szadrs where szadrsdesc='101900 - pd - alfena n/p'
20240923@074630.3698 mdikn05ljrtd33toa6cvfmepbi Query : use flama_phc
20240923@074630.3701 mdikn05ljrtd33toa6cvfmepbi Query : select 1 valor from td where ndoc = 39
20240923@074630.3715 mdikn05ljrtd33toa6cvfmepbi Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240923@074630.3730 mdikn05ljrtd33toa6cvfmepbi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074630.3758 mdikn05ljrtd33toa6cvfmepbi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240923@074630.3800 mdikn05ljrtd33toa6cvfmepbi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074630.3817 mdikn05ljrtd33toa6cvfmepbi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240923@074630.3847 mdikn05ljrtd33toa6cvfmepbi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074630.3861 mdikn05ljrtd33toa6cvfmepbi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240923@074630.3874 mdikn05ljrtd33toa6cvfmepbi Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240923@074630.3962 mdikn05ljrtd33toa6cvfmepbi Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240923@074630.3976 mdikn05ljrtd33toa6cvfmepbi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074630.3992 mdikn05ljrtd33toa6cvfmepbi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240923@074630.4007 mdikn05ljrtd33toa6cvfmepbi Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66f107351166f10ec65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240923@074630.4180 mdikn05ljrtd33toa6cvfmepbi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074630.4197 mdikn05ljrtd33toa6cvfmepbi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240923@074630.4275 mdikn05ljrtd33toa6cvfmepbi Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240923@074630.4288 mdikn05ljrtd33toa6cvfmepbi Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240923@074630.4302 mdikn05ljrtd33toa6cvfmepbi Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240923@074630.4314 mdikn05ljrtd33toa6cvfmepbi Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240923@074630.4326 mdikn05ljrtd33toa6cvfmepbi Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240923@074630.4339 mdikn05ljrtd33toa6cvfmepbi Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240923@074630.4350 mdikn05ljrtd33toa6cvfmepbi Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66f107351166f10ec65e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240923@074630.4582 mdikn05ljrtd33toa6cvfmepbi Query : select top 1 fno valor from wsftdata order by fno desc
20240923@074630.4602 mdikn05ljrtd33toa6cvfmepbi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074630.4618 mdikn05ljrtd33toa6cvfmepbi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240923@074630.4643 mdikn05ljrtd33toa6cvfmepbi Query : select 'normal' from dummy
20240923@074630.4659 mdikn05ljrtd33toa6cvfmepbi Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66f107351166f10ec65e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',842,101900,0,'2024-09-23',39,'euro',0,0,2024 ,?,?)
20240923@074630.4931 mdikn05ljrtd33toa6cvfmepbi Query : use flama_phc
20240923@074630.4934 mdikn05ljrtd33toa6cvfmepbi Query : select st.usalote valor from st where st.ref = '324.2232.00.1'
20240923@074630.4956 mdikn05ljrtd33toa6cvfmepbi Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2232.00.1'
20240923@074630.5097 mdikn05ljrtd33toa6cvfmepbi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074630.5115 mdikn05ljrtd33toa6cvfmepbi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074630.5144 mdikn05ljrtd33toa6cvfmepbi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074630.5160 mdikn05ljrtd33toa6cvfmepbi Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074630.5170 mdikn05ljrtd33toa6cvfmepbi Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074630.5183 mdikn05ljrtd33toa6cvfmepbi Query : select sestamp valor from se where ref ='324.2232.00.1' and lote = 'r2400241100a'
20240923@074630.5227 mdikn05ljrtd33toa6cvfmepbi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074630.5243 mdikn05ljrtd33toa6cvfmepbi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074630.5256 mdikn05ljrtd33toa6cvfmepbi Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f105253766f10ec67f','aut66f107351166f10ec65e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074630.5261 mdikn05ljrtd33toa6cvfmepbi Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074630.5276 mdikn05ljrtd33toa6cvfmepbi Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074630.5305 mdikn05ljrtd33toa6cvfmepbi Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f105253766f10ec67f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66f107351166f10ec65e' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240923@074630.5547 mdikn05ljrtd33toa6cvfmepbi Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66f107351166f10ec65e','2406059','wait',39,'adm09112754980.682000002')
20240923@074630.5625 mdikn05ljrtd33toa6cvfmepbi Query : use flama_phc
20240923@074630.5629 mdikn05ljrtd33toa6cvfmepbi Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240923@074630.5661 mdikn05ljrtd33toa6cvfmepbi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2109';
20240923@074630.5691 mdikn05ljrtd33toa6cvfmepbi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2109';
20240923@074630.5741 mdikn05ljrtd33toa6cvfmepbi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2109';
20240923@074630.5771 mdikn05ljrtd33toa6cvfmepbi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2109';
20240923@074630.6509 acgl6pqj6hic0p7pccb1gv0es3 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240923@074630.6520 acgl6pqj6hic0p7pccb1gv0es3 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240923@074630.6573 acgl6pqj6hic0p7pccb1gv0es3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2110';
20240923@074630.6628 acgl6pqj6hic0p7pccb1gv0es3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2110';
20240923@074630.6693 acgl6pqj6hic0p7pccb1gv0es3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2110';
20240923@074630.6722 acgl6pqj6hic0p7pccb1gv0es3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2110';
20240923@074630.6785 acgl6pqj6hic0p7pccb1gv0es3 Query : use flama_phc
20240923@074630.6796 acgl6pqj6hic0p7pccb1gv0es3 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240923@074630.6873 acgl6pqj6hic0p7pccb1gv0es3 Query : use flama_phc
20240923@074630.6876 acgl6pqj6hic0p7pccb1gv0es3 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4779
20240923@074630.6960 acgl6pqj6hic0p7pccb1gv0es3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20240923@074630.7192 acgl6pqj6hic0p7pccb1gv0es3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406060 and bi.ref ='304.421.00.04' and bi.lordem =1
20240923@074630.7577 acgl6pqj6hic0p7pccb1gv0es3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4960.00.1'
20240923@074630.7953 acgl6pqj6hic0p7pccb1gv0es3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406060 and bi.ref ='324.4960.00.1' and bi.lordem =2
20240923@074630.8277 acgl6pqj6hic0p7pccb1gv0es3 Query : use flama_phc
20240923@074630.8280 acgl6pqj6hic0p7pccb1gv0es3 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240923@074630.8316 acgl6pqj6hic0p7pccb1gv0es3 Query : use flama_phc
20240923@074630.8319 acgl6pqj6hic0p7pccb1gv0es3 Query : select top 1 1 valor from td where td.ndoc = 39
20240923@074630.8349 acgl6pqj6hic0p7pccb1gv0es3 Query : use flama_phc
20240923@074630.8352 acgl6pqj6hic0p7pccb1gv0es3 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')
20240923@074630.8380 acgl6pqj6hic0p7pccb1gv0es3 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
20240923@074630.8414 acgl6pqj6hic0p7pccb1gv0es3 Query : use flama_phc
20240923@074630.8417 acgl6pqj6hic0p7pccb1gv0es3 Query : select top 1 ~inactivo valor from cl where no = '101900' and estab = 0 order by inactivo desc
20240923@074630.8503 acgl6pqj6hic0p7pccb1gv0es3 Query : use flama_phc
20240923@074630.8507 acgl6pqj6hic0p7pccb1gv0es3 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240923@074630.8537 acgl6pqj6hic0p7pccb1gv0es3 Query : use flama_phc
20240923@074630.8540 acgl6pqj6hic0p7pccb1gv0es3 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240923@074630.8582 acgl6pqj6hic0p7pccb1gv0es3 Query : use flama_phc
20240923@074630.8585 acgl6pqj6hic0p7pccb1gv0es3 Query : select szadrsstamp valor from szadrs where szadrsdesc='101900 - pd - alcochete'
20240923@074630.8630 acgl6pqj6hic0p7pccb1gv0es3 Query : use flama_phc
20240923@074630.8633 acgl6pqj6hic0p7pccb1gv0es3 Query : select 1 valor from td where ndoc = 39
20240923@074630.8646 acgl6pqj6hic0p7pccb1gv0es3 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240923@074630.8660 acgl6pqj6hic0p7pccb1gv0es3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074630.8682 acgl6pqj6hic0p7pccb1gv0es3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240923@074630.8859 acgl6pqj6hic0p7pccb1gv0es3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074630.8934 acgl6pqj6hic0p7pccb1gv0es3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240923@074630.8963 acgl6pqj6hic0p7pccb1gv0es3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074630.8977 acgl6pqj6hic0p7pccb1gv0es3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240923@074630.8991 acgl6pqj6hic0p7pccb1gv0es3 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240923@074630.9060 acgl6pqj6hic0p7pccb1gv0es3 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240923@074630.9072 acgl6pqj6hic0p7pccb1gv0es3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074630.9086 acgl6pqj6hic0p7pccb1gv0es3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240923@074630.9101 acgl6pqj6hic0p7pccb1gv0es3 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66f100560766f10ec6db' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240923@074630.9312 acgl6pqj6hic0p7pccb1gv0es3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074630.9328 acgl6pqj6hic0p7pccb1gv0es3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240923@074630.9359 acgl6pqj6hic0p7pccb1gv0es3 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240923@074630.9371 acgl6pqj6hic0p7pccb1gv0es3 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240923@074630.9382 acgl6pqj6hic0p7pccb1gv0es3 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240923@074630.9394 acgl6pqj6hic0p7pccb1gv0es3 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240923@074630.9405 acgl6pqj6hic0p7pccb1gv0es3 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240923@074630.9455 acgl6pqj6hic0p7pccb1gv0es3 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240923@074630.9473 acgl6pqj6hic0p7pccb1gv0es3 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66f100560766f10ec6db',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240923@074630.9741 acgl6pqj6hic0p7pccb1gv0es3 Query : select top 1 fno valor from wsftdata order by fno desc
20240923@074630.9762 acgl6pqj6hic0p7pccb1gv0es3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074630.9780 acgl6pqj6hic0p7pccb1gv0es3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240923@074630.9803 acgl6pqj6hic0p7pccb1gv0es3 Query : select 'normal' from dummy
20240923@074630.9818 acgl6pqj6hic0p7pccb1gv0es3 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66f100560766f10ec6db',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',843,101900,0,'2024-09-23',39,'euro',0,0,2024 ,?,?)
20240923@074631.1110 acgl6pqj6hic0p7pccb1gv0es3 Query : use flama_phc
20240923@074631.1140 acgl6pqj6hic0p7pccb1gv0es3 Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20240923@074631.1350 acgl6pqj6hic0p7pccb1gv0es3 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.421.00.04'
20240923@074631.2800 acgl6pqj6hic0p7pccb1gv0es3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074631.2950 acgl6pqj6hic0p7pccb1gv0es3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074631.3200 acgl6pqj6hic0p7pccb1gv0es3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074631.3350 acgl6pqj6hic0p7pccb1gv0es3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074631.3430 acgl6pqj6hic0p7pccb1gv0es3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074631.3560 acgl6pqj6hic0p7pccb1gv0es3 Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '241001'
20240923@074631.3960 acgl6pqj6hic0p7pccb1gv0es3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074631.4100 acgl6pqj6hic0p7pccb1gv0es3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074631.4220 acgl6pqj6hic0p7pccb1gv0es3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f107427266f10ec709','aut66f100560766f10ec6db' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074631.4320 acgl6pqj6hic0p7pccb1gv0es3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074631.4470 acgl6pqj6hic0p7pccb1gv0es3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074631.4760 acgl6pqj6hic0p7pccb1gv0es3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f107427266f10ec709',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32.000 ,'aut66f100560766f10ec6db' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240923@074631.7360 acgl6pqj6hic0p7pccb1gv0es3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074631.7530 acgl6pqj6hic0p7pccb1gv0es3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074631.7800 acgl6pqj6hic0p7pccb1gv0es3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074631.7950 acgl6pqj6hic0p7pccb1gv0es3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074631.8030 acgl6pqj6hic0p7pccb1gv0es3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074631.8140 acgl6pqj6hic0p7pccb1gv0es3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074631.8280 acgl6pqj6hic0p7pccb1gv0es3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074631.8390 acgl6pqj6hic0p7pccb1gv0es3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f108417966f10ec713','aut66f100560766f10ec6db' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074631.8430 acgl6pqj6hic0p7pccb1gv0es3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074631.8570 acgl6pqj6hic0p7pccb1gv0es3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074631.8850 acgl6pqj6hic0p7pccb1gv0es3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66f108417966f10ec713',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66f100560766f10ec6db' ,0,0 ,2,23.00,20000,?,?,?)
20240923@074631.1122 acgl6pqj6hic0p7pccb1gv0es3 Query : use flama_phc
20240923@074631.1125 acgl6pqj6hic0p7pccb1gv0es3 Query : select st.usalote valor from st where st.ref = '324.4960.00.1'
20240923@074631.1144 acgl6pqj6hic0p7pccb1gv0es3 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4960.00.1'
20240923@074631.1283 acgl6pqj6hic0p7pccb1gv0es3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074631.1301 acgl6pqj6hic0p7pccb1gv0es3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074631.1324 acgl6pqj6hic0p7pccb1gv0es3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074631.1343 acgl6pqj6hic0p7pccb1gv0es3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074631.1351 acgl6pqj6hic0p7pccb1gv0es3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240923@074631.1362 acgl6pqj6hic0p7pccb1gv0es3 Query : select sestamp valor from se where ref ='324.4960.00.1' and lote = 'r2100754100a'
20240923@074631.1402 acgl6pqj6hic0p7pccb1gv0es3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074631.1417 acgl6pqj6hic0p7pccb1gv0es3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240923@074631.1429 acgl6pqj6hic0p7pccb1gv0es3 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66f104358166f10ec722','aut66f100560766f10ec6db' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240923@074631.1433 acgl6pqj6hic0p7pccb1gv0es3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240923@074631.1448 acgl6pqj6hic0p7pccb1gv0es3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240923@074631.1476 acgl6pqj6hic0p7pccb1gv0es3 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66f104358166f10ec722',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66f100560766f10ec6db' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240923@074631.1742 acgl6pqj6hic0p7pccb1gv0es3 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66f100560766f10ec6db','2406060','wait',39,'adm09112754980.682000002')
20240923@074631.1822 acgl6pqj6hic0p7pccb1gv0es3 Query : use flama_phc
20240923@074631.1825 acgl6pqj6hic0p7pccb1gv0es3 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240923@074631.1858 acgl6pqj6hic0p7pccb1gv0es3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2110';
20240923@074631.1887 acgl6pqj6hic0p7pccb1gv0es3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2110';
20240923@074631.1926 acgl6pqj6hic0p7pccb1gv0es3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2110';
20240923@074631.1951 acgl6pqj6hic0p7pccb1gv0es3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2110';
20240923@074631.2504 krmndpfjma0kfaik55dlcq2hdf Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240923@074631.2515 krmndpfjma0kfaik55dlcq2hdf Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240923@074631.2569 krmndpfjma0kfaik55dlcq2hdf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2111';
20240923@074631.2623 krmndpfjma0kfaik55dlcq2hdf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2111';
20240923@074631.2677 krmndpfjma0kfaik55dlcq2hdf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2111';
20240923@074631.2702 krmndpfjma0kfaik55dlcq2hdf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2111';
20240923@074631.2750 krmndpfjma0kfaik55dlcq2hdf Query : use flama_phc
20240923@074631.2753 krmndpfjma0kfaik55dlcq2hdf Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240923@074631.2818 krmndpfjma0kfaik55dlcq2hdf Query : use flama_phc
20240923@074631.2820 krmndpfjma0kfaik55dlcq2hdf Query : select no, estab,szadrsdesc from szadrs where u_coddest=2064
20240923@074631.2862 krmndpfjma0kfaik55dlcq2hdf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4960.00.1'
