I’m working with AX2012 R2 and would like to expose more AxSalesTable properties via the SalesSalesOrderService AIF.
Currently I have the SalesSalesOrderService exposed as RMPSalesOrder via AX AIF. I have a .net web service called SalesOrderService (SOS) which is my main entry point for all other internal .net applications to push orders into AX.
I’m tasked pushing orders through that will be direct deliveries and programmatically creating purchase orders for those sales orders.
Through my research I found that the AxSalesTable class is where I should be looking to expose an existing or new method.
For instance I’d like to be able to say whether or not it’s a DirectDelivery by exposing the InterCompanyDirectDelivery property.
The parm method is public

The set method is protected

Here is the .net side

All of the SalesTable properties are successfully set at this time except the highlighted one. This one is not set and always seems to default at NO.
I’ve attempted to make changes and then refresh the service but once I refresh the service I actually lose all references to the Axd* objects via the AIF web service.
How do I successfully expose the InterCompanyDirectDelivery and have that follow to the .net code so I can mark it on the sales order during creation?
Bonus Question: How do you refresh the AIF without kyboshing the rest of the references?