You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Rishi Solanki (JIRA)" <ji...@apache.org> on 2009/07/30 12:15:16 UTC

[jira] Commented: (OFBIZ-2774) Change the createPaymentGroupMember and updatePaymentGroupMemeber services and UI.

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

Rishi Solanki commented on OFBIZ-2774:
--------------------------------------

My apology,
return error should be
 - "can't add incoming payment to payment group type Check Run"
 - "can't add outgoing payment to payment group type Batch Of Payments"

No need to change the updatePaymentGroupMember service as it handles from UI. 

> Change the createPaymentGroupMember and updatePaymentGroupMemeber services and UI.
> ----------------------------------------------------------------------------------
>
>                 Key: OFBIZ-2774
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2774
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: accounting
>    Affects Versions: SVN trunk
>            Reporter: Rishi Solanki
>             Fix For: SVN trunk
>
>
> For the PaymentGroupMember, CRUD services are implemented using entity-auto engine.
> Need to customize both services ;
> The services should implemented to test the following scenarios.
> - From paymentGroupId get the generic value of PaymentGroup and get its type.
> - If the type is Check Run the the payment should be Disbursement otherwise do not allow to create/update it and return error, "can't add incoming payment to party group type Check Run".
>   -- Use isDisbursement() static method of UtilAccounting to check.
> - If the type is Batch Of Payments the the payment should be Receipt otherwise do not allow to create/update it and return error, "can't add outgoing payment to party group type Batch Of Payments".
>    -- Use isReceipt() static method of UtilAccounting to check.
> Also change the UI, the partyGroupType should be in display only mode user should not change it, because it decides the members should be outgoing or incoming.
> --
> Rishi

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