Posting error for Matched PO if invoice posted while MR is not posted.
Description
For cases where we receive the invoice before the MR, the system created a Matched PO but it goes into posting error until the MR has been posted. MatchPO should be posted before MR, not after. The right condition here is not to post the MatchPO if it has NOT been matched to a MR yet, i.e not to post if M_MatchPO.M_InOutLine_ID is null.
For cases where we receive the invoice before the MR, the system created a Matched PO but it goes into posting error until the MR has been posted.
MatchPO should be posted before MR, not after. The right condition here is not to post the MatchPO if it has NOT been matched to a MR yet, i.e not to post if M_MatchPO.M_InOutLine_ID is null.