case 4492
This commit is contained in:
@@ -5009,6 +5009,16 @@ namespace AyaNova.Biz
|
||||
//run validation and biz rules
|
||||
bool isNew = currentObj == null;
|
||||
|
||||
|
||||
////////////////////TEST to try to simulate case 4485 issues
|
||||
// if (isNew)
|
||||
// {
|
||||
// //simulate an error see if it displays properly at UI end
|
||||
// AddError(ApiErrorCode.VALIDATION_INVALID_VALUE, "Quantity", await Translate("InventoryRoleRequired"));
|
||||
// return;
|
||||
// }
|
||||
///////////////////////////////
|
||||
|
||||
if (UserIsRestrictedType)
|
||||
{
|
||||
//Parts: no edits allowed
|
||||
|
||||
Reference in New Issue
Block a user