Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3441

DI Server - Cancel Invoice

$
0
0

Hi, I am using DI Server and want cancel invoice, i used this two options that i find in help files and forums:

 

<?xml version="1.0" encoding="utf-16"?>

  <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">

  <env:Header>

    <SessionID>06DE43F1-8B2C-4C74-95F7-61A7D534125D</SessionID>

  </env:Header>

  <env:Body>

    <dis:CancelObject xmlns:dis="http://www.sap.com/SBO/DIS">

      <BOM>

        <BO>

          <AdmInfo>

            <Object>oInvoices</Object>

          </AdmInfo>

          <QueryParams>

            <DocEntry>64403</DocEntry>

          </QueryParams>

        </BO>

      </BOM>

    </dis:CancelObject>

  </env:Body>

</env:Envelope>

 

 

 

<?xml version="1.0" encoding="utf-16"?>

<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">

  <env:Header>

    <SessionID>77510B8D-1C09-48C7-98BC-C461358FE2C7</SessionID>

  </env:Header>

  <env:Body>

    <dis:Cancel xmlns:dis="http://www.sap.com/SBO/DIS">

      <Service>InvoicesService</Service>

      <Document>

        <DocEntry>64403</DocEntry>

      </Document>

    </dis:Cancel>

  </env:Body>

</env:Envelope>

 

In two cases i get error: The requested action is not supported for this object

 

<?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:Sender</env:Value><env:Subcode><env:Value>-5006</env:Value></env:Subcode></env:Code><env:Reason><env:Text xml:lang="en">La acción solicitada no está soportada para este objeto</env:Text></env:Reason><env:Detail><Service>InvoicesService</Service><Command>Cancel</Command><SessionID>77510B8D-1C09-48C7-98BC-C461358FE2C7</SessionID></env:Detail></env:Fault></env:Body></env:Envelope>

 

¿How i can cancel invoice with DI Server?

 

Regards


Viewing all articles
Browse latest Browse all 3441

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>