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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Business Central forum

Suddenly sales order can not be added to Dynamics365 through oData

(0) ShareShare
ReportReport
Posted on by

The problem began on Jan,30. Before this it works well.

For example:

$data = array(
      'Document_Type'=>'Order',              
      'Sell_to_Customer_No'=>'C000001',
      'Posting_Date'=>'2018-02-02',
      'Order_Date'=>'2018-02-02',
      'Document_Date'=>'2018-02-02',
      'Tax_Area_Code'=>'NONE',
      'Payment_Terms_Code'=>'CC',
      'Payment_Method_Code'=>'CC'
)

URL:
https://foxitpdf.financials.dynamics.com:7048/MS/ODataV4/Company(xxxx)/Sales_Order 

After submitted, the response is:
 The Sale Header does not exist. Identification fields and values: Document Type=’Quote’,No.=

I'm confused about what to do next.

Many thanks!

Categories:
  • Community Member Profile Picture
    on at

    Leon,

    Most probably you've duplicate or renamed lines for Odata services Sales_Order on webwervices page and that it caused the error.

    Renamed the Page service name and should work fine.

    I'm on Build/Detailed Version: GB Dynamics NAV 11.0 (20361)

    Regards, Horia

  • Community Member Profile Picture
    on at

    Horia,

    Thank you for your answer.  No duplicated service name, I also tried to change the name, but the problem still exists.

    PS: Its Object ID is 42.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans