public static void ClearContactPerson(string ObjectName, string SessionID) { CustomProfile profile = CustomProfile.GetProfile(); BrilliantWMS.ServiceContactPersonInfo.iContactPersonInfoClient ServiceContactPerson = new BrilliantWMS.ServiceContactPersonInfo.iContactPersonInfoClient(); ServiceContactPerson.ClearTempDataFromDB(SessionID, profile.Personal.UserID.ToString(), ObjectName + "_ContactPerson", profile.DBConnection._constr); ServiceContactPerson.Close(); }
public void ClearContactPerson(string ObjectName) { hdnConPersonTargetObject.Value = ObjectName; CustomProfile profile = CustomProfile.GetProfile(); BrilliantWMS.ServiceContactPersonInfo.iContactPersonInfoClient ServiceContactPerson = new BrilliantWMS.ServiceContactPersonInfo.iContactPersonInfoClient(); ServiceContactPerson.ClearTempDataFromDB(Session.SessionID, profile.Personal.UserID.ToString(), hdnConPersonTargetObject.Value + "_ContactPerson", profile.DBConnection._constr); ServiceContactPerson.Close(); }