case 4492

This commit is contained in:
2023-03-21 23:23:54 +00:00
parent b0c24e4952
commit 749dbdff66
8 changed files with 22 additions and 218 deletions

View File

@@ -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