cancel
Showing results for 
Search instead for 
Did you mean: 

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

emike2
Explorer
0 Kudos

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

Accepted Solutions (0)

Answers (0)