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 :
Microsoft Dynamics AX (Archived)

Document Service Operation Update - Error 'The key field QuotationId cannot be updated.'

(0) ShareShare
ReportReport
Posted on by

Hi All,

Working on AX2009 document service related to sales Quotation process.

When we are trying to update the Quote ,getting issue like below.

The key field Quotation Id cannot be updated. Can you any one help me to fix this issue.

Thanks,

Br 

Here is my XML 

<soapenv:Envelope xmlns:soapenv="schemas.xmlsoap.org/.../envelope" xmlns:tem="http://tempuri.org"
xmlns:ent="schemas.microsoft.com/.../EntityKeyList"
xmlns:ent1="schemas.microsoft.com/.../EntityKey"
xmlns:dnt="schemas.microsoft.com/.../DNT_Quote">
<soapenv:Header/>
<soapenv:Body>
<tem:DNT_QuoteServiceUpdateRequest>
<!--Optional:-->
<ent:EntityKeyList>
<!--Zero or more repetitions:-->
<ent1:EntityKey>
<ent1:KeyData>
<!--1 or more repetitions:-->
<ent1:KeyField>
<ent1:Field>QuotationId</ent1:Field>
<ent1:Value>SQ00000087</ent1:Value>
</ent1:KeyField>
</ent1:KeyData>
</ent1:EntityKey>
</ent:EntityKeyList>
<!--Optional:-->
<dnt:DNT_Quote>
<!--Optional:-->
<dnt:SenderId>610</dnt:SenderId>
<!--Zero or more repetitions:-->
<dnt:SalesQuotationTable class="entity">
<!--Optional:-->
<dnt:_DocumentHash>3b4e25abb62345a67e490616cdaeec8e</dnt:_DocumentHash>
<!--Optional:-->
<dnt:BusRelAccount></dnt:BusRelAccount>
<!--Optional:-->
<dnt:CustAccount>120011</dnt:CustAccount>
<!--Optional:-->
<dnt:CustPurchaseOrder>test</dnt:CustPurchaseOrder>
<!--Optional:-->
<dnt:DiscPercent>10.00</dnt:DiscPercent>
<!--Optional:-->
<dnt:QuotationExpiryDate>2017-07-30</dnt:QuotationExpiryDate>
<!--Optional:-->
<dnt:QuotationStatus>Created</dnt:QuotationStatus>
<dnt:RecId>5639291588</dnt:RecId>
<dnt:RecVersion>1</dnt:RecVersion>
<!--Optional:-->
<dnt:SalesResponsible>0001</dnt:SalesResponsible>
<!--Zero or more repetitions:-->
<dnt:SalesQuotationLine class="entity">
<!--Optional:-->
<dnt:ItemId>005524</dnt:ItemId>
<!--Optional:-->
<dnt:LineDisc>0.00</dnt:LineDisc>
<!--Optional:-->
<dnt:LineNum>1</dnt:LineNum>
<!--Optional:-->
<dnt:LinePercent>10.00</dnt:LinePercent>
<dnt:RecId>5641345377</dnt:RecId>
<dnt:RecVersion>1</dnt:RecVersion>
<!--Optional:-->
<dnt:SalesPrice>688.41</dnt:SalesPrice>
<!--Optional:-->
<dnt:SalesQty>2</dnt:SalesQty>
<!--Optional:-->
<dnt:SalesUnit>EA</dnt:SalesUnit>
</dnt:SalesQuotationLine>
</dnt:SalesQuotationTable>
</dnt:DNT_Quote>
</tem:DNT_QuoteServiceUpdateRequest>
</soapenv:Body>
</soapenv:Envelope

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Hi , Did you fix this issue ? I have faced this same issue is any one help me to fix this issue..

  • Community Member Profile Picture
    on at

    Is there any AIF AX job to test document service class?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 39

#2
Michel ROY Profile Picture

Michel ROY 14

#3
imran ul haq Profile Picture

imran ul haq 8

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans