Package org.adempiere.base
Interface IDocFactory
- All Known Implementing Classes:
DefaultDocumentFactory
,MappedDocumentFactory
,NFe_DocFactory
public interface IDocFactory
Factory interface for
Doc
.- Author:
- hengsin
-
Method Summary
Modifier and TypeMethodDescriptiondefault Doc
getDocument
(MAcctSchema as, int AD_Table_ID, int Record_ID, String trxName) Create Posting documentgetDocument
(MAcctSchema as, int AD_Table_ID, ResultSet rs, String trxName) Create Posting document
-
Method Details
-
getDocument
Create Posting document- Parameters:
as
- accounting schemaAD_Table_ID
- Table ID of DocumentsRecord_ID
- record ID to loadtrxName
- transaction name- Returns:
- Document or null
-
getDocument
Create Posting document- Parameters:
as
- accounting schemaAD_Table_ID
- Table ID of Documentsrs
- ResultSettrxName
- transaction name- Returns:
- Document
-