Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Can't view x++ methods of a table in any model in VS for D365 F&O

(0) ShareShare
ReportReport
Posted on by 58
How can I view the methods under a table ( table in Application suite or customized model).
 
for any model I'm not able to /View Code/ F7, it's disabled for me in visual studio.
  • Layan Jwei Profile Picture
    7,780 Super User 2025 Season 1 on at
    Can't view x++ methods of a table in any model in VS for D365 F&O
    Hi Eagle,
     
    Is this a new VM that was deployed? If not, then was it working before?

    Also can u access other table methods in different standard models? Like application foundation..etc
  • Suggested answer
    EagleClaws Profile Picture
    58 on at
    Can't view x++ methods of a table in any model in VS for D365 F&O
    The application suite model is not available, only there's "Application Suite Form Adaptor" and when I select this one the "Locked" check box is false.
     
  • Judy Profile Picture
    Microsoft Employee on at
    Can't view x++ methods of a table in any model in VS for D365 F&O
    Moved to Finance Forum.
  • Layan Jwei Profile Picture
    7,780 Super User 2025 Season 1 on at
    Can't view x++ methods of a table in any model in VS for D365 F&O
    Hi Eagle,

    Is your question answered? if yes, then please verify the answers that helped.

    Thanks,
    Layan Jweihan
    Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future
  • Layan Jwei Profile Picture
    7,780 Super User 2025 Season 1 on at
    Can't view x++ methods of a table in any model in VS for D365 F&O
    Hi Eagle,
     
    Normally you should be able to access the code. When you first download the VM, this model is not locked. So maybe you locked it manually?
     
    Check this link
     
    Thanks,
    Layan Jweihan
    Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future
     
  • Suggested answer
    Mohamed Amine Mahmoudi Profile Picture
    22,125 Super User 2025 Season 1 on at
    Can't view x++ methods of a table in any model in VS for D365 F&O
    Hi @EagleClaws,
     
    I think the model is locked.
    Otherwise when you launch the VM in MS learn the models are open by default.
    is worked for me
    Best regards,
    Mohamed Amine MAHMOUDI
  • EagleClaws Profile Picture
    58 on at
    Can't view x++ methods of a table in any model in VS for D365 F&O
    Dear Mohamed and Layan, thank you for your time and reply, however the solutions provided didn't help.
     
    There's no "Go To Table" available for me,
     
     
    There's no view code option available "Application suite" model of the SalesTable either. I've selected the standard table in AOT.
     
  • Suggested answer
    Layan Jwei Profile Picture
    7,780 Super User 2025 Season 1 on at
    Can't view x++ methods of a table in any model in VS for D365 F&O
    Hi EagleClaws,

    For a table inside "ApplicationSuite" or any model, you can easily and directly access the methods



    However, if for an extension of SalesTable, you can't access the methods directly. As Mohamed said, you will need to go to the standard table to access those methods as in the first screenshot


    Thanks,
    Layan Jweihan
    Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future
  • Suggested answer
    Mohamed Amine Mahmoudi Profile Picture
    22,125 Super User 2025 Season 1 on at
    Can't view x++ methods of a table in any model in VS for D365 F&O
    Hi,
    you can't see the code in a Table Extension.
    if you want to see the methods, you have to open the standard table.
     
    e.g.
    CustTable Extension
    you must click on Go To Table XXX
    CustTable
    Best regards,
    Mohamed Amine MAHMOUDI

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.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,261 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,004 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans