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

[jira] Assigned: (OFBIZ-2772) Use UtilAccounting methods isPurchaseInvoice(), isSalesInvoice(), isDisbursment(), isReceipt() to get the type of invoice/payment.

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

Anil K Patel reassigned OFBIZ-2772:
-----------------------------------

    Assignee: Anil K Patel

> 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
>            Assignee: Anil K Patel
>             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.