on ‎2014 Oct 13 8:58 AM
after migrating from 12.5 to 12.6, my users immediately noticed that nested datawindows were pulling out wrong data.
running an odbc debug. I notice that (as you can see in the 2nd screenshot).
the invoiceno in the parent datawindow as retrieved from the database is 2003001526
the invoiceno PASSED from the parent datawindow, to the nested datawindow is 2003001472
ie: the odbc log shows the wrong value is passed to nested datawindow, yet it is the correct value as retrieved from the database.
the parent datawindow has the syntax of
select invoiceno from tblinvoice where jobreferenceno = :as_jobrefno and casefeeno = :al_casefeeno
the nested datawindow has the syntax of
select invoiceno,blah, blah2 from tblinvoiceassign where invoiceno = :al_invoiceno
I've made a test db and test datawindows containing of 2 rows in each table (ie by culling all data except those where related to invoiceno = 2003001526,2003001472), so its reproducible.
anyone has any clues? its affecting all os (win7 , win 8.1 , 32bit or 64 bit). database is sql server 2008 r2
I'm currently reinstalling 12.5 + ebfs.
Request clarification before answering.
the latest ebf23645
(pb12.6 build 4011) no longer has this issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
UPDATE!
After providing a 2nd debug build that literally shows
the parent being
SELECT
tblinvoice.invoiceno
FROM tblinvoice
WHERE
( tblinvoice.invoiceno = 2003001526 )"
and the child is somehow passed 2003001472
this is SAP's response/escalated to engineering
17.10.2014 - 11:31:42 CET - Info for Customer by SAP
Hi,
I have reproduced the issue.
Actually, no need to use the main DataWindow. When you retrieve the DW
r_cminvgen_noassign_test2 and you enter 2003001526
for the retrieval argument, it passes 2003001472 to SQL request. Very
Strange !
I modified the argument datatype from Number to Decimal and then it
works fine.
I will engage PB engineering for this problem.
Regards.
xxx
17.10.2014 - 14:12:45 CET - Info for Customer by SAP
Hi,
I Created CR772614 for PB engineering an pushed this CR into our
Hot-List.
I will let you know as soon as I have their feedback.
Regards.
xxx
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
in this case, the problem is both the parent window and child datawindow are brand new created after i noticed the problem in my original application. the screenshots provided are from a custom build bug reproduction application.
invoiceno is not a compute, its the result of select invoiceno from tblinvoice where ...
it is passed to the nested datawindow as a retrieval argument. (both are numbers fields and sql server INT )
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you double check how you assign the retrieval argument of the nested datawindow in the composite datawindow?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 13 | |
| 8 | |
| 7 | |
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.