on 09-15-2011 11:49 PM
Hey guys,
My client had asked for a simple customization to the check print layout which was not possible via the Print Layout Designer. To resolve this, I recreated the check in Crystal Reports. This solution has worked out really well except that when the check is printed, it prints the check two times. I can't determine the cause of this duplication as it does not appear to be affected by any settings in Crystal or in Business One. I'm using two tokens: DocKey@, and ObjectID@. These seem to be working correctly.
The only complication that I can think of is that I've had to connect the address table (CRD1) in order to pull in the address in pieces as the client needed. I've linked the vendor code, and address name, and created a record selection to only return results where CRD1.AdresType = 'B'.
Does anyone have any idea what can cause this type of duplication?
Thanks,
Kevin
Hi Kevin..........
Check printing two times means is it showing same record two times in the same check or it is printing two time one by one on two different pages?
If first possibility then please check your Query for Crystal report used for Check Printing.
For Second Possibility please check the Document Printing in Sales AR or Print Preference option in Administration--> System Initialization and check No. of Copies for Check Printing by selecting check under Per Tab Dropdown......
Regards,
Rahul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Rahul,
I don't see any number of copies options under print preferences either on the general tab or the per document tab for the check print layouts. It's not a problem with the query because the print preview comes out as a single page. However, when I try to print preview in SAP, two separate windows open printing the same check.
The customer will want to use the document printing window in Sales A/R, but for now I'm simply testing hitting the print preview button while the check for payment window is open.
Do you have any other suggestions of what could cause this? I'm running 8.81 PL04. I thought maybe the problem was related to the tokens I'm using to connect Crystal to SAP.
Thanks,
Kevin
Hi Kevin......
Check this out.
When you select Checks for Payment in Dropdown then you are right the option for No. of copies does not appear but when you select Checks for Payment Option some options enabled under Print On and one of them is Check Stock and the moment you select this option you get two more radio button and select Overflow Blank Paper and you can find the No. of Copies Option.
Please check here.......
Also please check the same in Sales AR > Document Printing> Checks for Payment in Dropdown and No. of Copies exactly at the bottom of this window....
Regards,
Rahul
Edited by: RAHUL MOUNDEKAR on Sep 20, 2011 9:53 PM
Here's a Crystal Reports check / cheque layout you could start with: Crystal Reports Check / Cheque Layout for SAP Business One - YouTube
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi kelvin,
I found one solution for Duplicate problem. In sap, one customer has more than one address. If customer has multiple address, duplicate problem will occur coz of relationship. Please check the customer code you want to filter. I think it has multiple address. You can use the the following script to check it.
select * from ocrd where card code='----
'
select * from crd1 where card code='----
'
If my thought is right, you need to fix this problem. I solved this problem by setting standard address of customer.
If you have any question, please let me know.
zzymt (myanmar)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey all,
Thanks for the input, unfortunately none of these seemed to help. However, after further testing I believe that this is a bug in SAP. When I try to print the check using document printing, I get an error message that says "Missing parameter values". This is the same error that is described in SAP note 1466274.
I'm using SAP 8.81 PL04 so I expected that this bug would have been resolved, but the print layout is rock solid. I've tested it directly against the SQL database and there are no problems. It only prints a single page. The duplication occurs on the print level, not on the page level and only when I choose the Print Preview button. If I print from the check for payment window, it seems to work alright. However, print preview or printing from document printing causes errors or duplication.
I am logging this issue with SAP for additional support.
Thanks again!
Kevin
Hey guys,
I have some new information. After investigating this issue in other databases, we did not replicate the same issue. We now believe that this issue is related to functionality unique to having multiple currencies or operating in a Canadian localization.
When we run the document printing wizard, we get an error from Crystal saying that there is a missing parameter. I believe that this is a missing token, but I cannot figure out what that token should be. I've already included DocKey@ and ObjectID@ which is good enough to work on a US localization database, but there must be another token which I am unaware of.
After double checking the query produced by this report, it produces only a single record.
Does anyone know of additional tokens beyond the DocKey@r ObjectID@ that may be essential to a check print layout?
Thanks,
Kevin
Edited by: Kevin Lee on Oct 4, 2011 8:25 PM
Hi,
Did you printing without the link address lets try if that cause of the problem.
Thanks.
Clint
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can try running the query first if the result have 2 values.
Please try also check the printer settings and set the Printer quality to the highest value.
Thanks.
Clint
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.