B1UP Service Component - Print / PrintWebService for WebApplication, WebApps (Crystal Reports) Answered
At the moment the B1UP Service Component could start a Print Job every 5 minutes.
- At the moment the Boyum print service could just schedule
- In the age of webservices and webapps and real time we have problems with only schedule a print job
- Why the Boyum print service could not listen to a port for an POST request to give him parameters to start a print by request side by side to his schedule job
business case example:
WebApp for adding goods receipt to the warehouse, after adding there should be printed all labels for the items which are booked to the warehouse to get them structured. At the moment you have to wait 5 minutes until the B1 Service Component start the print.
For example 1 (to print directly):
Request
POST http://serverWhereBoyumPrintServiceInstalled:8080/Print
{
ConfigurationId:"f46fe59d-c85d-4785-9247-929107de9976",
DocEntry: 126549,
Mode: 'Print'
}
Response
{
Message: "Print send to printer xxx"
}
For example 2 (for web client):
Request
POST http://serverWhereBoyumPrintServiceInstalled:8080/Print
{
ConfigurationId:"f46fe59d-c85d-4785-9247-929107de9976",
DocEntry: 126549,
Mode: 'Base64'
}
Response -> Stream PrintedDocument.pdf
{
data: "JVBERi0xLjcN....Ui9JbmZvIDg0OCAwIFIvSURbPDQ2QTdCNjIyMUEyNDY2NDNCM0EyNjM4Qzc0MjE4NDdCPjw0NkE3QjYyMjFBMjQ2NjQzQjNBMjYzOEM3NDIxODQ3Qj5dIC9QcmV2IDEzMzEwMDcvWFJlZlN0bSAxMzI5MDQ0Pj4NCnN0YXJ0eHJlZg0KMTM0ODQ4OQ0KJSVFT0Y="
}
Comments
12 comments
Please note that we only count one vote per company so no need to vote more than one from the same company
Hi Rasmus, thank you for the information. OK so.
What do you think about this feature request? Is the description fOK as generic explanation?
The explanation is fine and clear but honestly, I'm not that keen on the idea itself It is quite old-fashioned to print anything these days IMHO (we do everything email; no need to get rid of more rain-forest). It is also not the trend to make internal services that people need to struggle opening ports internally causing all kind of support.
I see a more possible solution (although SAP is not technically ready for it yet) is a cloud service that does something like this (but again mostly used for Email and not printing) is more likely to be made from Boyum.
But let's see. We are driven by what most people want and if enough vote for this from different companies we might change our opinion.
Hi Rasmus,
here you're right. The use case is from the eCommerce area. The best example here is Amazon itself, they send in most packages the delivery note as a printed document in addition. Actually a common process at eCommerce companies.
Best regards Simon
Rasmus Jensen:
https://influence.sap.com/sap/ino/#/idea/230088
Is your feature request referencing this thread?
Yes, that is related... (the technical part SAP was not yet ready for)... We have some long-term plans at some point to do something with the above and service layer, but still a bit too early to start working on it.
Sounds good...
We are on a point where we have to decide to wait for a product feature like that, or implement the full process by our self.
So your plan is that you go over the Crystal Report B1ServiceLayer API and work on to get B1Print&Delivery Crystal Reports exposed?
As mentioned it is a long term goal, but honestly not something that I expect we begin in the first half of 2020. After that is unknown, so if you need it here and now it is best to go with your own tailor-made solution
Your feature request have been delivered by SAP Business One Production team.
Allow Service Layer to interact with Crystal Reports
https://support.boyum-it.com/hc/en-us/community/posts/360034251354-B1UP-Service-Component-Print-PrintWebService-for-WebApplication-WebApps-Crystal-Reports-
We have actually started the first experiments with the new service last week but unfortunately, we have not managed to get it working yet (SAP documentation is very sparse on how this actually works).. But that is most likely beginners' problems.
There are however 4 big hurdles to overcome before it can actually become a product:
The main issue (as always) is that we do not control the SAP part (bullet 1 and 2)…It is hard to know a timeline for this… (to perhaps the point that we might consider your first request and make it on the old Server-component manner if it takes too long because you are not the only ones asking for a more on-demand execution of B1P&D).
Rasmus Jensen: Any news about this thread? We get this topic for every new project..
We are working on cloud solutions for printing, but it is very early in development... So don't expect anything this year :-/
Please sign in to leave a comment.