Extension point for accounting document factory. Matching is done against the gaap attribute following the priority sequence ( start from larger number ). Extension is only expected to provide document instance for document type that it intents to support and can return null for others. gaap to match c_acctschema.gaap. you can use * to match everything numeric priority value, higher value is of higher priority. Implementation class for the org.adempiere.base.IDocFactory 1.0.0 <pre> <extension id="org.adempiere.base.DefaultDocFactory" name="Default Document Factory" point="org.adempiere.base.IDocFactory"> <factory class="org.adempiere.base.DefaultDocumentFactory" gaap="*" priority="0"> </factory> </extension> </pre> The class attribute must represent an implementor of org.adempiere.base.IDocFactory Default document factory in the org.adempiere.base bundle. This file is part of Adempiere ERP Bazaar http://www.adempiere.org. Copyright (C) Heng Sin Low. Copyright (C) Contributors. This program is free software; you can redistribute it and/or modify it under the terms version 2 of the GNU General Public License as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.