Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 175888

How to stop printing sales invoice

$
0
0

Hi, 

I need to block printing sales invoice in code. For free text invoices I can use PrintOut parameter which I'm changing in CustPostInvoiceJob.custPostInvoiceUpdate method when necesarry, but it doesn't work for invoices related to sales table. 

I need to change it in place where I will have access to CustInvoiceJour record. Blocking logic is complicated so let's say I want to block printing invoice if invoiceId ends with "2". 

Please advise how can I achieve this. 


Viewing all articles
Browse latest Browse all 175888

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>