[
https://issues.apache.org/jira/browse/OFBIZ-2772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Awdesh Singh Parihar updated OFBIZ-2772:
----------------------------------------
Attachment: OFBIZ-2772.patch
-- Used isDisbursment(), isReceipt() method of UtilAccounting class for
checking incoming and outgoing payment.
Thanks Rishi and Parimal for reviewing patch .
> Use UtilAccounting methods isPurchaseInvoice(), isSalesInvoice(),
> isDisbursment(), isReceipt() to get the type of invoice/payment.
> ----------------------------------------------------------------------------------------------------------------------------------
>
> Key: OFBIZ-2772
> URL: https://issues.apache.org/jira/browse/OFBIZ-2772
> Project: OFBiz
> Issue Type: Improvement
> Components: accounting
> Affects Versions: SVN trunk
> Reporter: Rishi Solanki
> Fix For: SVN trunk
>
> Attachments: OFBIZ-2772.patch
>
>
> As we consider for the incoming payment is the ToParty should be the owner
> party in OFBiz we consider the default to Company and for outgoing we
> consider the FromParty as Company.
> Due to this reason in accounting component many checks decide the
> incoming/outgoing payment on the basis of ToParty and FromParty.
> For the case if any Internal Organization of the Company participate in the
> transaction this condition will fail. So change all the checks which are
> based on FromParty and ToParty to UtilAccounting appropriate static method.
> For Payment we have ;
> - isDisbursment(),
> - isReceipt().
> For Invoice we have ;
> - isPurchaseInvoice(),
> - isSalesInvoice().
> --
> Rishi
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.