Description:
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 needs 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:
- Extending seeded VO PosViewShipmentsVO.
- 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:
- Open the PosViewShipmentsVO.xml
- Copy the ViewLinkAccessor content.
<ViewLinkAccessor
Name=”PosViewLinesVO”
ViewLink=”oracle.apps.pos.changeorder.server.PosShipVL”
Type=”oracle.jbo.Row”
Reversed=”true”
IsUpdateable=”false” >
</ViewLinkAccessor>
Thanks
Summary:
The parameters passed to a business component method are invalid. … Expand the call-stack for the correct parameters. e.g., DBTransactionImpl. Execute command() throws this exception when the command parameter is null or an empty String.
Queries?
Do drop a note by writing us at doyen.ebiz@gmail.comor use the comment section below to ask your questions.