Class Doc_Movement

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

public class Doc_Movement extends Doc
Post MMovement Documents. DOCTYPE_MatMovement.
  Table:              M_Movement (323)
  Document Types:     MMM
  
Version:
$Id: Doc_Movement.java,v 1.3 2006/07/30 00:53:33 jjanke Exp $
Author:
Jorg Janke, Armen Rizal, Goodwill Consulting
  • BF [ 1745154 ] Cost in Reversing Material Related Docs
    • Constructor Details

      • Doc_Movement

        public Doc_Movement(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:
        balance (ZERO) - always balanced
      • createFacts

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