@adempiere/grpc-api
Advanced tools
Comparing version 1.1.8 to 1.1.9
28
index.js
@@ -969,2 +969,30 @@ /************************************************************************************* | ||
// Get Lookup | ||
getLookupItem({ | ||
token, | ||
tableName, | ||
// DSL | ||
filters, | ||
// Custom Query | ||
query, | ||
whereClause, | ||
orderByClause, | ||
limit, | ||
language | ||
}, callback) { | ||
const { GetLookupItemRequest } = require('./src/grpc/proto/business_pb.js') | ||
const request = new GetLookupItemRequest() | ||
const { convertCriteriaToGRPC } = require('./lib/convertValues.js'); | ||
request.setCriteria(convertCriteriaToGRPC({ | ||
tableName, | ||
filters, | ||
query, | ||
whereClause, | ||
orderByClause, | ||
limit | ||
})) | ||
request.setClientRequest(this.createClientRequest(token, language)) | ||
this.getUIService().getLookupItem(request, callback) | ||
} | ||
// List translations | ||
@@ -971,0 +999,0 @@ listTranslations({ |
{ | ||
"name": "@adempiere/grpc-api", | ||
"version": "1.1.8", | ||
"version": "1.1.9", | ||
"description": "ADempiere Web Store write in Javascript for a node service", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
1806501
52801