public override void ActionNew() { base.ActionNew(); ProposalEntities entity = (ProposalEntities)CurrentModuleEntity; ARProposalsInfo mainObject = (ARProposalsInfo)CurrentModuleEntity.MainObject; mainObject.ARProposalStatus = ProposalStatus.New; entity.UpdateMainObject(); }
public override void ActionApproved() { ProposalEntities entity = (ProposalEntities)CurrentModuleEntity; ARProposalsInfo mainObject = (ARProposalsInfo)entity.MainObject; ARProposalsController objProposalsController = new ARProposalsController(); mainObject.ARProposalStatus = "Approved"; entity.UpdateMainObject(); InvalidateToolbar(); }