Production order form is not opening

Hi all,

I'm trying to create a production order for rework items.

when i create a production order for rework items from inventquarantineorder form,  production order create form is opening and after i click ok its not opening the main form..

How could i open a main form for that rework items?


  • I added this coding at ProdTableCreate ok button clicked method

    if(element.args().dataset() == tablenum(InventQuarantineOrder))
            new MenuFunction(menuitemdisplayStr(ProdTable), MenuItemType::Display).run();

    But form is showing the created record when i refresh it..

    I tried reread and refresh also but its not refreshing