Class MatchPOAutoMatch

java.lang.Object
org.compiere.model.MatchPOAutoMatch

public class MatchPOAutoMatch extends Object
Helper methods for auto matching of M_MatchPO records.
Author:
hengsin
  • Constructor Details

    • MatchPOAutoMatch

      public MatchPOAutoMatch()
  • Method Details

    • getNotMatchedMatchPOList

      public static List<MMatchPO> getNotMatchedMatchPOList(Properties ctx, int C_OrderLine_ID, String trxName)
      Parameters:
      ctx -
      C_OrderLine_ID -
      trxName -
      Returns:
      not fully matched matchpo records
    • match

      public static void match(Properties ctx, int C_OrderLine_ID, MMatchPO currentPO, String trxName)
      auto match matchpo (between match po created by vendor credit memo and match po created by vendor invoice)
      Parameters:
      ctx -
      C_OrderLine_ID -
      currentPO -
      trxName -
    • unmatch

      public static void unmatch(Properties ctx, int C_Invoice_ID, String trxName)
      remove matchpo and matchinv records between vendor invoice and vendor cm
      Parameters:
      ctx -
      C_Invoice_ID -
      trxName -