JBO-25006: Invalid parameter value – Resolution

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.

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

  • October 7, 2014 | 28 views