AX2009. We have our AR parameters for AIF default Order Type to "Sales Order". However, there are instances where orders must come in as "Journal" type. Changing the SalesType in the xml to "Journal" does not seem to work. Is there a way to do accomplish this, maybe at the Endpoint setup? Thanks.
Asked
Active
Viewed 837 times
1
-
not sure this is a programming question? – AnthonyBlake Aug 29 '13 at 08:33
-
Can you show us some code? – supertobi Aug 29 '13 at 11:07
1 Answers
1
This parameter is called in the Class AxdSalesOrder in the method prepareSalesOrder as follows:
_axSalesTable.parmSalesType(this.SalesType());
This sets the sales type to the sales type held in your AR parameters. in this method, you can add code to change the parmSalesType to be SalesType::Journal
based on whatever criteria you specify.

Michael Brown
- 2,221
- 2
- 17
- 34