Error:
JBO-25006: Invalid parameter value
PosViewShipmentsVO for destination passed to method
ViewLinkImpl.setDestination. Explanation: view def
mismatch.
Root
Cause for the Error :
While extending a Seeded VO ( that has a Seeded View Link ), the
ViewLinkAccessor content need to be copied from Seeded VO to the extended
Custom VO.
Illustration using an example:
Requirement:
iSupplier Portal – Based on certain criteria of “Need By Date” field , Specific fields to be Greyed out for the individual Line items.
Approach:
1. Extending seeded VO
PosViewShipmentsVO.
2. Created the Custom VO(xxExPOSVO) and
Extends with Seeded VO(PosViewShipmentsVO)
Root Cause for the Error :
The seeded VO (PosViewShipmentsVO) is
linked with Seeded View Link (PosShipVL).
The new extended custom VO does not refer the seeded View Link PosShipVL – due to this reason exception is raised at run time.
The new extended custom VO does not refer the seeded View Link PosShipVL – due to this reason exception is raised at run time.
Resolution:
1. Open the PosViewShipmentsVO.xml
2. Copy the ViewLinkAccessor content.
<ViewLinkAccessor
Name="PosViewLinesVO"
ViewLink="oracle.apps.pos.changeorder.server.PosShipVL"
Type="oracle.jbo.Row"
Reversed="true"
IsUpdateable="false" >
</ViewLinkAccessor>
3. Paste it in the extended VO xml (xxExPOSVO.xml)
Thanks
Hi,
ReplyDeleteThanks for the quick and crisp explanation.
Thanks,
Srikanth
Nice blog about punchout XML, it's being great to read this.
ReplyDeleteCXML Punchout