[ 
https://issues.apache.org/jira/browse/OFBIZ-1243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17453313#comment-17453313
 ] 

ASF subversion and git services commented on OFBIZ-1243:
--------------------------------------------------------

Commit 32c4b6b8833601612a7e1c7dcc6c9b62a655ce66 in ofbiz-framework's branch 
refs/heads/trunk from Pierre Smits
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=32c4b6b ]

Improved: VIEW permissions - invoice notes (OFBIZ-1243  1) (#383)

Though there is an entity InvoiceNote, this cannot be accessed by user with 
VIEW permissions when accessing an invoice.
See:
for entity 
data:https://demo-trunk.ofbiz.apache.org/webtools/control/entity/find/InvoiceNote
test invoice: 
https://demo-trunk.ofbiz.apache.org/accounting/control/invoiceOverview?invoiceId=demo11001

Modified:
AccountingMenus.xml
- added menu-item for invoice notes to InvoiceTabBar menu, reordered menu-items 
alphabetically
controller.xml
- added request-map and view-map for request invoiceNotes
InvoiceScreens.xml
- added screen for invoice notes
InvoiceForms.xml
- added grid to display InvoiceNote records
AccountingUiLabels.xml
- added label for page title invoice notes.

> Billing Accounts: wrong balance if payments are applied using the standard UI 
> (cause: status of OrderPaymentPreference is not updated)
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1243
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1243
>             Project: OFBiz
>          Issue Type: Bug
>          Components: accounting
>            Reporter: Jacopo Cappellato
>            Priority: Major
>
> From a mail by Rashko Rejmer with subject "RE: Billing Accounts" posted to 
> the user ML on 2007-09-14:
> "If you create order that is payed with billing account(BA) then in 
> OrderPaymentPreference
> entity is created record with status PAYMENT_NOT_RECEIVED. The account
> balance is calculated considering this entries and payments that are applied
> to the billing account, but are not applied to the invoice. 
> Everything is OK if you create order, then invoice it, then create payment
> and apply it only to the BA(the best UI is throught the new form and service
> created recently in r574962 -
> https://demo.hotwaxmedia.com/accounting/control/BillingAccountPayments?billingAccountId=9010)
> and then use the capture ability from the BA -> invoices screen to apply
> this payment to the invoice too. In that case the the BA balance behaves as
> it should. This is because capture ability invokes the service
> "processCaptureSplitPayment" that takes care to update the status of the
> OrderPaymentPreference entries(changes it to PAYMENT_RECEIVED).
> The problem is if you apply payments to the invoice from another UI(E.g
> https://demo.hotwaxmedia.com/accounting/control/editPaymentApplications?paymentId=demo10000)
> the OrderPaymentPreference record is not updated - so BA balance is wrong."



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to