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

Parimal Gain updated OFBIZ-2774:
--------------------------------

    Attachment: createPaymentGroupMember.patch

Re Implement service createPaymentGroupMember.
Now service Check For Outgoing/Incoming Payment And then Create Payment Group 
Member.
At Ui paymentGroupType is non editable.

Thanks to Rishi.

> 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
>
>         Attachments: createPaymentGroupMember.patch
>
>
> 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.

Reply via email to