[jira] Created: (OFBIZ-1315) POS does not do itemIssuance

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

[jira] Created: (OFBIZ-1315) POS does not do itemIssuance

Nicolas Malin (Jira)
POS does not do itemIssuance
----------------------------

                 Key: OFBIZ-1315
                 URL: https://issues.apache.org/jira/browse/OFBIZ-1315
             Project: OFBiz
          Issue Type: Bug
          Components: pos
    Affects Versions: SVN trunk, Release Branch 4.0
            Reporter: Jacques Le Roux
            Assignee: Jacques Le Roux
            Priority: Critical


One of the problems is that the POS does not do itemIssuance so the general ledger accounting will not handle it correctly. This is most critical.


--
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-1315) POS does not do itemIssuance

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12542997 ]

Jacopo Cappellato commented on OFBIZ-1315:
------------------------------------------

Jacques,

is it possible that this is happening just because the POS's store has the isImmediatelyFulfilled flag set to Y?



> POS does not do itemIssuance
> ----------------------------
>
>                 Key: OFBIZ-1315
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1315
>             Project: OFBiz
>          Issue Type: Bug
>          Components: pos
>    Affects Versions: SVN trunk, Release Branch 4.0
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Critical
>
> One of the problems is that the POS does not do itemIssuance so the general ledger accounting will not handle it correctly. This is most critical.

--
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-1315) POS does not do itemIssuance

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

    [ https://issues.apache.org/jira/browse/OFBIZ-1315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12543009 ]

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

Hi Jacopo,

It might be, yes !  I will have a look...

> POS does not do itemIssuance
> ----------------------------
>
>                 Key: OFBIZ-1315
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1315
>             Project: OFBiz
>          Issue Type: Bug
>          Components: pos
>    Affects Versions: SVN trunk, Release Branch 4.0
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Critical
>
> One of the problems is that the POS does not do itemIssuance so the general ledger accounting will not handle it correctly. This is most critical.

--
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-1315) POS does not do itemIssuance

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

    [ https://issues.apache.org/jira/browse/OFBIZ-1315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12543121 ]

Bilgin Ibryam commented on OFBIZ-1315:
--------------------------------------

Hi guys,

Actually POS DOES inventory issuance.
isImmediatelyFulfilled = Y means that order items will not be reserved, but when order is completed, the items will be issued. In POS after payments are processed order is completed and this happens:

<eca entity="OrderHeader" operation="create-store" event="return">
        <condition field-name="statusId" operator="equals" value="ORDER_COMPLETED"/>
        <condition field-name="needsInventoryIssuance" operator="equals" value="Y"/>
<action service="issueImmediatelyFulfilledOrder" mode="sync"/>
</eca>

But item issuance happens only if in the POS facility we got inventory items: Here are the comments from "issueImmediatelyFulfilledOrder"
<!-- before issuing inventory, check to see if there is inventory information in this database -->
<!-- if inventory info is not available for all of the products, then don't do the issuance, ie there has to be at least SOME inventory info in the database to facilitate inventory-less POS terminals -->

By default there are no item in MyRetailStore,  thats why there is no issuance.

BTW while testing i found an error in issueImmediatelyFulfilledOrder, when issuing Serialized items. Here is the console log and my patch for it:

 Running Entity ECA Service: issueImmediatelyFulfilledOrder, triggered by rule on Entity: OrderHeader
     [java] 2007-11-16 18:00:29,932 (Thread-58) [      GenericEntity.java:1330:WARN ] The field name (or key) [userLogin] is not valid for entity [InventoryItem], printing IllegalArgumentException instead of throwing it because Map interface specification does not allow throwing that exception.
     [java] 2007-11-16 18:00:29,938 (Thread-58) [       SimpleMethod.java:936:ERROR]
     [java] ---- runtime exception report --------------------------------------------------
     [java] Error in simple-method operation [<call-service/>]: java.lang.IllegalArgumentException: [GenericEntity.set] "userLogin" is not a field of InventoryItem, must be one of: inventoryItemId, inventoryItemTypeId, productId, partyId, ownerPartyId, statusId, datetimeReceived, datetimeManufactured, expireDate, facilityId, containerId, lotId, uomId, binNumber, locationSeqId, comments, quantityOnHandTotal, availableToPromiseTotal, oldQuantityOnHand, oldAvailableToPromise, serialNumber, softIdentifier, activationNumber, activationValidThru, unitCost, currencyUomId, lastUpdatedStamp, lastUpdatedTxStamp, createdStamp, createdTxStamp
     [java] Exception: java.lang.IllegalArgumentException
     [java] Message: [GenericEntity.set] "userLogin" is not a field of InventoryItem, must be one of: inventoryItemId, inventoryItemTypeId, productId, partyId, ownerPartyId, statusId, datetimeReceived, datetimeManufactured, expireDate, facilityId, containerId, lotId, uomId, binNumber, locationSeqId, comments, quantityOnHandTotal, availableToPromiseTotal, oldQuantityOnHand, oldAvailableToPromise, serialNumber, softIdentifier, activationNumber, activationValidThru, unitCost, currencyUomId, lastUpdatedStamp, lastUpdatedTxStamp, createdStamp, createdTxStamp
     [java] ---- stack trace


> POS does not do itemIssuance
> ----------------------------
>
>                 Key: OFBIZ-1315
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1315
>             Project: OFBiz
>          Issue Type: Bug
>          Components: pos
>    Affects Versions: SVN trunk, Release Branch 4.0
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Critical
>
> One of the problems is that the POS does not do itemIssuance so the general ledger accounting will not handle it correctly. This is most critical.

--
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-1315) POS does not do itemIssuance

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

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

Bilgin Ibryam updated OFBIZ-1315:
---------------------------------

    Attachment: fix.patch

> POS does not do itemIssuance
> ----------------------------
>
>                 Key: OFBIZ-1315
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1315
>             Project: OFBiz
>          Issue Type: Bug
>          Components: pos
>    Affects Versions: SVN trunk, Release Branch 4.0
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Critical
>         Attachments: fix.patch
>
>
> One of the problems is that the POS does not do itemIssuance so the general ledger accounting will not handle it correctly. This is most critical.

--
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-1315) POS does not do itemIssuance

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

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

Jacques Le Roux closed OFBIZ-1315.
----------------------------------

       Resolution: Fixed
    Fix Version/s: SVN trunk

Thanks for clarification Bilgin,

Your patch is in trunk revision: 596123, nothing to put in release4.0

> POS does not do itemIssuance
> ----------------------------
>
>                 Key: OFBIZ-1315
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1315
>             Project: OFBiz
>          Issue Type: Bug
>          Components: pos
>    Affects Versions: SVN trunk, Release Branch 4.0
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Critical
>             Fix For: SVN trunk
>
>         Attachments: fix.patch
>
>
> One of the problems is that the POS does not do itemIssuance so the general ledger accounting will not handle it correctly. This is most critical.

--
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-1315) POS does not do itemIssuance

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

    [ https://issues.apache.org/jira/browse/OFBIZ-1315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12545087 ]

Si Chen commented on OFBIZ-1315:
--------------------------------

Hey there: I just saw this message on the commit list:

As explained Bilgin it was not really a problem (RetailStore has no inventory)

I disagree with this statement--the retail store does have inventory and uses the inventory in the Retail Store's warehouse.  I think you should reopen this issue.

> POS does not do itemIssuance
> ----------------------------
>
>                 Key: OFBIZ-1315
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1315
>             Project: OFBiz
>          Issue Type: Bug
>          Components: pos
>    Affects Versions: SVN trunk, Release Branch 4.0
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Critical
>             Fix For: SVN trunk
>
>         Attachments: fix.patch
>
>
> One of the problems is that the POS does not do itemIssuance so the general ledger accounting will not handle it correctly. This is most critical.

--
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-1315) POS does not do itemIssuance

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

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

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

Si,

I don't think that's what Bilgin said. Bilgin simply said that OOTB there are no items in stock as you can check at https://demo.hotwaxmedia.com/facility/control/ViewFacilityInventoryItemsDetails

Do you mean that you tried with items in inventory and no issuances where done ?

> POS does not do itemIssuance
> ----------------------------
>
>                 Key: OFBIZ-1315
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1315
>             Project: OFBiz
>          Issue Type: Bug
>          Components: specialpurpose/pos
>    Affects Versions: SVN trunk, Release Branch 4.0
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Critical
>             Fix For: SVN trunk
>
>         Attachments: fix.patch
>
>
> One of the problems is that the POS does not do itemIssuance so the general ledger accounting will not handle it correctly. This is most critical.

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