Procurement - EBS (MOSC)

MOSC Banner

Need help to avoid null pointer exception in OAF

edited Nov 17, 2023 1:29PM in Procurement - EBS (MOSC) 2 commentsAnswered ✓

Hi All,

We encounter issues adding the supplier number, Duns number, and alternate vendor name to the iproc Po search page. Those columns show up as as expected but when we try to create a standard purchase order, we receive an exception.


The highlighted ones were added to the page, but we are unable to create a PO in order to add the three columns dynamically after the Controller extension.


Logic added to the controller extension:

public String getSupplierNum(OAPageContext pageContext, OAWebBean webBean,Number supplierId)

  {

    OAApplicationModule am = (OAApplicationModule)pageContext.getApplicationModule(webBean);

    OraclePreparedStatement oraclePreparedStatement = null;

    OracleResultSet oracleResultSet = null;

    String supplierNum = null;

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center