on 01-10-2018 5:52 PM
Hi experts, I need to know if it is possible to put filename programmatically in the "Save As" of the Export to PDF in SAP Business One. See image below for reference:
I've created an add-on to export the document to PDF, but they want to automate the filename. Is that possible? I'm using the menu
SBO_Application.ActivateMenuItem("7176") <- export to PDF
I'm also interested in advice about this but seems that
SBO_Application.ActivateMenuItem("7176")
always asks the path of the resulting PDF.
From SAP application that behavior happens only if the menu is pressed under
File > Export > Export PDF
Instead when Export PDF is clicked by the toolbar the path is taken automatically from sap path conf.
Unfortanately it seems that SAP manage the same menuid in different ways instead sdk cannot distinguish the two different cases.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
7 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.