[ http://issues.apache.org/jira/browse/OFBIZ-438?page=all ]
Si Chen closed OFBIZ-438.
-------------------------
Resolution: Fixed
> setInvoiceStatus not updating invoice.paidDate
> ----------------------------------------------
>
> Key: OFBIZ-438
> URL: http://issues.apache.org/jira/browse/OFBIZ-438
> Project: OFBiz (The Open for Business Project)
> Issue Type: Bug
> Components: accounting
> Reporter: Si Chen
> Assigned To: Si Chen
> Attachments: SwitchInvoice_Nov_13.patch
>
>
> setInvoiceStatus currently is not setting Invoice.paidDate if the invoice
> status is being set to PAID but there is no paidDate supplied in the
> parameter. Invoices are being marked PAID because
> checkInvoicePaymentApplication will supply a paidDate parameter based on the
> Payments applied to invoice.
> The change would be to modify setInvoiceStatus so that IF statusId =
> INVOICE_PAID and parameters.paidDate is null (empty), then set paidDate to
> current timestamp
--
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