diff --git a/package.json b/package.json index 856a3b41..d74b2bac 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "@adempiere/grpc-access-client": "^1.1.8", "@adempiere/grpc-data-client": "^2.2.1", "@adempiere/grpc-pos-client": "^1.0.3", - "@adempiere/grpc-dictionary-client": "^1.3.7", + "@adempiere/grpc-dictionary-client": "^1.3.8", "@adempiere/grpc-enrollment-client": "^1.0.7", "autoprefixer": "^9.5.1", "axios": "0.18.0", diff --git a/src/api/ADempiere/dictionary.js b/src/api/ADempiere/dictionary.js index 9c566eac..87a0d353 100644 --- a/src/api/ADempiere/dictionary.js +++ b/src/api/ADempiere/dictionary.js @@ -64,3 +64,16 @@ export function getField({ elementColumnName }) } + +export function requestReference({ referenceUuid, columnName }) { + return Instance.call(this).requestReference({ + referenceUuid, + columnName + }) +} + +export function requestValidationRule({ validationRuleUuid }) { + return Instance.call(this).requestValidationRule({ + validationRuleUuid + }) +}