Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

AIF Inbound PO (850) to Create a Sales Order

(0) ShareShare
ReportReport
Posted on by 5

Dynamics AX 2012 R3 CU13

Trying to use the AIF services to create a sales order and I am getting an error and can't figure out where to find and correct.

The Queue manger/Exception log attached here.

Any direct or help is greatly appreciated.

Blog-Posting-of-AIF-SalesCreate-Issue.docx

  • rickzi Profile Picture
    rickzi 5 on at
    RE: AIF Inbound PO (850) to Create a Sales Order

    We use Data Masons as our EDI provider. The incoming data is mapped into a Data Masons map which in turn creates the XML output for AIF to pickup.

    Can you be specific and tell me what part of the XML needs removed?

    <?xml version="1.0" encoding="UTF-8" ?>
    - <Header>
      <MessageId>{BD9CDAB2-4120-4E4C-9D57-6FD5F056AC69}</MessageId>
      <LogonAsUser>MPG\zizakr</LogonAsUser>
      <PartitionKey />
      <Company>100</Company>
      <RequestMessageId>{BD9CDAB2-4120-4E4C-9D57-6FD5F056AC69}</RequestMessageId>
      </Header>
    - <Body>
    - <MessageParts xmlns="schemas.microsoft.com/.../Message">
    - <SalesTable class="entity">
      <CurrencyCode>USD</CurrencyCode>
      <CustAccount>405575</CustAccount>
      <CustomerRef>5500</CustomerRef>
      <Deadline>2020-01-26</Deadline>
      <DeliveryDate>2019-12-27</DeliveryDate>
      <DeliveryName>SHORTRUN FORMS</DeliveryName>
      <MilAddrRoute>D</MilAddrRoute>
      <MilAddrStop>1</MilAddrStop>
      <PurchOrderFormNum>5736</PurchOrderFormNum>
      <ReceiptDateRequested>2019-12-27</ReceiptDateRequested>
      <SalesOriginId>EDI</SalesOriginId>
      <ShippingDateRequested>2019-12-27</ShippingDateRequested>
    - <TableDlvAddr class="entity">
      <City>BOHEMIA</City>
      <CountryRegionId>USA</CountryRegionId>
      <LocationName>SHORTRUN FORMS</LocationName>
      <State>NE</State>
      <Street>171 KEYLAND COURT</Street>
      <ZipCode>11716</ZipCode>
      </TableDlvAddr>
    - <SalesLine class="entity">
      <CustomerLineNum>1</CustomerLineNum>
      <ExternalItemId />
      <InventDimId>DIM087099</InventDimId>
      <ItemId>AF0302</ItemId>
      <MilCostMeans>M</MilCostMeans>
      <MillItemNumber>9611 8 1/2" 40</MillItemNumber>
      <ReceiptDateConfirmed>2019-12-27</ReceiptDateConfirmed>
      <ReceiptDateRequested>2019-12-27</ReceiptDateRequested>
      <SalesPrice>0.00</SalesPrice>
      <SalesQty>1440.00</SalesQty>
      <SalesUnit>LB</SalesUnit>
      <ShippingDateConfirmed>2019-12-27</ShippingDateConfirmed>
      <ShippingDateRequested>2019-12-27</ShippingDateRequested>
    - <LineDlvAddr class="entity">
      <City>BOHEMIA</City>
      <CountryRegionId>USA</CountryRegionId>
      <LocationName>SHORTRUN FORMS</LocationName>
      <State>NE</State>
      <Street>171 KEYLAND COURT</Street>
      <ZipCode>11716</ZipCode>
      </LineDlvAddr>
      </SalesLine>
    - <SalesLine class="entity">
      <CustomerLineNum>2</CustomerLineNum>
      <ExternalItemId />
      <InventDimId>DIM087099</InventDimId>
      <ItemId>AF0761</ItemId>
      <MilCostMeans>M</MilCostMeans>
      <MillItemNumber>10835 9 7/8" 40</MillItemNumber>
      <ReceiptDateConfirmed>2019-12-27</ReceiptDateConfirmed>
      <ReceiptDateRequested>2019-12-27</ReceiptDateRequested>
      <SalesPrice>0.00</SalesPrice>
      <SalesQty>586.00</SalesQty>
      <SalesUnit>LB</SalesUnit>
      <ShippingDateConfirmed>2019-12-27</ShippingDateConfirmed>
      <ShippingDateRequested>2019-12-27</ShippingDateRequested>
    - <LineDlvAddr class="entity">
      <City>BOHEMIA</City>
      <CountryRegionId>USA</CountryRegionId>
      <LocationName>SHORTRUN FORMS</LocationName>
      <State>NE</State>
      <Street>171 KEYLAND COURT</Street>
      <ZipCode>11716</ZipCode>
      </LineDlvAddr>
      </SalesLine>
  • Verified answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 292,494 Super User 2025 Season 1 on at
    RE: AIF Inbound PO (850) to Create a Sales Order

    Hi Rickzi,

    Was this xml created by AX2012? There is en enveloppe at the beginning of this message. I think you need to remove that enveloppe using a translation stylesheet in the inbound pipeline.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,307 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans