Class Doc_Production

java.lang.Object
org.compiere.acct.Doc
org.compiere.acct.Doc_Production

public class Doc_Production extends Doc
Post MProduction Documents.
  Table:              M_Production (325)
  Document Types:     MMP
  
Version:
$Id: Doc_Production.java,v 1.3 2006/07/30 00:53:33 jjanke Exp $
Author:
Jorg Janke
  • Constructor Details

    • Doc_Production

      public Doc_Production(MAcctSchema as, ResultSet rs, String trxName)
      Constructor
      Parameters:
      as - accounting schema
      rs - record
      trxName - trx
  • Method Details

    • loadDocumentDetails

      protected String loadDocumentDetails()
      Load Document Details
      Specified by:
      loadDocumentDetails in class Doc
      Returns:
      error message or null
    • getBalance

      public BigDecimal getBalance()
      Get Balance
      Specified by:
      getBalance in class Doc
      Returns:
      Zero (always balanced)
    • createFacts

      public ArrayList<Fact> createFacts(MAcctSchema as)
      Create Facts (the accounting logic) for MMP.
        Production
            Inventory       DR      CR
        
      Specified by:
      createFacts in class Doc
      Parameters:
      as - account schema
      Returns:
      Fact