How to suppress the Dialog box when posting journals in Business central?

Hi All,

I am trying to suppress the dialog box that displays "Do you want to Post the journal lines?" while posting the journals.

The above dialog box is from codeunit  "Gen. Jnl.-Post" .

How this can be achieved? 

Related
Recommended