Not Null Check Box Is Not Showing In The Interface Attribute Definition (Doc ID 2289613.1)

Last updated on JULY 24, 2017

Applies to:

Oracle Web Applications Desktop Integrator - Version 12.2.6 and later
Information in this document applies to any platform.

Symptoms

Not Null Check Box is not showing in the interface attribute Definition


Reproduce Steps
-----------------------
The issue can be reproduced at will with the following steps:
1.Create a table with attributes NOT NULL.
2.Register them
3. Go to WebADI and create an integrator and check from Interface whether
the NOT NULL status of the attribute can be changed or not.

sqlplus bne/bne>

create table BNE_TEST_EMPLOYEES_NOTNULL (
emp_number number not null
, emp_first_name varchar(32) not null
, emp_last_name varchar2(30) not null
);

sqlplus apps/apps>

CREATE synonym BNE_TEST_EMPLOYEES_NOTNULL FOR bne.BNE_TEST_EMPLOYEES_NOTNULL;
EXEC ad_dd.register_table ('BNE', 'BNE_TEST_EMPLOYEES_NOTNULL', 'T');
EXEC ad_dd.register_column ( 'BNE','BNE_TEST_EMPLOYEES_NOTNULL','EMP_NUMBER', 1, 'NUMBER', 22, 'N', 'N');
EXEC ad_dd.register_column ( 'BNE','BNE_TEST_EMPLOYEES_NOTNULL','EMP_FIRST_NAME', 2, 'VARCHAR2', 32, 'N', 'N');
EXEC ad_dd.register_column ( 'BNE','BNE_TEST_EMPLOYEES_NOTNULL','EMP_LAST_NAME', 3, 'VARCHAR2', 30, 'N', 'N');

Bounce Apache.

Create an integrator
Integrator Name: BNE_TEST_EMPLOYEES_NOTNULL
Internal Name: BNE_TEST_EMP_NOTNULL
Application: Web Applications Desktop Integrator
Reporting Only: Unchecked
Enabled: Yes
Display in Create Document Page: Checked

Add Security Rule Functions - Desktop Integration - Create Document

Click on Next

Enter the following in Interface: Create Interface

Interface Name: BNE Test Employees NOTNULL Interface
Interface Type: TABLE
Table Name: BNE_TEST_EMPLOYEES_NOTNULL

Click on Apply

Select 'BNE Test Employees NOTNULL Interface'

Edit 'EMP_NUMBER'

Check if 'Not Null' Check Box is showing in the interface attribute Definition.





Changes

bne mds/wdf/interfaces/webui BneInterfaceColumnRN.xml 120.8.12020000.8
Fix summary: Changed NotNullFlag to Read only always, and rendered only when interface is created from TABLE.

Cause

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