Receipt of Service Item automatically ends production

Hi,

Scenario:

Production is started for a BOM that contains a subcontracted service item. A PO is automatically generated. I confirm the purchase order. Then I receive the purchase order.

Questions:

Can I set up AX to automatically confirm the PO generated by the production order?

Can I set up AX to end production upon receipt of the PO containing the service item?

AX? Wrong section you posted. But what you mentioned is not logical, how can you auto “confirm” a PO, since upon issuing a sub contractor request by PO, immediately the work is done by your vendor?