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)