Did you try with type int instead of Long?

Jacques

From: "Naveen Kumar" <[email protected]>
Hi All,

I am trying, following snippet in a simple method.

<set field="intervalDays" value="0" />
               <call-class-method
class-name="org.ofbiz.base.util.UtilDateTime" method-name="getMonthStart"
ret-field="invoicePaymentInfo.dueDate">
                   <field field="invoice.invoiceDate" type="Timestamp"/>
                   <field field="intervalDays" type="Long" />
                   <field field="invoiceTerm.termDays" type="Long"/>
               </call-class-method>

I am getting method not found error,

/PaymentServices.xml#getInvoicePaymentInfoList] process [Could not find
method to execute named getMonthStart: java.lang.NoSuchMethodException:
org.ofbiz.base.util.UtilDateTime.getMonthStart(java.sql.Timestamp,
java.lang.Long)]

Can anyone help me out to sort this issue.

Regards,
Naveen.


Reply via email to