While doing the estimation for production order I am getting the below error in production control module.
I have checked the table wrkctrprodRouteActivity the production order is already exist so it is throwing an error.
But I couldn't figure without any estimation how the record already exist in that table.the record should exist in the above table only after estimation is done.
Kindly suggest any Idea
Hariyadavwithout any estimation how the record already exist in that table
The records will be inserted into this table when you create the production order (while creating the ProdRoute records).
Try to debug and see why the estimation process is inserting a record that already exists.
In reply to Kranthi:
In reply to Hariyadav:
The simple way is to override the insert() on wrkctrprodrouteactivity, add a break point and see when is being triggered and try to back trace from there in both cases.