cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

Document No. must have a value in Sales Line

Hi,

I'm running into this issue for quite a while as i'm unable to get records into the sales line through MS Flow from Dynamics CRM Work Order to Dynamics NAV Sales Order. Attached is the screenshot below of the error from MS Flow:msflow_saleslines_docno_error.JPG

 

Would appreciate your help. Thanks in advance. 

3 REPLIES 3
Highlighted
Community Support
Community Support

Re: Document No. must have a value in Sales Line

Hi @NavBoy,

 

Could you please share a full screenshot of the configuration of your flow?

 

Please share more details so we would try to provide a proper workaround for you.

 

Best regards,

Alice

 

Highlighted
New Member

Re: Document No. must have a value in Sales Line

 

I have re-posted this message  

Highlighted
New Member

Re: Document No. must have a value in Sales Line

Hi,

 

We are currently working to integrate data between the Field Service Module of CRM and Sales Order Module of NAV. The synchronization example has been taken from this(https://www.youtube.com/watch?v=hAB4TDVMjxU) link. Accordingly, we have mapped the following entities: 

  1. (CRM)Account <---> Customer(NAV) 
  2. (CRM)Contact <----> Contact(NAV) 
  3. (CRM)Products <----> Items(NAV)
  4. (CRM)Work Order <---> Sales Order(NAV)

From the above, we are able to create the WO record in Sales Header whereas for Sales Line we are having issues with the primary keys(Doc No, Doc Type, Line No) in Sales Line which doesn't show in Flow for the NAV Create Item. For that, we added two additional fields, Document_No_CRM and Line_No_CRM, so that we could assign the values from CRM to these primary key fields in the OnInsert trigger on Sales Line table.

 

Let me know if you have any idea about this query. Thanks in advance!

 

Regards

Helpful resources

Announcements
secondImage

August 2020 CYST Winners!

Check out the winners of the recent 'Can You Solve These?' community challenge!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Users online (3,410)