Skip to content

Commit

Permalink
Minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
yamelsenih committed Nov 16, 2021
1 parent fecb353 commit 0e8e338
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1462,7 +1462,7 @@ private Empty.Builder allocateSeller(AllocateSellerRequest request) {
throw new AdempiereException("@C_POS_ID@ @IsMandatory@");
}
if(Util.isEmpty(request.getSalesRepresentativeUuid())) {
throw new AdempiereException("@SalesRep_ID@ @NotFound@");
throw new AdempiereException("@SalesRep_ID@ @IsMandatory@");
}
int posId = RecordUtil.getIdFromUuid(I_C_POS.Table_Name, request.getPosUuid(), null);
int salesRepresentativeId = RecordUtil.getIdFromUuid(I_AD_User.Table_Name, request.getSalesRepresentativeUuid(), null);
Expand Down

0 comments on commit 0e8e338

Please sign in to comment.