SDK throwing warning message while posting Purchase Invoice

Suggested

For 2 way match scenarios, the SDK returns a warning message -

“You have not matched some or all of the invoice quantities to receipts. If you accept the invoice the system will automatically match any unmatched invoice quantities against the next receipts entered for the affected order lines. Do you wish to continue?”

This message aligns to ERP behaviour, but, my application runs a batch of invoices for posting and doesn’t have real time user interaction in order to respond to the above message.
Is there a way to override this message and proceed to Invoice posting always.

2 way match scenario I tested -

  1. Create a Purchase Order
  2. Do not receive deliveries
  3. Directly Record Invoice for this PO. ( PS: Pos shouldn’t have any receivings)