Home » RADICORE » How To » MULTI4 Update Problem
MULTI4 Update Problem [message #2155] |
Wed, 24 June 2009 06:12  |
ajwid01
Messages: 26 Registered: June 2009 Location: UK
|
Junior Member |
|
|
Hi,
I have successfully implemented a MULTI2 pattern, where I can bulk update multiple child records of a parent.
However, when I am attempting a MULTI4 pattern for the same parent/child, I am encountering an issue with the update against the parent.
For some reason, after submit, the SQL is attempting to make a modification to the second element of the PK (which is not actually listed as modifiable).
The field is a VARCHAR2(4), and the return code suggests that it is being attempted to update this field to more than 4 characters.
("order_line_no cannot be greater than 4 characters.")
Actually, maybe this is not an output from a SQL error, but an inbuilt validation output, but I can't understand why it can report a validated field value but pressing submit would potentially alter the PK composite to something which would violate the mechanics.

T.
|
|
|
Re: MULTI4 Update Problem [message #2157 is a reply to message #2155] |
Wed, 24 June 2009 11:39   |
ajwid01
Messages: 26 Registered: June 2009 Location: UK
|
Junior Member |
|
|
As an update:
There are a couple of different scenarios occurring here:
Case 1:
Parent Record has NO Child Records
Parent/Outer records can be ammended, and correctly updates on submit.
Case 2:
Parent Record HAS Child Records
Parent and Child records can be ammended, but pressing submit generates an error suggesting that the parent composite PK field(2) is too long.
At this point, the parent record is still visible, but the child records are missing from the screen display.
Re-pressing submit allows the parent record to be updated successfully.
However, refreshing the screen/re-navigating to this record shows that the child record edits have not been applied.
Any attempt to ammend the child records results in the same error (suggesting that the PK second field is too long on the parent record).
T.
[Updated on: Wed, 24 June 2009 11:40] Report message to a moderator
|
|
|
|
|
|
Goto Forum:
Current Time: Wed Jun 18 16:48:08 EDT 2025
Total time taken to generate the page: 0.01825 seconds
|