You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Bilgin Ibryam (JIRA)" <ji...@apache.org> on 2009/10/28 08:57:59 UTC
[jira] Assigned: (OFBIZ-3010) Bug in createInvoiceForOrderAllItems
service definition
[ https://issues.apache.org/jira/browse/OFBIZ-3010?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bilgin Ibryam reassigned OFBIZ-3010:
------------------------------------
Assignee: Bilgin Ibryam
> Bug in createInvoiceForOrderAllItems service definition
> -------------------------------------------------------
>
> Key: OFBIZ-3010
> URL: https://issues.apache.org/jira/browse/OFBIZ-3010
> Project: OFBiz
> Issue Type: Bug
> Components: accounting
> Affects Versions: Release Branch 9.04
> Environment: Tested on version : ofbiz-rel9.04-2009-09-25-v818777
> Reporter: Cimballi
> Assignee: Bilgin Ibryam
>
> There is a bug in the definition of the "createInvoiceForOrderAllItems" service .
> Here is the current definition :
> <service name="createInvoiceForOrderAllItems" engine="java"
> location="org.ofbiz.accounting.invoice.InvoiceServices" invoke="createInvoiceForOrderAllItems">
> <description>
> Create an invoice from existing order using all order items
> orderId = The orderId to associate the invoice with
> </description>
> <attribute name="orderId" type="String" mode="IN" optional="false"/>
> <attribute name="invoiceId" type="String" mode="OUT" optional="true"/>
> </service>
> But in the service method, there is this :
> Map resp = ServiceUtil.returnSuccess();
> resp.put("invoiceId", invoiceId);
> resp.put("invoiceTypeId", invoiceType);
> return resp;
> And so it generates the following error :
> (OUT) Required test error: org.ofbiz.service.ServiceValidationException: Unknown parameter found: [createInvoiceForOrderAllItems.invoiceTypeId]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.