on 10-16-2008 4:47 PM
Hi All,
I downloaded B1 Test Environment and installed in the system. Now the proplem is it is unstalled VS IDE and unable to open SQL Management Stuido, gives me JIT script error while opening the SQL MS, then uninstalled B1TE , now works fine my SQL MS.
Can someone help me to work B1 TE, what are the steps should I take to work B1TE.
Thanks
kv
Very strange. Did you install B1TE from the setup ? usual next / next / next / accept / etc sequence ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
B1TE works fine in my machine. I am using B12007, MS SQL 2005 and VS 2005. You need to download the right version of B1TE match the verstion B1 and VS.net.
Could you please let us what versions of B1, SQL and VS are you working with?
I guess the reason is the wrong version B1TE, then it update .NET framework, which is used in VS and MSSQL...
Kind Regards
-Yatsea
Hi Yatsea...
I am working in SAP B1 2005B,MS SQL 2005 and VS 2005.When I run my B1DBProfiler test Tool,I am getting this below error....
"An addon test has been run.Several lines should appear in the B1DbProfiler is not correctly configured.If failed please check you have copied the needed code into the SBO_SP_TransactionNotification stored procedure."
This is my code.....
set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
go
ALTER proc dbo.SBO_SP_TransactionNotification
@object_type nvarchar(20), -- SBO Object Type
@transaction_type nchar(1), -- [A]dd, pdate, [D]elete, [C]ancel, C[L]ose
@num_of_cols_in_key int,
@list_of_key_cols_tab_del nvarchar(255),
@list_of_cols_val_tab_del nvarchar(255)
AS
begin
*
o Return values
declare @error int -- Result (0 for no error)
declare @error_message nvarchar (200) -- Error string to be displayed
select @error = 0
select @error_message = N'Ok'
*
o ADD YOUR CODE HERE
*
o Select the return values
select @error, @error_message
end
Please give me a helpful Reply....
Regards,
Anitha.
Hello ani
You haven't finished the configuration. please insert the following code into the section.
*
o ADD YOUR CODE HERE
*
DECLARE @object int --declare the object variable
DECLARE @hresult int --declare the hresult variable
EXEC @hresult = sp_OACreate 'B1DbProfilerCOM.Profiler', @object OUT
EXEC @hresult = sp_OAMethod @object, logDb, NULL,
@object_type,
@transaction_type,
@num_of_cols_in_key,
@list_of_key_cols_tab_del,
@list_of_cols_val_tab_del
IF @hresult <> 0
BEGIN
EXEC sp_OAGetErrorInfo @object
RETURN
END
Please refer to <<C:\Program Files\SAP\SAP Business One Test Environment\B1TE.doc>> more info.
Kind Regards
-Yatsea
Hello ani,
But I can't find them in your given code about SBO_SP_PostTransactionNotice or SBO_SP_TransactionNotification.
And here is my SBO_SP_PostTransactionNotice
ALTER proc [dbo].[SBO_SP_PostTransactionNotice]
@object_type nvarchar(20), -- SBO Object Type
@transaction_type nchar(1), -- [A]dd, <u>pdate, [D]elete, [C]ancel, C[L]ose
@num_of_cols_in_key int,
@list_of_key_cols_tab_del nvarchar(255),
@list_of_cols_val_tab_del nvarchar(255)
AS
begin
-- Return values
declare @error int -- Result (0 for no error)
declare @error_message nvarchar (200) -- Error string to be displayed
select @error = 0
select @error_message = N'Ok'
--------------------------------------------------------------------------------------------------------------------------------
-- ADD YOUR CODE HERE
--DB profiler
DECLARE @object int --declare the object variable
DECLARE @hresult int --declare the hresult variable
EXEC @hresult = sp_OACreate 'B1DbProfilerCOM.Profiler', @object OUT
EXEC @hresult = sp_OAMethod @object, logDb, NULL,
@object_type,
@transaction_type,
@num_of_cols_in_key,
@list_of_key_cols_tab_del,
@list_of_cols_val_tab_del
IF @hresult <> 0
BEGIN
EXEC sp_OAGetErrorInfo @object
RETURN
END
--DI Event Service
DECLARE @db_name nvarchar(120) -- database name
Select @db_name = db_name()
EXEC @hresult = sp_OACreate 'B1DIEventsSender.Profiler', @object OUT
EXEC @hresult = sp_OAMethod @object, logDb, NULL,
@db_name,
@object_type,
@transaction_type,
@num_of_cols_in_key,
@list_of_key_cols_tab_del,
@list_of_cols_val_tab_del
IF @hresult <> 0
BEGIN
EXEC sp_OAGetErrorInfo @object
RETURN
END
RETURN
END
--------------------------------------------------------------------------------------------------------------------------------
-- Select the return values
select @error, @error_message
end
Kind Regards
-Yatsea
Edited by: Yatsea Li on Oct 22, 2008 3:01 PM
Hello ani,
actually then you can do some small change, just change into SBO_SP_TransactionNotification in the begining of SP
Try this:
ALTER proc [dbo].[SBO_SP_TransactionNotification]
@object_type nvarchar(20), -- SBO Object Type
@transaction_type nchar(1), -- [A]dd, <u>pdate, [D]elete, [C]ancel, C[L]ose
@num_of_cols_in_key int,
@list_of_key_cols_tab_del nvarchar(255),
@list_of_cols_val_tab_del nvarchar(255)
AS
begin
-- Return values
declare @error int -- Result (0 for no error)
declare @error_message nvarchar (200) -- Error string to be displayed
select @error = 0
select @error_message = N'Ok'
--------------------------------------------------------------------------------------------------------------------------------
-- ADD YOUR CODE HERE
--DB profiler
DECLARE @object int --declare the object variable
DECLARE @hresult int --declare the hresult variable
EXEC @hresult = sp_OACreate 'B1DbProfilerCOM.Profiler', @object OUT
EXEC @hresult = sp_OAMethod @object, logDb, NULL,
@object_type,
@transaction_type,
@num_of_cols_in_key,
@list_of_key_cols_tab_del,
@list_of_cols_val_tab_del
IF @hresult 0
BEGIN
EXEC sp_OAGetErrorInfo @object
RETURN
END
--DI Event Service
DECLARE @db_name nvarchar(120) -- database name
Select @db_name = db_name()
EXEC @hresult = sp_OACreate 'B1DIEventsSender.Profiler', @object OUT
EXEC @hresult = sp_OAMethod @object, logDb, NULL,
@db_name,
@object_type,
@transaction_type,
@num_of_cols_in_key,
@list_of_key_cols_tab_del,
@list_of_cols_val_tab_del
IF @hresult 0
BEGIN
EXEC sp_OAGetErrorInfo @object
RETURN
END
RETURN
END
--------------------------------------------------------------------------------------------------------------------------------
-- Select the return values
select @error, @error_message
end
User | Count |
---|---|
94 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.