[jira] Created: (OFBIZ-1945) Create/use order for POS save / load sale

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

[jira] Created: (OFBIZ-1945) Create/use order for POS save / load sale

Nicolas Malin (Jira)
Create/use order for POS save / load sale
-----------------------------------------

                 Key: OFBIZ-1945
                 URL: https://issues.apache.org/jira/browse/OFBIZ-1945
             Project: OFBiz
          Issue Type: Improvement
          Components: specialpurpose/pos
            Reporter: Chris Lombardi


Currently, the "load sale" / "save sale" pos functions save a shopping list.  I'd like to change that so that orders are created and updated.  This would increase the security of the solution and allow work orders to be created, etc.

I'm about 90% there, but I'm hitting a wall.  I can currently save off a created order, restore the order, update payments, etc.  This includes saving discounts, item configurations, etc.  However, there's a problem in saving the new items to the order.  I'm probably overlooking something obvious, so if someone wants to double check me, I'd appreciate it.




--
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-1945) Create/use order for POS save / load sale

Nicolas Malin (Jira)

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

Chris Lombardi updated OFBIZ-1945:
----------------------------------

    Attachment: ofbiz-1945.patch

Currently doesn't save the added order items.

> Create/use order for POS save / load sale
> -----------------------------------------
>
>                 Key: OFBIZ-1945
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1945
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: specialpurpose/pos
>            Reporter: Chris Lombardi
>         Attachments: ofbiz-1945.patch
>
>
> Currently, the "load sale" / "save sale" pos functions save a shopping list.  I'd like to change that so that orders are created and updated.  This would increase the security of the solution and allow work orders to be created, etc.
> I'm about 90% there, but I'm hitting a wall.  I can currently save off a created order, restore the order, update payments, etc.  This includes saving discounts, item configurations, etc.  However, there's a problem in saving the new items to the order.  I'm probably overlooking something obvious, so if someone wants to double check me, I'd appreciate it.

--
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-1945) Create/use order for POS save / load sale

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

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

Jacques Le Roux reassigned OFBIZ-1945:
--------------------------------------

    Assignee: Jacques Le Roux

> Create/use order for POS save / load sale
> -----------------------------------------
>
>                 Key: OFBIZ-1945
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1945
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: specialpurpose/pos
>            Reporter: Chris Lombardi
>            Assignee: Jacques Le Roux
>         Attachments: ofbiz-1945.patch
>
>
> Currently, the "load sale" / "save sale" pos functions save a shopping list.  I'd like to change that so that orders are created and updated.  This would increase the security of the solution and allow work orders to be created, etc.
> I'm about 90% there, but I'm hitting a wall.  I can currently save off a created order, restore the order, update payments, etc.  This includes saving discounts, item configurations, etc.  However, there's a problem in saving the new items to the order.  I'm probably overlooking something obvious, so if someone wants to double check me, I'd appreciate it.

--
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-1945) Create/use order for POS save / load sale

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

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

BJ Freeman commented on OFBIZ-1945:
-----------------------------------

Does this save on the POS only or get replicated up the line so another store can pull it down.


> Create/use order for POS save / load sale
> -----------------------------------------
>
>                 Key: OFBIZ-1945
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1945
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: specialpurpose/pos
>            Reporter: Chris Lombardi
>            Assignee: Jacques Le Roux
>         Attachments: ofbiz-1945.patch
>
>
> Currently, the "load sale" / "save sale" pos functions save a shopping list.  I'd like to change that so that orders are created and updated.  This would increase the security of the solution and allow work orders to be created, etc.
> I'm about 90% there, but I'm hitting a wall.  I can currently save off a created order, restore the order, update payments, etc.  This includes saving discounts, item configurations, etc.  However, there's a problem in saving the new items to the order.  I'm probably overlooking something obvious, so if someone wants to double check me, I'd appreciate it.

--
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-1945) Create/use order for POS save / load sale

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

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

Chris Lombardi commented on OFBIZ-1945:
---------------------------------------

Synchronization issues aside, this should work such that any POS has access to the list of not completed orders (ORDERHEADER).  Changing the behavior is as easy as changing the query that fetches the list of orders.  I haven't tried this, but given an appropriate query, it should allow pulling up orders placed through other channels.  Restricting the list, i.e. having orders available at any POS to a certain user id, should also be easy.

It should also allow for taking advantage of ofbiz infrastructure because this more closely adheres to the "normal" ofbiz order flow.  I was thinking of routing product requests to specific stations, etc.  I'm sure others will have more and better ideas.  

> Create/use order for POS save / load sale
> -----------------------------------------
>
>                 Key: OFBIZ-1945
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1945
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: specialpurpose/pos
>            Reporter: Chris Lombardi
>            Assignee: Jacques Le Roux
>         Attachments: ofbiz-1945.patch
>
>
> Currently, the "load sale" / "save sale" pos functions save a shopping list.  I'd like to change that so that orders are created and updated.  This would increase the security of the solution and allow work orders to be created, etc.
> I'm about 90% there, but I'm hitting a wall.  I can currently save off a created order, restore the order, update payments, etc.  This includes saving discounts, item configurations, etc.  However, there's a problem in saving the new items to the order.  I'm probably overlooking something obvious, so if someone wants to double check me, I'd appreciate it.

--
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-1945) Create/use order for POS save / load sale

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

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

Jacques Le Roux updated OFBIZ-1945:
-----------------------------------

    Attachment: ofbiz-1945.patch

An updated patch (merged with révision 739595) with some more changes :
. Use of FastMapt instead of HashMap in some places in POS
. A total replacement of doubles by BigDecimals in POS (with some implied adds in UtilFormatOut.java)

Still have to look at
-        if (!m_trans.addListToCart(sale, m_pos, addToCart)) {
+        if (!m_trans.restoreOrder(sale, m_pos, addToCart)) {

Should not be commited yet...


> Create/use order for POS save / load sale
> -----------------------------------------
>
>                 Key: OFBIZ-1945
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1945
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: specialpurpose/pos
>            Reporter: Chris Lombardi
>            Assignee: Jacques Le Roux
>         Attachments: ofbiz-1945.patch, ofbiz-1945.patch
>
>
> Currently, the "load sale" / "save sale" pos functions save a shopping list.  I'd like to change that so that orders are created and updated.  This would increase the security of the solution and allow work orders to be created, etc.
> I'm about 90% there, but I'm hitting a wall.  I can currently save off a created order, restore the order, update payments, etc.  This includes saving discounts, item configurations, etc.  However, there's a problem in saving the new items to the order.  I'm probably overlooking something obvious, so if someone wants to double check me, I'd appreciate it.

--
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-1945) Create/use order for POS save / load sale

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

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

Jacques Le Roux commented on OFBIZ-1945:
----------------------------------------

Hi Chris,

I have commited your patch with some modifications, but it's still not used since it miss some features:
* AutoSave (automatically save current transaction)
* Add a saved sale to the current sale
* Remove a saved sale
* Replace current sale by a saved sale and remove simultaneously the saved sale

I will try to do that later if nobody beat me on it...

> Create/use order for POS save / load sale
> -----------------------------------------
>
>                 Key: OFBIZ-1945
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1945
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: specialpurpose/pos
>            Reporter: Chris Lombardi
>            Assignee: Jacques Le Roux
>         Attachments: ofbiz-1945.patch, ofbiz-1945.patch
>
>
> Currently, the "load sale" / "save sale" pos functions save a shopping list.  I'd like to change that so that orders are created and updated.  This would increase the security of the solution and allow work orders to be created, etc.
> I'm about 90% there, but I'm hitting a wall.  I can currently save off a created order, restore the order, update payments, etc.  This includes saving discounts, item configurations, etc.  However, there's a problem in saving the new items to the order.  I'm probably overlooking something obvious, so if someone wants to double check me, I'd appreciate it.

--
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] Issue Comment Edited: (OFBIZ-1945) Create/use order for POS save / load sale

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

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

jacques.le.roux edited comment on OFBIZ-1945 at 2/17/09 1:18 PM:
-----------------------------------------------------------------

Hi Chris,

I have commited your patch in r745257 with some modifications, but it's still not used since it miss some features:
* AutoSave (automatically save current transaction)
* Add a saved sale to the current sale
* Remove a saved sale
* Replace current sale by a saved sale and remove simultaneously the saved sale

I will try to do that later if nobody beat me on it...

      was (Author: jacques.le.roux):
    Hi Chris,

I have commited your patch with some modifications, but it's still not used since it miss some features:
* AutoSave (automatically save current transaction)
* Add a saved sale to the current sale
* Remove a saved sale
* Replace current sale by a saved sale and remove simultaneously the saved sale

I will try to do that later if nobody beat me on it...
 

> Create/use order for POS save / load sale
> -----------------------------------------
>
>                 Key: OFBIZ-1945
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1945
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: specialpurpose/pos
>            Reporter: Chris Lombardi
>            Assignee: Jacques Le Roux
>         Attachments: ofbiz-1945.patch, ofbiz-1945.patch
>
>
> Currently, the "load sale" / "save sale" pos functions save a shopping list.  I'd like to change that so that orders are created and updated.  This would increase the security of the solution and allow work orders to be created, etc.
> I'm about 90% there, but I'm hitting a wall.  I can currently save off a created order, restore the order, update payments, etc.  This includes saving discounts, item configurations, etc.  However, there's a problem in saving the new items to the order.  I'm probably overlooking something obvious, so if someone wants to double check me, I'd appreciate it.

--
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-1945) Create/use order for POS save / load sale

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

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

Jacques Le Roux updated OFBIZ-1945:
-----------------------------------

    Attachment:     (was: ofbiz-1945.patch)

> Create/use order for POS save / load sale
> -----------------------------------------
>
>                 Key: OFBIZ-1945
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1945
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: specialpurpose/pos
>            Reporter: Chris Lombardi
>            Assignee: Jacques Le Roux
>         Attachments: ofbiz-1945.patch
>
>
> Currently, the "load sale" / "save sale" pos functions save a shopping list.  I'd like to change that so that orders are created and updated.  This would increase the security of the solution and allow work orders to be created, etc.
> I'm about 90% there, but I'm hitting a wall.  I can currently save off a created order, restore the order, update payments, etc.  This includes saving discounts, item configurations, etc.  However, there's a problem in saving the new items to the order.  I'm probably overlooking something obvious, so if someone wants to double check me, I'd appreciate it.

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