Hi
I select a company in a lookup and depending on the selection I want to show FixedAssets in a drop down from the selected Company
How can I realize this?
You can use fixedasset.changecompany(<from company>);
and repeat the records of fixedasset and insert in a tempfixedasset record.
finally you can run the page as shown above by passing the tempfixedasset record and save the selected fixed asset no. in the field.
Hi, You can use the method below to open the record in another company for the user to select.
More details: https://yzhums.com/5985/#toc1
Hope this helps.
Thanks.
ZHU
Oh yes but how can I do this to show lookup values? They are shown by reference
Hi, you can use Record.ChangeCompany([Text]) Method to redirect references to table data from one company to another.
Here is a simple example:
Hope this can give you some hints.
Thanks.
ZHU
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,134 Super User 2024 Season 2
Martin Dráb 229,928 Most Valuable Professional
nmaenpaa 101,156