Class Doc_Inventory


  • public class Doc_Inventory
    extends Doc
    Post Inventory Documents.
      Table:              M_Inventory (321)
      Document Types:     MMI
      
    Version:
    $Id: Doc_Inventory.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, red1
  • BF [ 2982994 ] Internal Use Inventory does not reverse Accts
    • Constructor Detail

      • Doc_Inventory

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

      • 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 MMI.
          Inventory
              Inventory       DR      CR
              InventoryDiff   DR      CR   (or Charge)
          
        Specified by:
        createFacts in class Doc
        Parameters:
        as - account schema
        Returns:
        Fact