Hi,
I am creating SalesOrder using AIF inbound port via File System adapter , i just successfully done this through this https://community.dynamics.com/ax/f/33/t/241809 but its creating salesOrder of only JournalType.
Then I changed it default sales order Type from AR parameters form but didn't work. Then I changed my data policies from AIF Inbound port and enable salesType element so i can pass salesType through Input XML massage and my xml massage is like this :
<?xml version="1.0" encoding="utf-8" ?>
<Envelope xmlns="schemas.microsoft.com/.../Message">
<Header>
<Action>schemas.microsoft.com/.../create</Action>
</Header>
<Body>
<MessageParts>
<SalesOrder xmlns="schemas.microsoft.com/.../SalesOrder">
<SalesTable class="entity">
<CustAccount>1136</CustAccount>
<DeliveryDate>2017-06-28</DeliveryDate>
<PurchOrderFormNum>PO</PurchOrderFormNum>
<ReceiptDateRequested>2017-06-28</ReceiptDateRequested>
<SalesLine class="entity">
<ItemId>6000</ItemId>
<SalesPrice>100</SalesPrice>
<SalesQty>1</SalesQty>
<SalesType>Sales</SalesType>
<SalesUnit>Quantity</SalesUnit>
</SalesLine>
</SalesTable>
</SalesOrder>
</MessageParts>
</Body>
</Envelope>
but it didn't work. Can anyone suggest please?
*This post is locked for comments