Quantcast
Channel: SCN: Message List - SAP Business One Integration Technology
Viewing all articles
Browse latest Browse all 973

Re: B1toFile Scenario and large delivery notes

$
0
0

Hi Stefan,

 

one option is to define the B1 Inbound retrieval via JDBC instead of DI API.

Switch parameter "Retrieval Adapter" to "JDBC" and "Retrieval Type" to "SQL".

Behind button "Details" enter your SQL statement to retrieve the Delivery fields you want to have:

SELECT * FROM ODLN WHERE DocEntry = '$DocEntry'

 

In the example above $DocEntry is a placeholder for the key handed over via B1 event, you can also use $key.

 

Using JDBC inbound gives you the possibility to customize the fields you really need via SQL statement to avoid any overhead.

And it's much faster than DI API retrieval.

 

Best regards

Bastian

 

P.S.: Be aware that JDBC retrievals need to be addressed via namespace jdbc, e.g. $msg/jdbc:SqlResult/jdbc:ResultSet/jdbc:Row/jdbc:DocNum to retrieve the DocumentNumber from example below:

Capture.PNG


Viewing all articles
Browse latest Browse all 973

Trending Articles



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