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 10:35:15 UTC

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

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


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.


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

Posted by "Awdesh Singh Parihar (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Anil K Patel (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Anil K Patel (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-2772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anil K Patel closed OFBIZ-2772.
-------------------------------

    Resolution: Fixed

Code in r799260. Thanks for 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
>            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.