protected override void AfterSaveDelete() { Akun Ak = GetOriginal <Akun>(); if (GetErrorString().Length == 0) { if (Ak._KelompokAkun == enKelompokAkun .Laba__RugiTahunBerjalan) { BaseGL.SetingPerusahaan .IdAkunLabaRugiTahunBerjalan = string.Empty; } else if (Ak._KelompokAkun == enKelompokAkun .Laba__RugiTahunLalu) { BaseGL.SetingPerusahaan .IdAkunLabaRugiTahunLalu = string.Empty; } BaseSecurity.DeleteDocument(GetType(), Ak._IdAkun); if (Ak._KelompokAkun == enKelompokAkun.Kas__Bank) { KurangiJmlPengunci(Dp, Ak._IdAkun); } } }