Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0045687Openbravo ERP07. Sales managementpublic2021-01-06 16:372021-01-06 16:37
lbressan 
Triage Omni OMS 
normalminorsometimes
newopen 
5
PR20Q4 
 
Core
No
0045687: Qtyreserved updated for service items
In case of service items, qtyreserved is not used when booking sales order. But qtyreserved is updated for service items on closing sales order, which is incorrect.
1. Create sales order with item and service
2. Check qtyreserved in c_orderline. For service item it is 0
select qtyordered, qtyreserved, qtydelivered, qtyinvoiced, m_product.name from c_orderline join m_product on c_orderline.m_product_id = m_product.m_product_id where c_order_id = 'A1B457FC888A48C7BB2CF81DBE2A1934'
3. Check the qty reserved for the products in the m_storage_pending. For the service product there are not records.
4. Close the sales order
5. Check the qty reserved for the products in the m_storage_pending again. There are an record for the service product with qtyreserved = -1

More details in the attached file
No tags attached.
docx qtyreserved updated for service items.docx (614,309) 2021-01-06 16:37
https://issues.openbravo.com/file_download.php?file_id=15225&type=bug
Issue History
2021-01-06 16:37lbressanNew Issue
2021-01-06 16:37lbressanAssigned To => Triage Finance
2021-01-06 16:37lbressanFile Added: qtyreserved updated for service items.docx
2021-01-06 16:37lbressanModules => Core
2021-01-06 16:37lbressanTriggers an Emergency Pack => No

There are no notes attached to this issue.