//************************************************************************** /// <Description> /// This method uses to get MST_PartyLocationVO by Code /// </Description> /// <Inputs> /// ID /// </Inputs> /// <Outputs> /// object /// </Outputs> /// <Returns> /// object /// </Returns> /// <Authors> /// DungLa /// </Authors> /// <History> /// 04-Mar-2005 /// </History> /// <Notes> /// </Notes> //************************************************************************** public object GetObjectVO(string pstrLocationCode) { try { MST_PartyLocationDS dsLocation = new MST_PartyLocationDS(); return(dsLocation.GetObjectVO(pstrLocationCode)); } catch (PCSException ex) { throw ex; } catch (Exception ex) { throw ex; } }
//************************************************************************** /// <Description> /// This method uses to get MST_PartyLocationVO /// </Description> /// <Inputs> /// ID /// </Inputs> /// <Outputs> /// object /// </Outputs> /// <Returns> /// object /// </Returns> /// <Authors> /// DungLa /// </Authors> /// <History> /// 04-Mar-2005 /// </History> /// <Notes> /// </Notes> //************************************************************************** public object GetObjectVO(int pintID, string VOclass) { try { MST_PartyLocationDS dsLocation = new MST_PartyLocationDS(); return(dsLocation.GetObjectVO(pintID)); } catch (PCSException ex) { throw ex; } catch (Exception ex) { throw ex; } }
public string GetBuyingLocName(int pintID) { try { MST_PartyLocationDS dsParty = new MST_PartyLocationDS(); return(((MST_PartyLocationVO)dsParty.GetObjectVO(pintID)).Code); } catch (PCSDBException ex) { throw ex; } catch (PCSException ex) { throw ex; } catch (Exception ex) { throw ex; } }