This commit is contained in:
@@ -227,8 +227,8 @@ namespace Sockeye.Biz
|
||||
|
||||
private async Task ValidateCanDeleteAsync(Product inObj)
|
||||
{
|
||||
|
||||
await Task.CompletedTask;
|
||||
if (await ct.Purchase.AnyAsync(m => m.ProductId == inObj.Id))
|
||||
AddError(ApiErrorCode.VALIDATION_REFERENTIAL_INTEGRITY, "generalerror", await Translate("Purchase"));
|
||||
}
|
||||
|
||||
|
||||
@@ -414,7 +414,7 @@ namespace Sockeye.Biz
|
||||
log.LogDebug($"HandlePotentialNotificationEvent processing: [SockType:{this.BizType}, AyaEvent:{ayaEvent}]");
|
||||
|
||||
bool isNew = currentObj == null;
|
||||
|
||||
|
||||
//STANDARD EVENTS FOR ALL OBJECTS
|
||||
await NotifyEventHelper.ProcessStandardObjectEvents(ayaEvent, proposedObj, ct);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user