protected override AxBaseException SaveChanges()
 {
     try
     {
         var result = context.SaveChanges(SaveChangesOptions.PostOnlySetProperties | SaveChangesOptions.BatchWithSingleChangeset);
         foreach (var v in plcVar)
         {
             AxDbHandler.UpdateProductVariantLifecycleState(v.ProductMasterNumber, v.ProductSizeId,
                                                            v.ProductColorId, v.ProductStyleId, v.ProductConfigurationId, v.ProductLifecycleStateId);
         }
         return(null);
     }
     catch (DataServiceRequestException ex)
     {
         return(JsonConvert.DeserializeObject <AxBaseException>(ex.InnerException.Message));
     }
     catch (Exception ex)
     {
         return(new AxBaseException {
             ApplicationException = ex
         });
     }
 }