Interface IDocFactory

All Known Implementing Classes:
DefaultDocumentFactory, MappedDocumentFactory

public interface IDocFactory
Factory interface for Doc.
Author:
hengsin
  • Method Details

    • getDocument

      default Doc getDocument(MAcctSchema as, int AD_Table_ID, int Record_ID, String trxName)
      Create Posting document
      Parameters:
      as - accounting schema
      AD_Table_ID - Table ID of Documents
      Record_ID - record ID to load
      trxName - transaction name
      Returns:
      Document or null
    • getDocument

      Doc getDocument(MAcctSchema as, int AD_Table_ID, ResultSet rs, String trxName)
      Create Posting document
      Parameters:
      as - accounting schema
      AD_Table_ID - Table ID of Documents
      rs - ResultSet
      trxName - transaction name
      Returns:
      Document