You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Eriks Dobelis (JIRA)" <ji...@apache.org> on 2006/10/30 11:49:16 UTC

[jira] Created: (OFBIZ-412) Cannot assign SGA_EXPENSE, COGS_EXPENSE, etc. account as default account for purchase invoice item

Cannot assign SGA_EXPENSE, COGS_EXPENSE, etc. account as default account for purchase invoice item
--------------------------------------------------------------------------------------------------

                 Key: OFBIZ-412
                 URL: http://issues.apache.org/jira/browse/OFBIZ-412
             Project: OFBiz (The Open for Business Project)
          Issue Type: Bug
          Components: accounting
            Reporter: Eriks Dobelis


In the Accounting screen allowing to edit GlAccount defaults for purchase invoices (accounting/control/addPurInvoiceItemTypeGlAssignment) there is a combobox, which is supposed to contain all expense accounts, which could be made as default accounts for certain Purchase invoice item type. Currently this Combobox lists only those accounts, which are directly of glAccountClassId EXPENSE, but not those, which are descandant classes, e.g. SGA_EXPENSE, COGS_EXPENSE, etc. The problem is in applications/accounting/webapp/accounting/admin/AdminForms.xml file, which states explicitely:

<entity-constraint name="glAccountClassId" operator="equals" value="EXPENSE"></entity-constraint>

Is there a simple way to fix it? 

I suspect that similar problem could be with Sales invoice default account assignment



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira