protected void DoAddAlbaran(BackgroundWorker bk)
        {
            Datos.RaiseListChangedEvents    = false;
            Lines_BS.RaiseListChangedEvents = false;

            try
            {
                PgMng.Reset(_results.Count + 1, 1, Resources.Messages.IMPORTANDO_ALBARANES, this);

                //Asignamos el cliente
                if (_entity.OidCliente == 0)
                {
                    _entity.CopyFrom(_results[0]);
                    SetClient(ClienteInfo.Get(_results[0].OidHolder, false, true));
                }

                foreach (OutputDeliveryInfo item in _results)
                {
                    _entity.Insert(item);
                    _out_deliveries.Add(item);
                    PgMng.Grow(string.Empty, "Insertar el Albarán");
                }

                Result = BGResult.OK;
            }
            catch (Exception ex)
            {
                CleanCache();
                throw ex;
            }
            finally
            {
                PgMng.FillUp();

                Datos.RaiseListChangedEvents    = true;
                Lines_BS.RaiseListChangedEvents = true;
#if TRACE
                PgMng.ShowCronos();
#endif
            }
        }