I am on 2004A patch 26 using the DI API version 6.7 (also patch 26).
When I access a salesforecast object from the company using SAPBobsCOM.SalesForecast objects getbykey() function :
The object loads fine and I can access the header & line values.
My problem is this when I want to update the object using .update - I get the error : -5002 (Two forecasts of an item refer to the same date [OFCT.Name][line: 1])
Does anyone know how this can be resolved.
(I made sure its the only forecast for that day (date) in the entire system & it's not associated with any MRP scenario)