Skip to main content
Solved

How to disable print option on sales order when it is in pending for approval status

  • Oct 8, 2024 4:58 PM UTC
  • 5 replies
  • 193 views
  • Translate All

Forum|alt.badge.img

Hi,

 

We want to disable print option on sales order  whenever it is in pending approval or open status.

In our scenario we want to disable to print forms.

 

I have tried solution advised in below link but it work only disabling one print option and not both. When I tries adding second condition first print option is not visible instated of getting disable.

 

 

Customization project for first print form:

 

 

Customization project for second print form:

 

 

 

Best answer by aiwan

Hi @suchit39 

 

You should:

Create a new workflow, which you can customise, based on the SO workflow; you are unable to modify the default workflows without code.

Then add the action to the desired statuses, omitting from statuses which you don’t want the action to be available in.

 

Aleks

View original

5 replies

dcomerford
Captain II
Forum|alt.badge.img+16
  • Captain II
  • Oct 8, 2024 5:03 PM UTC

@suchit39 You conditions on the second one are set to ‘And’ not ‘Or’

Translate

Forum|alt.badge.img
  • Author
  • Freshman I
  • Oct 9, 2024 2:07 AM UTC

Hi @dcomerford 

I have change my condition from and to or but still only second print option (Sales order PS) is visible and first got disappear (Sales order MS) instated of getting disable. 

 

 

 

Translate

Forum|alt.badge.img+11
  • Captain II
  • Oct 9, 2024 8:30 AM UTC

Hi @suchit39 

 

You could amend the workflow to disable those reports within the statuses.

If you untick this box:

It should deactivate the action for that status.

 

Hope this helps,

Aleks

Translate

Forum|alt.badge.img
  • Author
  • Freshman I
  • Oct 10, 2024 2:27 AM UTC

Hi @aiwan 

 

I have checked this but our print option are not listed in action screen to uncheck also I am not able to add it. Print forms I want to disable are customized forms highlighted in second screenshot.

 

 

 

Translate

Forum|alt.badge.img+11
  • Captain II
  • Answer
  • Oct 10, 2024 10:11 AM UTC

Hi @suchit39 

 

You should:

Create a new workflow, which you can customise, based on the SO workflow; you are unable to modify the default workflows without code.

Then add the action to the desired statuses, omitting from statuses which you don’t want the action to be available in.

 

Aleks

Translate