2

I'd like to add an extra field to the AX 2012 standard service "CustCustomerService" and "SalesLineService".

I think I have just to extend the query, that was used to create this service. But I have no idea how to find this queries.

Jan B. Kjeldsen
  • 17,817
  • 5
  • 32
  • 50
supertobi
  • 334
  • 2
  • 20

1 Answers1

1

Adding the fields to the class AxCustTable and AxSalesLine should do it.

The queries are named AxdCustomer and AxdSalesOrder. You do not need to add them there, as the fields are dynamically added at run time.

Jan B. Kjeldsen
  • 17,817
  • 5
  • 32
  • 50
  • What I'm trying is: 1. I added a field to the DirPartyPostalAddressView (This view ist used in the AxCustTable query) 2. Update the CustCustomerService including recreating the classes. 3. The new Field is in the classes AxDirPartyPostalAddressView and CustCustomer_DirPartyPostalAddressView 4. Deactivate/Activate the Service in AX. 5. Update the Service in my C# program... The new Field isn't there. Where could I've lost it? – supertobi Dec 07 '12 at 14:52
  • The restart of the AOS hasn't fixed the problem. :( – supertobi Dec 10 '12 at 12:53
  • Review your changes to `AxCustTable` to verify that your new field implementation is similar to other fields. – Jan B. Kjeldsen Dec 10 '12 at 13:19
  • All classes were OK. But I had to update the Service with the Form AifService. This form was in AX 2009 in the menu in AX 2012 it is only in the AOT. – supertobi Dec 11 '12 at 11:56