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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)
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.

Reply | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)

     [ 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.

Reply | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ 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.

Reply | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ 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.