예제 #1
0
        public override void ActionNew()
        {
            base.ActionNew();

            ProposalEntities entity     = (ProposalEntities)CurrentModuleEntity;
            ARProposalsInfo  mainObject = (ARProposalsInfo)CurrentModuleEntity.MainObject;

            mainObject.ARProposalStatus = ProposalStatus.New;
            entity.UpdateMainObject();
        }
예제 #2
0
        public override void ActionApproved()
        {
            ProposalEntities entity     = (ProposalEntities)CurrentModuleEntity;
            ARProposalsInfo  mainObject = (ARProposalsInfo)entity.MainObject;

            ARProposalsController objProposalsController = new ARProposalsController();

            mainObject.ARProposalStatus = "Approved";
            entity.UpdateMainObject();
            InvalidateToolbar();
        }