Skip to Content
0
Nov 25, 2022 at 08:35 AM

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

178 Views Last edit Nov 25, 2022 at 08:58 AM 2 rev

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.