Skip to main content
Kofax

MarkView Advisor – Error opening images from Advisor. PLS-00306 wrong number or types of arguments in call to "VIEWERDOCUMENTWINDOW".

Summary

13573

Applies To

  • ERP System: All
  • MarkView Version: 9.0 and Below

Behavior

  • When an Advisor user tries to view an Invoice image, from within Advisor, they see an error "Exception encountered while executing MarkView PL/SQL procedure. Please contact your system administrator".
  • The same image opens correctly from MarkView
  • Error in mvplsql.log: PLS-00306 wrong number or types of arguments in call to "VIEWERDOCUMENTWINDOW".

Known Causes

  • This issue is reported to happen after upgrading from an earlier version of Markivew.
  • Defect 760435 - Launching Viewer from Advisor reports throws error: PLS-00306: wrong number or types of arguments in call to 'VIEWERDOCUMENTWINDOW’)
  • Incorrect values in reference tables
    • select * from MVAC_MV_CALL where call_type in ('REQUEST_HOT_SYNCH', 'SHOW_DOCUMENT', 'TAKE_ACTION');
    • select * from MVAC_SYSTEM_CONFIG where param_name = 'Analytics_Controller_URL';

Resolution

Reset the 'WEBCLNT_HTTP_BASE_URL' preference

  1. Navigate to Administration -> MarkView Admin.
  2. Click on the Preferences tab.
  3. Filter on the 'WEBCLNT_HTTP_BASE_URL' preference.
  4. Click on the Details button.
  5. Click on the System Preference tab.
  6. Click on the Edit button.
  7. Save the preference without making any changes to the preference.

MarkView grants access to menu entries User Groups. Access to a Menu entry can be granted to several groups.

Keywords: Advisor, image, PLS-00306, VIEWERDOCUMENTWINDOW