To create a configuration for a BOM without a configuration model (sometimes known as a "native BOM"
Hi
We can create configuration for BOM without a configuration model. By using below call provided by Oracle Docs-
public ConfigParameters(int inventoryItemId, int organizationId, Date explosionDate)
I called the constructor and provide fist two params hard coded for testing and get Date from dual table and passed it as third param.
Code-
Date dateBOM=null; // Date is from sql package
connection = ibeUtil.getConnection();
prepStmt = (OraclePreparedStatement)connection.prepareStatement(sysQquery);resultSet = (OracleResultSet)prepStmt.executeQuery();
if (resultSet.next()) {
dateBOM = resultSet.getDate(1);}
cfgParams = new ConfigParameters(1954,8436811,dateBOM);
…..
Getting below exception
Exception::oracle.apps.cz.cio.BomExplosionException: ModelController.runExploder error (9998): You must specify a valid bill for this bill revision