Hi,
The Product and Supplier entity has 1:N relationship where I have product lookup on supplier entity and subgrid on product entity. On creation of Supplier record from product subgrid, I would need to set the product record in supplier entity product field.
Could anyone please help with JS code for this business logic.
Thanks,
Leo
Hi Leo,
If you create Supplier record from the sub-grid of product, the product lookup on supplier entity will be populated automatically without any customizations.
The Product and Supplier entity has 1:N relationship, so field mapping will be created automatically between productid(Product) and product lookup field(Supplier).
Field mapping is a mechanism that maps one field to another, allowing data to be copied between corresponding records.
Test:
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,228 Super User 2024 Season 2
Martin Dráb 230,056 Most Valuable Professional
nmaenpaa 101,156