cancel
Showing results for 
Search instead for 
Did you mean: 

Error in DIServer - Updating a Quotation -5002 Invalid value [OQUT.BPLId]

0 Kudos
162

Hello everyone,

I have the following issue when I try to update a Quotation with DIServer, this the request that I made:

<?xml version="1.0" encoding="UTF-16"?><env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
  <env:Header>
    <SessionID>30F0AD9B-8E84-4D60-BA5F-CD8FE9C54F40</SessionID>
  </env:Header>
  <env:Body>
    <dis:UpdateObject xmlns:dis="http://www.sap.com/SBO/DIS">
      <BOM>
        <BO>
          <AdmInfo>
            <Object>oQuotations</Object>
          </AdmInfo>
          <QueryParams>
            <DocEntry>206590</DocEntry>
          </QueryParams>
          <Documents>
            <row>
              <DocCurrency>CLP</DocCurrency>
              <DocumentsOwner>255</DocumentsOwner>
              <DiscountPercent>0</DiscountPercent>
              <Comments></Comments>
              <DocEntry>206590</DocEntry>
              <DocNum>206554</DocNum>
             
            </row>
          </Documents>
          <Document_Lines>
            <row>
              <Currency>CLP</Currency>
              <ItemDescription>VHC</ItemDescription>
              <LineNum>10</LineNum>
              <Quantity>1</Quantity>
              <TaxCode>IVA</TaxCode>
              <DiscountPercent>0</DiscountPercent>
              <FreeText></FreeText>
              <UnitPrice>0</UnitPrice>
            </row>
          </Document_Lines>
        </BO>
      </BOM>
    </dis:UpdateObject>
  </env:Body>
</env:Envelope>

And this is the response:

<?xml version="1.0"?><env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
  <env:Body>
    <env:Fault>
      <env:Code>
        <env:Value>env:Receiver</env:Value>
        <env:Subcode>
          <env:Value>-5002</env:Value>
        </env:Subcode>
      </env:Code>
      <env:Reason>
        <env:Text xml:lang="en">Valor no válido  [OQUT.BPLId]</env:Text>
      </env:Reason>
      <env:Detail>
        <Object>23</Object>
        <ObjectIndex>1</ObjectIndex>
        <Command>UpdateObject</Command>
        <SessionID>30F0AD9B-8E84-4D60-BA5F-CD8FE9C54F40</SessionID>
      </env:Detail>
    </env:Fault>
  </env:Body>
</env:Envelope>

Any comment about this could help me to get into the solution and each one will be well appreciated.

Thank for the help,

Accepted Solutions (0)

Answers (0)