Why some invoice Type use hard code to retreive associate invoice item type

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Why some invoice Type use hard code to retreive associate invoice item type

Malin Nicolas
Hi all,

On customer site, I edit the invoiceItemTypeMap element to limit the
invoiceItemType drop-down list when edit invoice item.

This works fine, but COMMISSION_INVOICE, PAYROL_INVOICE,
PURCHASE_INVOICE and SALES_INVOICE have hard code condition on file
applications/accounting/webapp/accounting/WEB-INF/actions/invoice/GetInvoiceItemTypes.groovy
that surchage rule define by invoiceItemTypeMap.

I don't understand what, it would be someone enlightened me ?

Nicolas

--
Nicolas MALIN
Consultant
Tél : 06.17.66.40.06
Site projet : http://www.neogia.org/
-------
Société LibrenBerry
Tél : 02.48.02.56.12
Site : http://www.librenberry.net/

Reply | Threaded
Open this post in threaded view
|

Re: Why some invoice Type use hard code to retreive associate invoice item type

Malin Nicolas
No light ?
I open a jira to correct hard code ?

Nicolas


Le 18/04/2012 16:20, Nicolas Malin a écrit :

> Hi all,
>
> On customer site, I edit the invoiceItemTypeMap element to limit the
> invoiceItemType drop-down list when edit invoice item.
>
> This works fine, but COMMISSION_INVOICE, PAYROL_INVOICE,
> PURCHASE_INVOICE and SALES_INVOICE have hard code condition on file
> applications/accounting/webapp/accounting/WEB-INF/actions/invoice/GetInvoiceItemTypes.groovy
> that surchage rule define by invoiceItemTypeMap.
>
> I don't understand what, it would be someone enlightened me ?
>
> Nicolas
>


--
Nicolas MALIN
Consultant
Tél : 06.17.66.40.06
Site projet : http://www.neogia.org/
-------
Société LibrenBerry
Tél : 02.48.02.56.12
Site : http://www.librenberry.net/