Populate Object (e.g. BM Production Entry) and open UI

I am looking for a way to use a script in Sage to create an entry, e.g. a Bill of Materials Production entry, and then open the UI for this entry to have the user complete it. I know how to open the UI for a specific program, and  I know that I can open some UI components with the focus on an existing record, but is it possible to create an entry, and then open the UI while the record is not yet saved?

Thanks for your help!

B.