Skip to Content

Sap Business One Integration Framework - add Business Prtner - Transaction Notification error

Hi experts,
I need to do a simple scenario: add/update Business Partner. I need to log if process is successful or not to table. I usually used to catch DI add/update result and check last error. If object is correct B1IF secenario works well. But when object do not meet conditions and Transaction Notyfication prevent to add/update object with error number and description for example "(202) TEST U_SCONSO can't be blank" scenario fails.


In final block there is information:

<Payload xmlns="urn:com.sap.b1i.vplatform:entity" Role="C" id="atom1" system="0010000103" status="success" b1login="Technical User" method="updateWithSubDeletion" objectid="2" payload="atom2" keyname="CardCode" keyvalue="VHQ1068t" DIresult="success" DImsg=""/> <vpf:Payload Role="R" id="atom0" ts="2020/03/20 08:49:49" pltype="xml"/>

My question: how to handle this situation? I need to catch DI error and store this information in table amd/or resend to sender. Event if scenario did not add/update object it should not be threted as failed.

Best regards
Michal

b1if01.png (11.3 kB)
b1if02.png (15.1 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

0 Answers

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.