on 2008 Feb 12 3:27 PM
Hi,
I've got a mapping as follows
Part_ID (context = report) \
Datarow (context = report) - UseOneAsMany --> Check_Part_ID (my UDF) ---> IF THEN Datarow -
> Recordset
Datarow (context =page) /
A request for a report is sent and if a report is found
<REPORT>
<REPORT_HEADER>
<HEADROW num="1">
*<Part_ID>PT_500024</Part_ID>*
</HEADROW>
</REPORT_HEADER>
<REPORT_BODY>
<PAGE>
*<DATAROW num="1">*
<TRADE_DATE>17/01/2008</TRADE_DATE>
*</DATAROW>*
This maps fine. The problem is that when no report is found the reponse is
<REPORT>
<REPORT_HEADER>
<HEADROW num="1">
<REPORT_NAME>Report</REPORT_NAME>
</HEADROW>
</REPORT_HEADER>
<REPORT_BODY>
*<NoDataFound/>*
</REPORT_BODY>
</REPORT>
My mapping throws an error as Datarow and Part_ID don't exist in this response. Is there anyway I can solve this by using the <NoDataFound> tag in the second response
Request clarification before answering.
Hi Flamien,
I have cum across this problem before. After a lot of heaving and ho-ing i was finally satisfied with my out-cum.
if you use the Trade_date in the useOneAsMany this should solve your problem. you need to use a field that is always there, otherwise you will get the error you mentioned
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
73 | |
30 | |
8 | |
7 | |
6 | |
6 | |
6 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.