[ 
https://issues.apache.org/jira/browse/OFBIZ-3334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Surya Kusumakar updated OFBIZ-3334:
-----------------------------------

    Attachment: Ofbiz_3334.patch

I have put checks at service level as well as UI.

Testing steps to check it :

Scenario one : Checks at Ui level.
  
  1)Edit any of the Fin Account 
(https://localhost:8443/accounting/control/EditFinAccount?finAccountId=ABN_CHECKING)
 and set its status to Cancel/Set Manually Frozen.
  2)Go to AP Invoices screen https://localhost:8443/ap/control/FindApInvoices .
  3)Click on Purchase Invoices tab  
https://localhost:8443/ap/control/FindPurchaseInvoices and   then depress on 
Find button.
  4)Select few invoices and select Vendor Payment Method from select box.

--> Expected Result : It will not show deactivated Fin Account.
--> Actual Result :      Working as expected.

Scenario 2 - Checks at service level :
 
  Remove checks from Ui level then run these steps.
  1)Go to AP Invoices screen https://localhost:8443/ap/control/FindApInvoices
  2)Click on Purchase Invoices tab  
https://localhost:8443/ap/control/FindPurchaseInvoices and then depress on Find 
button.
  3)Select few invoices and select Vendor Payment Method from select box which 
is deactivated.
  4)Click on Run button.
-->  Expected Result :  Service will throw invalid status error.
-->  Actual Result :       Working as expected.


---
Thanks

> Deactivated Financial Account should not get displayed in list for Issue 
> Check Run process.
> -------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3334
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3334
>             Project: OFBiz
>          Issue Type: Bug
>          Components: accounting
>    Affects Versions: SVN trunk
>            Reporter: Surya Kusumakar
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: Ofbiz_3334.patch
>
>
> Do not display deactivated(Cancel/Frozen) financial account in list for Issue 
> check (Vendor Payment Method) 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to