@adempiere/grpc-api
Advanced tools
Comparing version 4.8.9 to 4.9.0
@@ -231,30 +231,2 @@ /************************************************************************************* | ||
convertShipmentLineFromGRPC(shipmentLine) { | ||
if (shipmentLine) { | ||
const { | ||
convertChargeFromGRPC, | ||
convertProductFromGRPC | ||
} = require('./convertCoreFunctionality.js'); | ||
const { getDecimalFromGRPC } = require('@adempiere/grpc-api/src/utils/baseDataTypeFromGRPC.js'); | ||
return { | ||
id: shipmentLine.getId(), | ||
uuid: shipmentLine.getUuid(), | ||
order_line_uuid: shipmentLine.getOrderLineUuid(), | ||
line: shipmentLine.getLine(), | ||
product: convertProductFromGRPC( | ||
shipmentLine.getProduct() | ||
), | ||
charge: convertChargeFromGRPC( | ||
shipmentLine.getCharge() | ||
), | ||
description: shipmentLine.getDescription(), | ||
quantity: getDecimalFromGRPC( | ||
shipmentLine.getQuantity() | ||
) | ||
}; | ||
} | ||
return undefined; | ||
}, | ||
convertShipmentFromGRPC(shipment) { | ||
@@ -261,0 +233,0 @@ if (shipment) { |
{ | ||
"name": "@adempiere/grpc-api", | ||
"version": "4.8.9", | ||
"version": "4.9.0", | ||
"description": "ADempiere Web write in Javascript for a node service", | ||
@@ -5,0 +5,0 @@ "author": "Yamel Senih", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
7043240
199749