@adempiere/grpc-api
Advanced tools
Comparing version 4.8.2 to 4.8.3
{ | ||
"name": "@adempiere/grpc-api", | ||
"version": "4.8.2", | ||
"version": "4.8.3", | ||
"description": "ADempiere Web write in Javascript for a node service", | ||
@@ -5,0 +5,0 @@ "author": "Yamel Senih", |
@@ -600,10 +600,10 @@ /************************************************************************************* | ||
/** | ||
* Process Payment Allocation | ||
* Process Bank Statement | ||
* @param {string} token | ||
* @param {number} currencyId | ||
* @param {number} chargeId | ||
* @param {number} transactionOrganizationId | ||
* @param {Date} date | ||
* @param {Array} paymentSelectionsList | ||
* @param {Array} invoiceSelectionList | ||
* @param {number} bankAccountId | ||
* @param {number} bankStatementId | ||
* @param {number} paymentAmountFrom | ||
* @param {number} paymentAmountTo | ||
* @param {Date} transactionDateFrom | ||
* @param {Date} transactionDateTo | ||
*/ | ||
@@ -618,5 +618,3 @@ processMovements({ | ||
transactionDateFrom, | ||
transactionDateTo, | ||
matchMode, | ||
macthingSelectionsList = [] | ||
transactionDateTo | ||
}, callback) { | ||
@@ -649,19 +647,2 @@ const { ProcessMovementsRequest } = this.stubFile; | ||
request.setMatchMode( | ||
getValidInteger(matchMode) | ||
); | ||
const { getKeyValueSelectionToGRPC } = require('@adempiere/grpc-api/src/utils/baseDataTypeToGRPC.js'); | ||
// payment selections list | ||
macthingSelectionsList.forEach(matchMovement => { | ||
// selection format = { selectionId: number, selectionValues: [{ columName, value, valueType }] } | ||
const convertedRecord = getKeyValueSelectionToGRPC({ | ||
selectionId: matchMovement.recordId, | ||
selectionUuid: matchMovement.recordUuid, | ||
selectionValues: matchMovement.attributesList | ||
}); | ||
request.addMatchingMovements(convertedRecord); | ||
}); | ||
const metadata = getMetadata({ | ||
@@ -668,0 +649,0 @@ token |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6955829
197096