web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Error creating order l...
Power Automate
Unanswered

Error creating order line in Dynamics 365 for Operations

(0) ShareShare
ReportReport
Posted on by

Hi

 

I am using the Dynamics 365 for Operations - Create record connector to create an order in AX 7. I am able to create SalesOrderHeader record but in the second step when I try to create SalesOrderLines, I get the following error:

Body

{ "status": 400, "message": "Write validation failed for table row of type 'SalesOrderLineEntity'. Infolog: .", "source": "xxxxxxx.cloudax.dynamics.com", "errors": [] }
 
One thing I noticed is the connector does not allow me to pass SalesOrderNumber parameter. Can someone please help with this issue.
 
Thanks
Categories:
  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi Mirhassanali,

     

    Are you creating a flow with Dynamics 365? For better understanding, could you show me a screenshot of your flow configuration to reproduce this issue?

     

    Best regards,
    Mabel Mao

  • DiwakaraAtchi Profile Picture
    Microsoft Employee on at

    Hi,

     

    I think you are unintentionally importing a sales order line without the sales order header. For example, you are importing SO line with salesId "SO-000009" and "SO-000009" doesnt exists in the SalesTable. The reason could also be that you are trying to import SO line in a non-default company without setting the "dataAreaId". Basically if the system couldnt find the SO you are trying to import, it throws this error.

     

    Regards

    Diwakara

  • GabrielStJohn Profile Picture
    Microsoft Employee on at

    Hey, @mirhassanali!

     

    It appears as though @v-yamao-msft would like some more information in order to further assist you properly with your issue. Please share any additional information that was requested in order to decrease the amount of time that it will take for you to be assisted!

     

    Thank you for being an active member of the Flow Community!

    -Gabriel
    Flow Community Manager

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 377

#2
11manish Profile Picture

11manish 292 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 128

Last 30 days Overall leaderboard