private void InitData() { try { if (actions == FormTypes.New) { InfoObj = new T_OA_WELFAREDISTRIBUTEUNDO(); InfoObj.CHECKSTATE = ((int)CheckStates.UnSubmit).ToString(); } else { if (actions == FormTypes.Audit) { actionFlag = DataActionFlag.SubmitComplete; } BenefitsAdministration.GetWelfarePaymentWithdrawalByIdAsync(beingWithdrawnId); } } catch (Exception ex) { Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), ex.Message.ToString()); } }