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 Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 683 Most Valuable Professional
André Arnaud de Cal... 563 Super User 2025 Season 2
Sohaib Cheema 398 User Group Leader