renzosing
15th June 2005, 21:01
I'm creating a new Baan session and the user would like to see Total Demand as it is showned in Time Phase Planning. Does anyone have any helpful hints of how this can be calculated, because Time Phase Planning use dals to do the calculation, I've looked at the script for cprrpdll0010, but I'm not seeing what tables to pull this data from and it is a bit confusion to me. Below is some sample code. Thanks
total.demand = total.demand +
cprrpdll0010.planned.demand(cnt) +
cprrpdll0010.forecast.demand(cnt) +
cprrpdll0010.critical.demand(cnt) +
cprrpdll0010.ipl.demand(cnt) +
cprrpdll0010.actual.demand(cnt)
total.demand = total.demand +
cprrpdll0010.planned.demand(cnt) +
cprrpdll0010.forecast.demand(cnt) +
cprrpdll0010.critical.demand(cnt) +
cprrpdll0010.ipl.demand(cnt) +
cprrpdll0010.actual.demand(cnt)