tbrault
13th June 2002, 11:54
Hi everybodies
I have a little question : In the stapi functions, there are 2 function
- stapi.browse.set
- stapi.browse.view
What is the difference? :confused:
I have the developer guide but, i don't understand the difference between the functions.
Thanks in advance
Thomas

mark_h
13th June 2002, 15:26
Stpapi.browse.view sets the view for form type 3. I think of it as doing a find. Then with stpapi.browse.set you mark a record. Then if you do a stpapi.delete, for example, it knows which record to delete.

So for example if you wanted to change some items MAUC you would do stpapi.browse.view to find the item. Then to get the first CPC code you would do a stpapi.browse.set with "first.set". You could then modify and save the change to this CPC code. Then you would get the next CPC code using stpapi.browse.set using "next.set". You could loop through the CPC codes this way.

Hope this helps.

Mark

Al Smith
13th June 2002, 16:04
Hi,
The different stpapi browse actions simulate the following Baan menu icons.

Al.

tbrault
14th June 2002, 09:40
Thanks for your answers.
You helped me much.:D