I need a clarification in a case which i have encountered in a current project, the case is described below in a generalized way,
There are two entities say for eg., Entity-A & Entity-B and the client requirement is to associate Purchase Invoice entity to the above mentioned two entities with different formats of forms, i.e., Entity-A's purchase invoice is different from Entity-B's. Point to be mentioned here is there is some X security role for a user and the user opens invoice associated with entity-A it should show different form and if he opens invoice associated to entity-B it should show its respective different form.
pointed in picture above shows you the two different entities
this is purchase invoice format for supplier entity highlighted a few in above pic for better understanding
the pic above shows the format for restricted supplier's purchase invoice
can any one help me out regarding, whether there's a possibility to create two different forms for same entity and display it according to respective associated entities and based on a particular security role assigned to the user who has access to both entities mentioned above.