Overview of Demantra Demand Management

on Monday, October 25, 2010

Demantra is a recent acquisition of Oracle, since then Oracle is strategically positioning Demantra in place of Oracle Demand Planning module that was earlier developed by Oracle. 
Demand Management covers forecasting of demand using statistical techniques and sales and operations planning to facilitate consensus demand and supply planning. Demand Management consist of three modules that can be licensed and implemented separately.
  • Demand Management (DM)
  • Advanced Forecasting & Demand Modeling (AFDM)
  • Real-Time Sales and Operations Planning (RTSOP)

Demantra Demand Management
Demand management helps in understanding historical demand and predicting the future demand. Demand management cycle consists of
  • Collecting historical data
  • Generating forecast
  • Review and approve forecast
  • Publish the forecast
  • Analyze the forecast accuracy
Demantra Advanced Forecasting & Demand Modeling This is extended module for demantra demand management. It supports six more forecasting methods listed below
  • Auto and Linear Regression (ARIX)
  • Auto Regressive Logistic (ARLOGISTIC)
  • Dual Multiplicative Linear Regression (DMULT)
  • Multiplicative Monte Carlo Regression for Intermittent
  • Multiplicative Monte Carlo Regression for Logistic (LOGISTIC)
  • Multiplicative Monte Carlo Regression for Modified Ridge Regression (MRIDGE)
Demantra Real-Time Sales & Operations Planning Sales and Operations Planning brings different functions to collaborate in business demand and supply and operational planning. It consists of four critical steps
  • Demand Review
  • Supply Review
  • Finance Review
  • Executive Review

EMail XML Publisher Output

on Sunday, October 24, 2010

To implement this functionality, we would have to know the following:

1. The concurrent request id of the program that is tied to an xml publisher defined layout
2. The path and name of the output file that is generated by the output post processor for the concurrent request
3. An email utility that can mail the generated output as an attachment

It is quite obvious for us to know from where to pick up the request id. It would be interesting to know the name of the file and the path where the xml publisher generated output is stored.

Let us assume that we have a concurrent request that is tied to an xml publisher layout which will format the output to a PDF document. When the concurrent request completes its run, it generates 2 output files in this case. The first file is the xml data file and the second file is the pdf file. Both the files get generated and stored in the usual $APPLCSF/$APPLOUT path.

What is of interest here is the file name given to the pdf file. This file name looks to be a combination of the XML publisher definition code, the request id and a running number. How do we get to know this filename from within oracle?

There is a table named FND_CONC_REQ_OUTPUTS that stores the request id, dir path and the file name, filesize and so on. This is the table that we use to read the file name from after looking it up with a particular request id. Once this is done, we are all set to email the file as an attachment. How do we do it from within oracle?

Oracle provides us with a PL/SQL wrapper named SendMailJPkg for its internal java mail utility that is loaded into the database. We can use this to send the email and the contents of the pdf file as an attachment. The utility has a method named SendMail. This method has a list of parameters which are pretty straightforward to lookup and understand. The last parameter is a pl/sql table named attachments. We can send multiple attachments using this pl/sql table type parameter. In our case, to send the pdf as an attachment, we would simply have to instantiate one element in the pl/sql table and pass the file name including the path as a value to the element. Set all the other appropriate param values and call the method. The pdf file would land up nicely in the user's inbox.

Overview of Work in Progress (WIP)

on Thursday, October 21, 2010

Oracle WIP module facilitates in creating WIP job or work order to manufacture the goods. Oracle WIP supports discrete, repetitive, project and assemble-to-order (ATO) type of work orders.

Non-standard WIP Job When the material and resources needed to manufacture is not pre-determined or pre-calculated then non-standard WIP job can facilitate issuing material and resources as needed. Prototype manufacturing is a good example to this.

WIP Accounting Classes Accounting class is a setup that have pre-defined list of valuation and variance accounts. Each discrete job is assigned with a accounting class.

Out-Side-Processing (OSP) With more and more industries are moving towards Outsourcing or contract manufacturing, ERP systems should have functionality to send goods out and receive back after performing certain operations. Oracle WIP module have Out side processing (OSP) functionality to support this.

Work Order Less Completion (WOLC) This is an alternative to standard discrete job. In this method on-hand can be increased by performing WOLC transaction instead of creating a WIP Job. This functionality will be very useful if you are using other legacy system as your shop floor manufacturing tool and WIP is used for inventory tracking purpose.

Backflushing When you manufacture a job or assembly you need to issue material or resources to the job, this can be done in two ways. Manually issuing or automatically backflushing. Backflushing deducts reduces the onhand of sub components and updates configuration of assembly being manufactured as components issued.