Showing results for 
Search instead for 
Did you mean: 

How to generate B1 pdf via B1if scenario, Crystal Report & B1if

0 Kudos

Hello Experts,

Could you please share any tutorial, document or example for generating B1 pdf via B1if.

I'd like to generate SAP B1 purchase order pdf file via B1if scenario when user add new purchase order in B1.

I have found some brief clue, but too simple to me:

Atom1: SQL #SELECT "Template" FROM RDOC WHERE "DocCode" = 'whatever'

Atom2: XSLT, prepare the parameters. Check the Crystal report for this.

Atom3: call Crystal, source type image, source and payload atom2

Atom4: XSLT, take the xci:result/bfa:io from the previous call

Atom5: save file atom

Thanks in advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

Product and Topic Expert
Product and Topic Expert

Hi xiongxl1989,

Refer to the following post:

Save generated Crystal Report into pdf file

Hope it helps!

Kind regards,


SAP Business One Support