Hello Everyone,
I have created a view with CustTable as a data source and I need Customer Name as Field in my View. Can anyone give me the X++ code of method for this.
Thanks In advance.
Regards,
Prem Sai.
Join DirPartyTable with CustTable and take Name field from there.
HI Prem,
As Martin mentioned CustTable will have field named Party. This field you can add related with DirPartyTable.RecId.
Using this relation, you can get name of the customer.
Thanks,
Girish S.
Hi, You can check CustAccountName view. It has already implemented the table joins and exposed AccountNum and Name field.
Thank You all
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
André Arnaud de Cal... 756 Super User 2025 Season 2
CA Neeraj Kumar 678
Martin Dráb 526 Most Valuable Professional