My Oracle Support Banner

G-Invoicing Package PA_IGT_EXT_API_PUB (PAIGTEAPIB.pls) Joins To o.link_agreement_status Are Failing When The Column Value Is NULL (Doc ID 2877506.1)

Last updated on JUNE 16, 2022

Applies to:

Oracle Project Billing - Version 12.2.7 and later
Information in this document applies to any platform.


Package PA_IGT_EXT_API_PUB (PAIGTEAPIB.pls) 120.0.12020000.43

In the query below, the joins to o.link_agreement_status are failing when the column value is NULL. An NVL is required for these joins.

e.g. AND o.link_agreement_status <> 'ASSOCIATED_APPROVED' fails when link_agreement_status is NULL

The statement should be something like AND NVL(o.link_agreement_status,'-1') <> 'ASSOCIATED_APPROVED'

The problem occurs when a condition that should be true returns as false because the join to the table column fails.
An NVL is required when comparing nullable table columns with any other value.




To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.