mibuso.com

Microsoft Business Solutions online community
It is currently Mon Sep 22, 2014 6:12 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: temporary table and web service
PostPosted: Fri Apr 19, 2013 6:16 pm 
Offline

Joined: Mon Dec 11, 2006 10:34 am
Posts: 2883
Location: Bergamo
Country: Italy (it)
hi everyone,
I have a big problem with a temporary table i want to publish as webservice. Let me explain better: here's the page design
Code: Select all
Container
--Customercode (a variable of type code)
--Group (the repeater)
----fields

my page is obviously based on a temporary table and the web application passes me the CustomerCode as a parameter i need for processing the data i need to create the temporary table.
Now, i'll tell you some statements:
1. CustomerCode value is available in onaftergetrecord trigger but NOT in the onopenpage trigger
2. I CAN populate the temporary table at the time of the first loop of the onaftergetrecord trigger
3. If i do "2", Readmultiple method works as soon as a bookmarkkey is not declared (the web application read records 10 by 10). If the bookmark is declared, the system returns "Contact xxxx do not exist". I think this happens because the system tries to GET the bookmarked record from the (still) not populated temporary table.
4. I tried to hardcode the customercode varibale and then i moved the temporary table population to the onopenpage trigger
5. If i do "4", everything works fine

How can I make my page work? I cannot use xmlport, because i Need paging. Is the linkedobject a possible solution?

_________________
-Mirko-
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum


Search for:
Jump to: