Skip to Content

createCancellationDocument Invoice

Hello experts,

I'm using SAP B1 9 PL 9-HF1 and B1iF 1.19.1, and I'm trying to cancel an Invoice but no success. Using CreateCancellationDocument method via SDK works like a charm. I compared the xml generated by B1iF and DI-API, I adjusted the few differences between, but didn't work too. Somebody has an idea?! The exception message from B1object call is great....any clue....😠

<Payload Role="C" id="atom8" system="0010000114">

<B1CallResult status="failure" b1login="Technical User" method="createCancellationDocument" objectid="13" payload="atom5" keyname="DocEntry" keyvalue="" />

</Payload>

Regards,

Leonardo Azevedo.

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 21, 2014 at 06:48 AM

    Hi Leonardo,

    It seems you didn't specify the keyvalue (the value of DocEntry) to identify the invoice which you want to call the method "createCancellationDocument" for. Could you please have a try after you set it? Thanks.

    Best regards,

    Jie

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 18, 2014 at 08:08 AM

    Hi Leonardo,

    It took me some time, since I had to instal B1if onto my 9.00 PL9 VM, but it works without any modification for me.

    Tried also the Cancel and Close operations which generate errors, but the CreateCancellationDocument is working correctly.

    Regards,

    Eric

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 19, 2015 at 12:08 PM

    Hi Leonardo,

    I want also to create a cancellation Invoice Scenario.

    But I don't know which Outbound I should use.

    Do you generate a B1-Object as Outbound?

    Perhaps you can post a example.

    This would be very helpful.

    Thanks and Regards

    Sabine


    cancellation.PNG (12.3 kB)
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.