[
https://issues.apache.org/jira/browse/OFBIZ-6163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14366159#comment-14366159 ]
Christian Carlow commented on OFBIZ-6163:
-----------------------------------------
Further analysis have revealed that issuances do not occur for webpos so my hope to use shipmentId as the receipt would be insufficient for that scenario. Instead it seems webpos uses the OrderHeader.transactionId as the receiptId. It seemed logical to me that a return would always relate back to a receipt but perhaps not. I'll probably close the issue for now unless someone else thinks returns should relate back to a receipt.
> Create ShipmentReceipt for sales shipment during auto-invoice process
> ---------------------------------------------------------------------
>
> Key: OFBIZ-6163
> URL:
https://issues.apache.org/jira/browse/OFBIZ-6163> Project: OFBiz
> Issue Type: Improvement
> Components: accounting, product
> Reporter: Christian Carlow
>
> ShipmentReceipts seem to only be created for purchase shipments but are also needed for sales shipments. I propose adding functionality to automatically create ShipmentReceipts during the auto-invoicing functionality that happens when Sales Shipment statusId changes to PICKED or PACKED. It also seems more correct to base sales returns on the receiptId rather than the orderId, orderItemSeqId, and orderAdjustmentId. shipmentReceiptId already exists in OrderItemBilling but probably needs to be added to orderAdjustmentBilling also for handling adjustment returns as well.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)