Tuesday, 7 October 2014

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

3 comments:

  1. Regards
    Sridevi Koduru (Senior Oracle Apps Trainer Oracleappstechnical.com)
    LinkedIn profile - https://in.linkedin.com/in/sridevi-koduru-9b876a8b
    Please Contact for One to One Online Training on Oracle Apps Technical, Financials, SCM, SQL, PL/SQL, D2K at training@oracleappstechnical.com | +91 - 9581017828.

    ReplyDelete
  2. Hi,

    Thanks for the quick and crisp explanation.

    Thanks,
    Srikanth

    ReplyDelete
  3. Nice blog about punchout XML, it's being great to read this.
    CXML Punchout

    ReplyDelete