Skip to main content
Question

How to stop External Tax Provider re-execution programmatically on Sales Order Save

  • August 24, 2023
  • 2 replies
  • 108 views

vivekm
Varsity II
Forum|alt.badge.img

Hi Team,

I am using TAXJAR (in Acumatica Build 22.106.0015) as an external tax provider to calculate taxes. I have a customization on the Sales Order screen. I have written logic in ‘Remove Hold’ action. As per core Acumatica implementation Remove Hold execution results in executing Persist() method and that ultimately initiates the external Tax Provider, which re-calculates taxes.

But I do not want this to happen. So when my custom code executes on Remove Hold the external Tax Plugin Provider should not execute and re-calculate taxes and remains as it is.

Is there a way to achieve this, can you please let me know the best possible way to achieve this.

 

Thank you in advance!

 

2 replies

Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • August 27, 2023

Hi @vivekm  I’m not 100% sure but have you tried by setting the IsTaxValid  = True to skip the Tax calculation?


vivekm
Varsity II
Forum|alt.badge.img
  • Author
  • Varsity II
  • August 28, 2023

Hi @Naveen Boga thank you for the response. Yes, have tried with that but that doesn’t worked.