cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Auto printing issue while adding marketing documents

user2001
Explorer
0 Kudos
289

Apparently I am facing the issue where when Ar credit memo is being added,it automatically prints without even giving me chance to preview the layout.surprisingly that that only happens with AR credit memo document.I have a checked the settings (document settings) under administration and print when adding checkbox is still unchecked.Can anyone help me to solve the issue.I don't want to print at credit memo layout directly while adding the document 

Accepted Solutions (0)

Answers (3)

Answers (3)

FarazMaqsud
Explorer
0 Kudos
  • Go to Tools → Print Preferences → Per Document tab

    • Select AR Credit Memo

    • Uncheck "When Adding Document"

    • Do this for both Default and your User ID

  • Go to Administration → Setup → General → Report and Layout Manager

    • Expand AR Credit Memo, select the assigned layout

    • Click Assign Layout

    • Make sure no auto-print rules or custom scripts are applied

  • Go to Tools → Add-on Manager

    • Disable any print-related add-ons (e.g., B1 Print & Delivery)

    • Test the behavior again

  • Go to Administration → System Initialization → Authorizations → General Authorizations

    • Under Document Printing → AR Credit Memo, ensure the user has Full Authorization

  • (Optional) Assign a blank or dummy layout to AR Credit Memo

    • If printing stops, the issue is in the previous layout or its rules

user2001
Explorer
0 Kudos

documentprint.png1.I did the first step by gong to print preferences but i am confused when you specified "do this both both default and user".

2.i have checked print and layout manager and i can confirm there is no custom scripts that allow auto printing.

3.There is no add ons.

4.i dont see document printing in authorization(i have attached the screenshot for your reference)

FarazMaqsud
Explorer
0 Kudos

FYIP,

FarazMaqsud_0-1752040243644.png

 

Ndubuisi_PALMER
Explorer
0 Kudos

Hi

The issue you're experiencing where the AR Credit Memo automatically prints upon adding, despite the "Print When Adding" checkbox being unchecked, is likely due to a user-specific or layout-specific configuration rather than a global document setting. First, go to Administration > Setup > General > Users, select your user, and check the Print Preferences tab to see if there is a specific rule set to auto print for AR Credit Memos under the “When Adding” column. If that is checked, uncheck it and save.

Next, check if there is any active add-on, such as B1 Usability Package (B1UP) or any custom script, that could be triggering an automatic print event upon the addition of AR Credit Memos. Temporarily disable those add-ons and test again to isolate the behavior. Also, navigate to Administration > Setup > General > Report and Layout Manager and locate the AR Credit Memo layout. Verify if there’s any layout assigned as a default that includes embedded auto-print logic or associated actions that might bypass the system dialog.

Additionally, go to Administration > System Initialization > Print Preferences and review both the General and Per Document tabs. Sometimes, document-specific print behaviors are controlled at this level and may override global settings. If you are using SAP Business One Web Client, also check the Form Settings under that interface since the behavior can differ from the desktop client.

If the issue persists only for your user, create a new user without any specific print preferences and test the AR Credit Memo process again. If the problem does not occur with the new user, the issue is user-specific. If the problem is system-wide, then it may be related to the layout or background process triggered during document creation.

Lastly, if none of the settings seem to cause this, as a temporary workaround you can redirect the print to a virtual or dummy printer (e.g., Microsoft Print to PDF) until the root cause is identified. If you are using a layout tool like Crystal Reports, ensure there’s no embedded print function or script within the report that triggers upon execution.

Best regards

user2001
Explorer
0 Kudos
Can you explain me how to redirect to virtual printer?.I am probably thinking page setup settings in Crystal report does not affect anything.And how to check for scripts in crystal report.I have check formula fields and nothing related to printing was mentioned
Ndubuisi_PALMER
Explorer
0 Kudos

Hi 

This issue in SAP Business One where the AR Credit Memo prints automatically upon adding, even though “Print on Add” is unchecked, can stem from a few possible root causes. Here's how you can troubleshoot and resolve it:

  1. Check Print Preferences per User
    Go to:
    Tools > Print Preferences > Per Document
    Select AR Credit Memo and ensure the “When Adding Document” checkbox is not selected for that specific user.
    Sometimes, this setting overrides the global Document Settings.

  2. User-Defined Print Layout Assignment
    Go to:
    Administration > Setup > General > Report and Layout Manager
    Under AR Credit Memo, check if there is a default layout that has the “Print When Adding” behavior enforced through code (e.g., PLD, Crystal, or formatted search behind the layout trigger).
    If a layout has embedded logic or automation (like event triggers), it might force a print.

  3. Check for Event-Based Add-ons or UI API Scripts
    If you have any add-ons or UI API customizations running (especially SDK scripts that trigger on FormType or ItemEvent), check if there’s an automated print action tied to the Credit Memo event.
    Focus on:

    • FormType = 179 (for AR Credit Memo)
    • ItemEvent.Type = et_FORM_ADD
  4. Default Printer Setup
    In some cases, a specific printer set as default for credit memos can auto-print based on rules defined outside SAP B1 (Windows default printer policies or SAP B1 Print Service rules).
    Check:
    Administration > Setup > General > Printer Per Document
    Make sure no default printer is forcing auto-print on document creation.

  5. System Message Settings
    Navigate to:
    Administration > System Initialization > Print Preferences > General
    Ensure that the “Display Print Layout Selection When Adding Documents” is enabled (this sometimes helps in overriding auto-print behavior).

  6. Crystal Layout Behavior (if used)
    If you are using Crystal Reports layouts, go to:
    Tools > Queries > Query Generator
    And check if any queries (or stored procedures) are linked to the AR Credit Memo layout that might execute a Print() function.

  7. Try with a Different User
    To rule out user-specific configuration, log in with another user profile and try adding an AR Credit Memo. If it doesn’t auto-print, the issue is likely user preference-based.

  8. Check SAP B1 version and PL (Patch Level)
    Some versions of SAP Business One (especially older ones) had bugs where layout printing would trigger by default regardless of settings. Make sure you are on a recent patch.

 

user2001
Explorer
0 Kudos

@Ndubuisi_PALMER I have checked all the methods you mentioned and it is not working yet.I am using sap b1 v10 desktop app.if you could explain solution with screenshot ,i would be grateful

user2001
Explorer
0 Kudos
I have checked all the methods you mentioned and it is not working yet.I am using sap b1 v10 desktop app.if you could explain solution with screenshot ,i would be grateful