Skip to main content
Kofax

MarkView Oracle Integration - Attachment form FNDATTCH is minimized after MarkView integration / Auto-Show MarkView Document

Summary

3910

Applies To

  • ERP System: Oracle
  • MarkView Version: All Versions

Behavior

After MarkView is installed, the Oracle Attachments Form (FNDATTCH) gets minimized, and a MarkView document is shown automatically.

Resolution

To disable this feature, you can modify the MarkView for Oracle Applications integration code:

The following change should be made to the FNDATTACH form located in the $FND_TOP/forms/US directory.

CHANGES TO THE FNDATTACH FORM FOR STOPPING THE AUTO SHOW OF THE MARKVIEW DOCUMENT ON OPEN:

  1. In trigger WHEN-NEW-RECORD-INSTANCE on block DOCUMENT_HEADER
    Comment out the code MarkView.Default_Show_Document at the top of the trigger.
    --MarkView.Default_Show_Document

    And add the following code
    -- added Per Kofax Support Answer 476
    MarkView.Event('WHEN-NEW-RECORD-INSTANCE');
    MarkView.Event('WHEN-VALIDATE-ITEM');

    CHANGES TO THE FNDATTACH FORM FOR STOPPING THE MINIMIZATION OF THE FORM ON OPEN:
    Under Program Units, the program unit named MarkView has the following procedure:

  2. In the Program Unit "MarkView", open the Package Body. In the "Event" PROCEDURE, locate the section of code following "elsif EventName = 'PRE-FORM' then":

    elsif EventName = 'PRE-FORM' then
    win_height := get_window_property(win_name, HEIGHT);
    win_width := get_window_property(win_name, WIDTH);
    canvas_height := get_canvas_property(canvas_name, HEIGHT);
    canvas_width := get_canvas_property(canvas_name, WIDTH);
    copy(to_char(win_height), 'GLOBAL.MVOA_FNDATTCH_WIN_HEIGHT');
    copy(to_char(win_width), 'GLOBAL.MVOA_FNDATTCH_WIN_WIDTH');
    copy(to_char(canvas_height), 'GLOBAL.MVOA_FNDATTCH_CANVAS_HEIGHT');
    copy(to_char(canvas_width), 'GLOBAL.MVOA_FNDATTCH_CANVAS_WIDTH');
    set_window_property(win_name, WINDOW_STATE, MINIMIZE);

    Comment out the line "set_window_property" as shown below: elsif EventName = 'PRE-FORM' then

    win_height := get_window_property(win_name, HEIGHT);
    win_width := get_window_property(win_name, WIDTH);
    canvas_height := get_canvas_property(canvas_name, HEIGHT);
    canvas_width := get_canvas_property(canvas_name, WIDTH);
    copy(to_char(win_height), 'GLOBAL.MVOA_FNDATTCH_WIN_HEIGHT');
    copy(to_char(win_width), 'GLOBAL.MVOA_FNDATTCH_WIN_WIDTH');
    copy(to_char(canvas_height), 'GLOBAL.MVOA_FNDATTCH_CANVAS_HEIGHT');
    copy(to_char(canvas_width), 'GLOBAL.MVOA_FNDATTCH_CANVAS_WIDTH');
    -- set_window_property(win_name, WINDOW_STATE, MINIMIZE);

    Notes:

    1. This change assumes that you are using a copy of the FNDATTACH form that was previously image-enabled by Kofax (the same FNDATTACH form that is currently in production).
    2. This change will affect all users.

Keywords: Minimized, form, restore, attachment, fndattach, Oracle