Need help to avoid null pointer exception in OAF
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;