public bool IsSendToFinancial(string ID, int UserID) { bool Result = true; try { Result = BI.IsSendToFinancialById(ID, UserID); } catch { } return(Result); }
public bool DontSendMasterReceipt() { int MasterReceiptID = MasterReceiptNoIsPerfect(); if (MasterReceiptID > 0) { return(!(BI.IsSendToFinancialById(MasterReceiptID.ToString(), UserInfo.UserId))); } else { return(false); } }