I have a requirement to dynamically create stages, populate the source and destination location for all the stages at runtime in Forwarding order and bind it to the stages table in Actual route tab by using a button action on the Stages table. This requirement is to auto-propose best route in the Forwarding order based on Source and destination location in Locations tab. User can also manually add stages on top of this recommendations.
I was able to create stages by using the action "INSERT_AFTER" of "STOP_SUCCESSOR" BO and it was visible in the UI. But I am unable to populate the source and destination location in the Tree table before user can save the forwarding order. I tried to use post-exit of get_data method to populate source and destination location for stages and pass it to et_data.
Now I am facing 2 issues.
I am new to TM as well as FPM. Please provide solution to the above mentioned issues or the design suggestions for the above requirement.