Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Several properties in the AX tables don't appear in the proxy code generated from AccountsPayableServices wsdl

(0) ShareShare
ReportReport
Posted on by 10

Hello all,

I am trying to create Proxy code (.cs file) using svcutil.exe over AccountsPayableServices wsdl (say: http://<FQDN>:8101/DynamicsAx/Services/AccountsPayableServices).

Underneath the class VendVendInvoiceService (inside AccountsPayableServices) there's a Table called VendInvoiceInfoTable which has a lot of Properties.

Now in the proxy code so formed by SvcUtil.exe, after I opened the class VendInvoiceInfoTable, I can find only some of the properties there, but not all.

Properties like Approver, Approved, Description, Ordering, Hold, etc and so many others are not present in the proxy code .cs file.

Below attached are screenshots of

  • VendInvoiceInfoTable in AOT showing its Properties like Approver and Approved.
  • VendInvoiceInfoTable class definition inside the proxy code so created which doesn't have these properties defined there.

6567.vendinvoiceinfotable.jpg

2019_5F00_03_5F00_19_5F00_15_5F00_29_5F00_41_5F00_Window.jpg

Why is it so? And how can I make sure these properties are available in the proxy code?

*This post is locked for comments

  • Martin Dráb Profile Picture
    Martin Dráb 230,458 Most Valuable Professional on at
    RE: Several properties in the AX tables don't appear in the proxy code generated from AccountsPayableServices wsdl

    Customize service contracts explains how you can configure fields on inbound ports.

    If the service doesn't support the fields you need (unfortunately I don't have any AX 2012 to consult), first thing about whether there isn't a reason for it. If you decide to change it, you should learn a bit about how AIF document services are developed. Creating New Document Services is a good starting point. When you update the query (if needed), you can follow steps documented in How to: Update a Service After Adding a Query Data Source.

  • SagnikMajumder Profile Picture
    SagnikMajumder 10 on at
    RE: Several properties in the AX tables don't appear in the proxy code generated from AccountsPayableServices wsdl

    Okay, I understand. But then if I want to expose one or more specific table fields through a document service, then what is the way? Can that be done? If Yes, then can you describe some steps or point me to a link/blog?

  • Suggested answer
    Martin Dráb Profile Picture
    Martin Dráb 230,458 Most Valuable Professional on at
    RE: Several properties in the AX tables don't appear in the proxy code generated from AccountsPayableServices wsdl

    Your assumption that all tables fields must be exposed outside AX is incorrect. They may be excluded from the document service completely or they can be deactivated in configuration of the inbound port.

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,711 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans