Package org.compiere.model
Class MatchPOAutoMatch
java.lang.Object
org.compiere.model.MatchPOAutoMatch
Helper methods for auto matching of M_MatchPO records.
- Author:
- hengsin
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetNotMatchedMatchPOList
(Properties ctx, int C_OrderLine_ID, String trxName) 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)static void
unmatch
(Properties ctx, int C_Invoice_ID, String trxName) remove matchpo and matchinv records between vendor invoice and vendor cm
-
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
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
remove matchpo and matchinv records between vendor invoice and vendor cm- Parameters:
ctx
-C_Invoice_ID
-trxName
-
-