Class Matcher

java.lang.Object
org.compiere.acct.Matcher

public class Matcher extends Object
Automatic Invoice-Receipt Matching.
Version:
$Id: Matcher.java,v 1.2 2006/07/30 00:53:33 jjanke Exp $
Author:
Jorg Janke
  • Constructor Details

    • Matcher

      public Matcher(int AD_Client_ID, String trxName)
      Constructor
      Parameters:
      AD_Client_ID - Client
      trxName - transaction
  • Method Details

    • match

      public int match()
      Matching
        Derive Invoice-Receipt Matching from PO-Invoice and PO-Receipt
              Purchase Order (20)
        - Invoice1 (10)
        - Invoice2 (10)
        - Receipt1 (5)
        - Receipt2 (15)
      
              (a) Creates Directs
                      - Invoice1 - Receipt1 (5)
                      - Invoice2 - Receipt2 (10)
      
        (b) Creates Indirects
                      - Invoice1 - Receipt2 (5)
        (Not implemented)
      
      
        
      Returns:
      number of records created