Script check to get value
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-09-2024 07:33 AM
Hello Experts,
We have "product inventory" table having "account field " and under that "Product characteristics" related lists available.
Requirement.
Account having "TSP" field and one "TSP" field on the interaction.
1.After creating a interaction Product.account.Tsp value need to update in the Interaction
Based on below script query mets. but below script is not working as expected
please correct me.
BR :After : Insert/update .
Table: Interaction.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-09-2024 07:40 AM
Hi @akin9 ,
Can you share the detail for BR, this BR on which table.
Share some screen shots of all three table record link.
-Thanks,
AshishKM
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-09-2024 08:27 AM
Hi @AshishKM
Thank you for quick reply!
BR :After : Insert/update .
Table: Interaction.
please let me know if any questions.Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-09-2024 10:05 AM
Thanks for sharing, try with the code shared by @Sandeep Rajput.
I think we can reduce one Glidequery over inventory if characteristice table has inventory column reference type. We can avoide while over inventory resultset.
characteristic.addQuery('inventory.account', current.acount) ; // manage for ref or string type
you can also try to comment the current.update() statement.
Share the update, if it works for you or not.
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2024 08:40 AM
@akin9 , just checking about status of this query, does it help or you still have problem with code.
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution