cancel
Showing results for 
Search instead for 
Did you mean: 

Cancel AR invoice using b1if

Former Member
0 Kudos

How to cancel AR invoice using b1if?

Accepted Solutions (1)

Accepted Solutions (1)

jan_polak
Participant
0 Kudos

Hi,

B1atom with #createCancellationDocument method.

Jan

Former Member
0 Kudos

Hi Jan,

sorry for the delay, I tested with #createCancellationDocument method. But  following error message came.


<Payload Role="C" id="atom1" system="0010000101" status="success" b1login="Technical User" method="createCancellationDocument" objectid="13" payload="atom2"keyname="DocEntry" keyvalue="23" DIresult="failure" DImsg=" Exception : B1 Transaction was terminated implicitly by DI-API but no exception shall be thrown; probably, subsequent DI-calls within this transaction will fail!"/>




This is the input, I given in the atom2

<QueryParams xmlns="">

<DocType>I</DocType>

<DocEntry>23</DocEntry>

</QueryParams>

<Documents xmlns="">

<row>

<DocEntry>23</DocEntry>

<EDocStatus>C</EDocStatus>

<CancelDate>20160202</CancelDate>

<JournalMemo>Canceled</JournalMemo>

</row>

</Documents>

</Payload>

Vijay

jan_polak
Participant
0 Kudos

Hi Vijay,

first try without predecessor values like this

Jan

Former Member
0 Kudos

Hi Jan,

Thank u. It is working.

Vijay

Answers (0)