How to fetch foriegn key reference value on create screen

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • manosingh
    Member
    • Apr 2019
    • 62

    How to fetch foriegn key reference value on create screen

    Hi ,

    I need to fetch the value of one entity to another entity on create screen itself

    For example :

    I have Quote and Invoice entity

    we can create invoice against a quote , during creation time i need to fetch the value of quote number initially when the create fields are loaded in the invoice page.

    I have 2 entities 1. Quote (it has One-to-Many relationship with install) 2. Install ( it has Many-to-One relationship with quote ) in install section i try to get data of Quote , so for example i mapped Date quoted in the install section. I added the foreign fields in the install section having link with the Quote ,


    I already posted this question here and Maximus gave me a example on how to fetch , but it works only after submitting the form.

    I need the value to be displayed on create screen before save itself.
Working...