bizen99
18th December 2002, 17:29
Hi,
Can I generated boi of a customized session?, when I try to genrate it, hang on.
thanks
Renegade
19th December 2002, 03:12
u can generate boi for a customised session, may it be on BCBE or OpenWorld
what is the problem u r facing? at what level is it hanging?
arunprasath
19th December 2002, 05:36
are you getting the error in ccboi0102m000?
can you be more clear?
Jeyaseelan
19th December 2002, 07:02
We can write BOI's for all types of sessions including localization. Please write in detail whats nature of error u are getting.
bizen99
19th December 2002, 12:44
the session ccboi0102m000 hangs after put the name of the customized session
the customized session only actualize a serie of fields of a table, the form's fields are not of any table
?
arunprasath
19th December 2002, 15:51
Is the customized session which you have developed, having a main table?
I have tested running the session ccboi0102m000 and gave a session for which there is no any main table.
In this case, in the session ccboi0102m000 ,after we enter the session name and press tab, it just hangs.
so check this at your end, and if you dont have any main table for the session, then try adding one and post the status back here.
bizen99
19th December 2002, 16:29
My customized session have not a main table, I had tried to add one, but then 'ccboi0102m000' only generates records for table-fields, and I want only for form-fields. I don't need any main table for my BOI.
Can I not generate a session without table-fields?
Renegade
20th December 2002, 10:57
BOI on BCBE requires that u have main table for the session concerned.
And u can deal with form fields too.
bizen99
20th December 2002, 11:08
but when I generate the boi the session ccboi0102m000 generates table fields, but not generates the form fields , why?
arunprasath
20th December 2002, 14:37
In the session ccboi0102m000, as soon as you give the session name and then the BOI name,
it gets the details of the session from its Data dictionary and displays in it.
It brings all the table fields from the main table of the session.
Also, it brings the form fields that are present in the session.
Its upto you whether to use them or not.
bizen99
2nd January 2003, 17:49
Hi,
I generated the boi correctly, but my session only have two form fields and a continue button, what is the method to emulate the continue button?
thanks
arunprasath
6th January 2003, 14:39
I would suggest you to read the documents that comes along with the bck1.3.
After you generate your boi dll using ccboi0102m000, you need to create the intermediate dll for the session using ttstpcreatdll and then compile this dll.
Then compile the boi dll.
Your logic to emulate the session functionality lies inside this boi dll.
There are some other posts in Baanboard. you can search for that. The details are clear in bck1.3.
bizen99
8th January 2003, 10:51
Hi,
I have read the manuals 'BOI Builder Develover's guide' and 'BOI DEVELOPER'S GUIDE', and I have not found information about 'continue button',
How can I emulate 'continue button'?, the session have not any transaction method.
Thanks
Jeyaseelan
8th January 2003, 14:25
Hi Bizen,
You have to use stpapi's in your BOI DLL. stpapi has the continue method. The syntax is as follows
SYNTAX
void stpapi.continue.process(string session, ref string err.mesg)
ARGUMENTS
session - Name of the session this command is executed on.
err.mesg - This parameter will contain the text of the error
message if the function cannot complete normally.
DESCRIPTION
This causes the choice option “cont.process” to be executed in the specified session
RETURN VALUES
None
Please let me know if u face any problems.
Thanks.
With warm regards,
Jeyaseelan
Jeyaseelan
8th January 2003, 14:36
Hi Bizen,
Please find the example below. Hope this helps you.
stpapi.put.field("dtfsa1201s000", "seno.f", str$(i.seno))
stpapi.put.field("dtfsa1201s000", "seno.t", str$(i.seno))
stpapi.put.field("dtfsa1201s000", "proc.date", str$(date.num()))
stpapi.put.field("dtfsa1201s000", "do.update", str$(etol(dtyesno.no)))
stpapi.continue.process("dtfsa1201s000", error.msg)
Thanks.
Regards,
Jeyaseelan
bizen99
8th January 2003, 15:33
Thanks Jeyaseelan,
My customized session (tisfc9202m000) uses a function server of 'tisfc0202m000', in my session I only input a order numer and a quantity, then I press the button 'Continue' and in the choice.cont.process I call to my function server 'tisfcf0202m000'.
The session that I want to emulate from excel throught BOIs is 'tisfc9202m000', in the BOI that I generated only are 'Show, List, and NetList' methods, my question is, what is the method to emulate 'cont.process'?, Have I to create it manually?
thanks