foreach (ProductionRequestItemEntity item in _request.ProductionRequestItems)
{
item.UpdatedBy = Common.UserInfo.Username;
item.ProductionRequestId = _request.Id;
item.IsNew = bNewEntity; <-- (FALSE)
}
try
{
Common.server.SaveEntityCollection(_request.ProductionRequestItems);
Causes this error:
during a save action an entity's update action failed
this code WAS working. I must have changes something, but I cannot figure out what.
Does anyone know what can cause this error?
Thanks,
Dan