I am facing an issue with the custom assignment block in one of my components. When I delete a record from the custom ASG block its getting deleted successfully, but when I do cancel, the deleted record should be revereted back and shown on the ASG block.
Its a custom relation I have created for the Product, and the data on the Context node is populated through the ON_NEW_FOCUS of the custom context node.
When I navigate to Porduct OV page, this ON_NEW_FOCUS of this CNXX class is getting triggered and the records are displayed. On OCA I have written the logic for deleting the entity. Once I delete, I will do the Cancel on the OV page, the SUPER cancel method is getting triggered where in I could see my custom relation existing in the relationships that are getting reverted but I dont see the record coming back.
And I believe the ON_NEW_FOCUS should get triggered before the screen gets displayed even after Cancel, but its not.
Your inputs will be highly appreciated.
Thank you for your time.