Class Doc_Requisition

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

public class Doc_Requisition extends Doc
Post MRequisition Documents.
   Table:              M_Requisition
   Document Types:     POR (Requisition)
 
Version:
$Id: Doc_Requisition.java,v 1.3 2006/07/30 00:53:33 jjanke Exp $
Author:
Jorg Janke
  • Constructor Details

    • Doc_Requisition

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

    • loadDocumentDetails

      protected String loadDocumentDetails()
      Load Specific 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:
      balance (ZERO) - always balanced
    • createFacts

      public ArrayList<Fact> createFacts(MAcctSchema as)
      Create Facts (the accounting logic) for POR.
       Reservation
              Expense         CR
              Offset                  DR
       
      Specified by:
      createFacts in class Doc
      Parameters:
      as - accounting schema
      Returns:
      Fact