Payment terms & Purchase order

While creating a new PO, I need to control the PO amount with the payment terms (Milestones)!

As an Example:

10% with the Contract Signature.
30% with the delivery of XYZ.
30% with the delivery of ABC.
10% after 30 Days of final delivery!

so, any idea how this is possible ? and how can I report the cash flow and commitments based on the open PO’s?

thanks in advance.

Sorry as this feature is not available out-of-the-box. As a work-around, you can create separate Purchase Invoice based on the payment terms. Based on the Purchase Invoice and it’s due date, you can also plan your payable and cash flow.