Openbravo Issue Tracking System - Retail Modules  | 
| View Issue Details | 
  | 
| ID | Project | Category | View Status | Date Submitted | Last Update | 
| 0053240 | Retail Modules | Retail API | public | 2023-08-18 13:13 | 2023-08-24 09:12 | 
  | 
| Reporter | lmonreal |   | 
| Assigned To | fermin_gascon |   | 
| Priority | urgent | Severity | major | Reproducibility | always | 
| Status | closed | Resolution | fixed |   | 
| Platform |  | OS | 5 | OS Version |  | 
| Product Version |  |   | 
| Target Version |  | Fixed in Version |  |   | 
| Merge Request Status | approved | 
| Review Assigned To |  | 
| OBNetwork customer | OBPS | 
| Support ticket |  | 
| Regression level |  | 
| Regression date |  | 
| Regression introduced in release |  | 
| Regression introduced by commit |  | 
| Triggers an Emergency Pack | No | 
  | 
| Summary | 0053240: "netUnitPrice" property wrongly mapped in Goods receipt | 
| Description | In the JSON of goods receipt there is a property "netUnitPrice". 
 
This property is displaying a wrong value, it is displaying the Line net amount instead of the Net Unit price. 
 
See attachment  
 | 
| Steps To Reproduce | 1. Do a PO 
2. Receive it 
3. Check api values and see netUnitPrice displays Line net amount instead of Net Unit price | 
| Proposed Solution | "netUnitPrice".=Net Unit price | 
| Additional Information |  | 
| Tags | No tags attached. | 
| Relationships | | related to  | feature request  | 0050364 |   | closed  | fermin_gascon  | Openbravo ERP  | It will be nice to have and api to export goods receipts and shipments to external services  |  
  | 
| Attached Files |   ERROR API.png (193,416) 2023-08-18 13:13 https://issues.openbravo.com/file_download.php?file_id=18885&type=bug
  
  | 
  | 
| Issue History | 
| Date Modified | Username | Field | Change | 
| 2023-08-18 13:13 | lmonreal | New Issue |  | 
| 2023-08-18 13:13 | lmonreal | Assigned To |  => Triage Platform Conn | 
| 2023-08-18 13:13 | lmonreal | File Added: ERROR API.png |  | 
| 2023-08-18 13:13 | lmonreal | OBNetwork customer |  => OBPS | 
| 2023-08-18 13:13 | lmonreal | Triggers an Emergency Pack |  => No | 
| 2023-08-18 13:13 | lmonreal | Issue Monitored: alfonso_alcalde |  | 
| 2023-08-18 13:14 | lmonreal | Assigned To | Triage Platform Conn => fermin_gascon | 
| 2023-08-22 14:40 | hgbot | Merge Request Status |  => open | 
| 2023-08-22 14:40 | hgbot | Note Added: 0153794 |  | 
| 2023-08-22 14:40 | hgbot | Note Added: 0153795 |  | 
| 2023-08-22 14:50 | fermin_gascon | Relationship added | related to 0050364 | 
| 2023-08-22 14:51 | fermin_gascon | Status | new => acknowledged | 
| 2023-08-22 14:51 | fermin_gascon | Status | acknowledged => scheduled | 
| 2023-08-22 14:51 | fermin_gascon | Status | scheduled => resolved | 
| 2023-08-22 14:51 | fermin_gascon | Resolution | open => fixed | 
| 2023-08-24 09:11 | hgbot | Merge Request Status | open => approved | 
| 2023-08-24 09:12 | hgbot | Note Added: 0153869 |  | 
| 2023-08-24 09:12 | hgbot | Status | resolved => closed | 
| 2023-08-24 09:12 | hgbot | Note Added: 0153870 |  | 
| 2023-08-24 09:12 | hgbot | Note Added: 0153871 |  | 
| 2023-08-24 09:12 | hgbot | Note Added: 0153872 |  | 
	| 
		Notes	 | 
	
		 
	 | 
	
		
		
			| 
				(0153794)
			 | 
		 
		
			| 
				hgbot   
			 | 
		 
		
			| 
				2023-08-22 14:40   
							 | 
		 
		 
	 | 
	
		
	 | 
	
		 
	 | 
	
		
		
			| 
				(0153795)
			 | 
		 
		
			| 
				hgbot   
			 | 
		 
		
			| 
				2023-08-22 14:40   
							 | 
		 
		 
	 | 
	
		
	 | 
	
		 
	 | 
	
		
		
			| 
				(0153869)
			 | 
		 
		
			| 
				hgbot   
			 | 
		 
		
			| 
				2023-08-24 09:12   
							 | 
		 
		 
	 | 
	
		
	 | 
	
		 
	 | 
	
		
		
			| 
				(0153870)
			 | 
		 
		
			| 
				hgbot   
			 | 
		 
		
			| 
				2023-08-24 09:12   
							 | 
		 
		 
	 | 
	
		
	 | 
	
		 
	 | 
	
		
		
			| 
				(0153871)
			 | 
		 
		
			| 
				hgbot   
			 | 
		 
		
			| 
				2023-08-24 09:12   
							 | 
		 
		 
	 | 
	
		
	 | 
	
		 
	 | 
	
		
		
			| 
				(0153872)
			 | 
		 
		
			| 
				hgbot   
			 | 
		 
		
			| 
				2023-08-24 09:12   
							 | 
		 
		 
	 | 
	
		
		
			
				Directly closing issue as related merge request is already approved. 
 
Repository: https://gitlab.com/openbravo/ci/modules/org.openbravo.api.tests [^] 
Changeset: bbaf4e1ff241b24fb59bff5945cd6d47f425c573 
Author: Fermin Gascon <fermin.gascon@openbravo.com> 
Date: 22-08-2023 14:35:58 
URL: https://gitlab.com/openbravo/ci/modules/org.openbravo.api.tests/-/commit/bbaf4e1ff241b24fb59bff5945cd6d47f425c573 [^] 
 
Fixed ISSUE-53240: corrections in test, after correction in netUnitPrice mapping 
 
--- 
M src-test/data/export/filter/shipmentInOut/goodsReceipt/goodsReceiptByDate.json 
M src-test/data/export/filter/shipmentInOut/goodsReceipt/goodsReceiptByDateRange.json 
M src-test/data/export/filter/shipmentInOut/goodsReceipt/goodsReceiptByDocumentNo.json 
M src-test/data/export/filter/shipmentInOut/goodsReceipt/goodsReceiptById.json 
M src-test/data/export/filter/shipmentInOut/goodsShipment/goodsShipmentByDate.json 
M src-test/data/export/filter/shipmentInOut/goodsShipment/goodsShipmentByDateRange.json 
M src-test/data/export/filter/shipmentInOut/returnMaterialReceipt/returnMaterialReceiptById.json 
M src-test/data/export/filter/shipmentInOut/returnToVendorShipment/returnToVendorShipmentById.json 
--- 
			 | 
		 
		 
	 |