Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Answered

The Customer does not exist. Identification fields and values: No.=''

Posted on by 443

Hello Team,

I use the following web service to update the Customer Entries:

UPDATE: host:port/.../CRONUS Canada, Inc./Page/ApplyCustomerEntries

Request:
<soapenv:Envelope xmlns:soapenv="">schemas.xmlsoap.org/.../" xmlns:app="urn:microsoft-dynamics-schemas/page/applycustomerentries">
<soapenv:Header/>
<soapenv:Body>
<app:Update>
<app:ApplyCustomerEntries>
<app:ApplyingCustLedgEntry_Posting_Date>2022-01-12</app:ApplyingCustLedgEntry_Posting_Date>
<app:ApplyingCustLedgEntry_Document_No>V03039</app:ApplyingCustLedgEntry_Document_No>
<app:ApplyingCustomerNo>C00100</app:ApplyingCustomerNo>
<app:ApplyingCustLedgEntry_Currency_Code>USD</app:ApplyingCustLedgEntry_Currency_Code>
<app:ApplyingCustLedgEntry_Amount>100</app:ApplyingCustLedgEntry_Amount>
<app:AppliesToID>V03039</app:AppliesToID>
<app:Posting_Date>2022-01-12</app:Posting_Date>
<app:Document_Type>Invoice</app:Document_Type>
<app:Document_No>103092</app:Document_No>
<app:Customer_No>C00100</app:Customer_No>
<app:Description></app:Description>
<app:Currency_Code>USD</app:Currency_Code>
<app:Original_Amount>10</app:Original_Amount>
<app:Amount>10</app:Amount>
<app:Amount_to_Apply>5</app:Amount_to_Apply>
</app:ApplyCustomerEntries>
</app:Update>
</soapenv:Body>
</soapenv:Envelope>

But Navision returns the error message:

<s:Envelope xmlns:s="
">schemas.xmlsoap.org/.../">
<s:Body>
<s:Fault>
<faultcode xmlns:a="urn:microsoft-dynamics-schemas/error">a:Microsoft.Dynamics.Nav.Types.Exceptions.NavCSideRecordNotFoundException</faultcode>
<faultstring xml:lang="en-US">The Customer does not exist. Identification fields and values: No.=''</faultstring>
<detail>
<string xmlns="">schemas.microsoft.com/.../">The Customer does not exist. Identification fields and values: No.=''</string>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>

Could you recommend how to solve this error?

In Navision, I have the Customer C00100

pastedimage1641971223287v1.png

  • Verified answer
    Andrew1986 Profile Picture
    Andrew1986 443 on at
    RE: The Customer does not exist. Identification fields and values: No.=''

    Thank you!

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,696 Super User 2024 Season 2 on at
    RE: The Customer does not exist. Identification fields and values: No.=''

    Hi, It looks like you are publishing the page Apply Customer Entries (232) directly in the Web Service.

    I think this page can't work very well, because it will perform a lot of logic processing when it is opened with Action on the page, and there is no such processing when the page is opened directly.

    pastedimage1643068370208v1.png

    pastedimage1643068515990v2.png

    For example:

    If you run this object in Development Environment, you will get the same error. This has nothing to do with your Post.

    pastedimage1643068603309v4.png

    pastedimage1643068575811v3.png

    Hope this will help.

    Thanks.

    ZHU

  • Andrew1986 Profile Picture
    Andrew1986 443 on at
    RE: The Customer does not exist. Identification fields and values: No.=''

    I don't have the developer license to start the debug process.

  • Suggested answer
    RockwithNav Profile Picture
    RockwithNav 6,562 on at
    RE: The Customer does not exist. Identification fields and values: No.=''

    Did you tried debugging the Webservice?

  • Suggested answer
    Marco Mels Profile Picture
    Marco Mels on at
    RE: The Customer does not exist. Identification fields and values: No.=''

    Hello,

    If you do not get further traction from the community, feel free to raise this issue to Microsoft via your partner or CSP.

    Thanks.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans