Scripting Documentation Problem with "execDBLookup" Method in 11.1.1.8 Documentation (Doc ID 1911133.1)

Last updated on NOVEMBER 13, 2015

Applies to:

Oracle WebCenter Enterprise Capture - Version 11.1.1.8.0 and later
Information in this document applies to any platform.

Goal

The Developing Scripts Guide for Oracle Webcenter Capture 11.1.1.8 documents the execDBLookup method as below:

public DBLookupResult execDBLookup(
String searchID,
String fieldID,
String value,
boolean exactMatch)

public DBLookupResult execDBLookup(
String searchID,
String fieldID,
String value,
Boolean exactMatch,
String primarySortField,
Integer primarySortOrder,
String secondarySortField,
Integer secondarySortOrder)

The script rejects that format and println(DBLookupProfile.execDBLookup) shows an extra integer on the end of both definitions:

function execDBLookup() {/*
oracle.oddc.client.data.DBLookupResult execDBLookup(
java.lang.String,
java.lang.String,
java.lang.String,
boolean,
java.lang.Integer)

oracle.oddc.client.data.DBLookupResult execDBLookup(
java.lang.String,
java.lang.String,
java.lang.String,
java.lang.Boolean,
java.lang.String,
java.lang.Integer,
java.lang.String,
java.lang.Integer,
java.lang.Integer)
*/}

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms