[jira] Created: (OFBIZ-2484) When inventory is found or returned for a Discontinued Item then item is not shown in front-end store

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

[jira] Created: (OFBIZ-2484) When inventory is found or returned for a Discontinued Item then item is not shown in front-end store

Nicolas Malin (Jira)
When inventory is found or returned for a Discontinued Item then item is not shown in front-end store
-----------------------------------------------------------------------------------------------------

                 Key: OFBIZ-2484
                 URL: https://issues.apache.org/jira/browse/OFBIZ-2484
             Project: OFBiz
          Issue Type: New Feature
          Components: order
    Affects Versions: SVN trunk
            Reporter: Akash Jain
            Priority: Minor
             Fix For: SVN trunk


If the product (when received or returned) has no active category (i.e thruDate is set for all the records of this particular product in ProductCategoryMember entity) then it is not show in frond-end store.

Solution for this :

For above given case, product should be shown in front-end store.

--
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-2484) When inventory is found or returned for a Discontinued Item then item is not shown in front-end store

Nicolas Malin (Jira)

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

Akash Jain updated OFBIZ-2484:
------------------------------

    Attachment: NoActiveCategory_OFBIZ-2484.patch

I am uploading the patch, now If the product (when received or returned) has no active category (i.e thruDate is set for all the records of this particular product in ProductCategoryMember entity) then it will show in frond-end store.

Steps for testing:-

Case 1:
1) Received the return, there should be one or more product(s) returned which are not in active category
2) Check ProductCategoryMember entity, there will be cleared the most recent thruDate of product(s) which are not in active category
3) Now product(s) will shown in front-end store.

Case 2:
1) Go to Facility -> Receive Inventory
2) Entered productId which is not in active category then depress "Receive Product(s)" button
3) Check ProductCategoryMember entity, there will be cleared the most recent thruDate
4) Now product will shown in front-end store.

Case 3:
1) Go to Facility -> Receive Inventory
2) Entered Purchase Order Number (there should be one or more product(s) in purchase order which are not in active category) then depress "Receive Product(s)" button
3) Then select received product(s) and depress "Receive Selected Product(s)" button
4) Check ProductCategoryMember entity, there will be cleared the most recent thruDate of product(s) which are not in active category
5) Now product(s) will shown in front-end store.


> When inventory is found or returned for a Discontinued Item then item is not shown in front-end store
> -----------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-2484
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2484
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Akash Jain
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: NoActiveCategory_OFBIZ-2484.patch
>
>
> If the product (when received or returned) has no active category (i.e thruDate is set for all the records of this particular product in ProductCategoryMember entity) then it is not show in frond-end store.
> Solution for this :
> For above given case, product should be shown in front-end store.

--
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-2484) When inventory is found or returned for a Discontinued Item then item is not shown in front-end store

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

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

Akash Jain updated OFBIZ-2484:
------------------------------

    Attachment: NoActiveCategory_OFBIZ-2484.patch

Following are the miner changes in previous patch:-

1) description of service.
2) improvement in service implementaion.

> When inventory is found or returned for a Discontinued Item then item is not shown in front-end store
> -----------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-2484
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2484
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Akash Jain
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: NoActiveCategory_OFBIZ-2484.patch, NoActiveCategory_OFBIZ-2484.patch
>
>
> If the product (when received or returned) has no active category (i.e thruDate is set for all the records of this particular product in ProductCategoryMember entity) then it is not show in frond-end store.
> Solution for this :
> For above given case, product should be shown in front-end store.

--
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-2484) When inventory is found or returned for a Discontinued Item then item is not shown in front-end store

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

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

Akash Jain updated OFBIZ-2484:
------------------------------

    Attachment: NoActiveCategory_OFBIZ-2484.patch

Improved the logic in service implementation.

> When inventory is found or returned for a Discontinued Item then item is not shown in front-end store
> -----------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-2484
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2484
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Akash Jain
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: NoActiveCategory_OFBIZ-2484.patch, NoActiveCategory_OFBIZ-2484.patch, NoActiveCategory_OFBIZ-2484.patch
>
>
> If the product (when received or returned) has no active category (i.e thruDate is set for all the records of this particular product in ProductCategoryMember entity) then it is not show in frond-end store.
> Solution for this :
> For above given case, product should be shown in front-end store.

--
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-2484) When inventory is found or returned for a Discontinued Item then item is not shown in front-end store

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

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

Vikas Mayur reassigned OFBIZ-2484:
----------------------------------

    Assignee: Vikas Mayur

> When inventory is found or returned for a Discontinued Item then item is not shown in front-end store
> -----------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-2484
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2484
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Akash Jain
>            Assignee: Vikas Mayur
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: NoActiveCategory_OFBIZ-2484.patch, NoActiveCategory_OFBIZ-2484.patch, NoActiveCategory_OFBIZ-2484.patch
>
>
> If the product (when received or returned) has no active category (i.e thruDate is set for all the records of this particular product in ProductCategoryMember entity) then it is not show in frond-end store.
> Solution for this :
> For above given case, product should be shown in front-end store.

--
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-2484) When inventory is found or returned for a Discontinued Item then item is not shown in front-end store

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

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

Vikas Mayur closed OFBIZ-2484.
------------------------------

    Resolution: Fixed

Thanks Akash,

Your slightly modified patch is in trunk rev. 776275

Since either inventoryItemId or returnId would come at a time so I added the if-else sort of stuff so that both condition are not checked always.

Vikas

> When inventory is found or returned for a Discontinued Item then item is not shown in front-end store
> -----------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-2484
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2484
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Akash Jain
>            Assignee: Vikas Mayur
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: NoActiveCategory_OFBIZ-2484.patch, NoActiveCategory_OFBIZ-2484.patch, NoActiveCategory_OFBIZ-2484.patch
>
>
> If the product (when received or returned) has no active category (i.e thruDate is set for all the records of this particular product in ProductCategoryMember entity) then it is not show in frond-end store.
> Solution for this :
> For above given case, product should be shown in front-end store.

--
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] Commented: (OFBIZ-2484) When inventory is found or returned for a Discontinued Item then item is not shown in front-end store

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

    [ https://issues.apache.org/jira/browse/OFBIZ-2484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12710709#action_12710709 ]

Vikas Mayur commented on OFBIZ-2484:
------------------------------------

Also please note that new service/method is always added at the bottom of the file, though with exception like logical or related methods are added together.

I have also done this change.

> When inventory is found or returned for a Discontinued Item then item is not shown in front-end store
> -----------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-2484
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2484
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Akash Jain
>            Assignee: Vikas Mayur
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: NoActiveCategory_OFBIZ-2484.patch, NoActiveCategory_OFBIZ-2484.patch, NoActiveCategory_OFBIZ-2484.patch
>
>
> If the product (when received or returned) has no active category (i.e thruDate is set for all the records of this particular product in ProductCategoryMember entity) then it is not show in frond-end store.
> Solution for this :
> For above given case, product should be shown in front-end store.

--
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] Commented: (OFBIZ-2484) When inventory is found or returned for a Discontinued Item then item is not shown in front-end store

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

    [ https://issues.apache.org/jira/browse/OFBIZ-2484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12710713#action_12710713 ]

Akash Jain commented on OFBIZ-2484:
-----------------------------------

Thanks Vikas :)

> When inventory is found or returned for a Discontinued Item then item is not shown in front-end store
> -----------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-2484
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2484
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Akash Jain
>            Assignee: Vikas Mayur
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: NoActiveCategory_OFBIZ-2484.patch, NoActiveCategory_OFBIZ-2484.patch, NoActiveCategory_OFBIZ-2484.patch
>
>
> If the product (when received or returned) has no active category (i.e thruDate is set for all the records of this particular product in ProductCategoryMember entity) then it is not show in frond-end store.
> Solution for this :
> For above given case, product should be shown in front-end store.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.