private void ConfirmAction_Execute(object sender, SimpleActionExecuteEventArgs e)
        {
            FmFinPlanSubjectDocFull doc = e.CurrentObject as FmFinPlanSubjectDocFull;

            if (doc == null)
            {
                return;
            }
            using (IObjectSpace os = ObjectSpace.CreateNestedObjectSpace()) {
                doc = os.GetObject <FmFinPlanSubjectDocFull>(doc);
                FmFinPlanSubjectDocFullLogic.TransactToSubject(os, doc);
                os.CommitChanges();
            }
        }
 public override void Import(IObjectSpace os, String file_name)
 {
     using (Stream stream = new FileStream(file_name, FileMode.Open)) {
         FmFinPlanSubjectDocFullLogic.ReLoadDocFromXML(os, this, stream);
     }
 }