public string GetXML(int ID, string CodDep, int Vigencia) { PaaBLL obj = new PaaBLL(); vEP_PAA o = obj.Get(ID,CodDep,Vigencia); List<vEP_PAA> lo = new List<vEP_PAA>(); if(o != null) lo.Add(o); return ByAUtil.convertListToXML(lo); }
public static string GetPAA(short filtro) { PaaBLL ep = new PaaBLL(); List<vEP_PAA> opaa = new List<vEP_PAA>(); opaa = ep.Gets2(filtro); return ByAUtil.convertListToXML(opaa); }
public ByARpt Update(vEP_PAA Reg) { PaaBLL obj = new PaaBLL(); return obj.Update(Reg); }
public ByARpt Insert(vEP_PAA Reg) { PaaBLL obj = new PaaBLL(); return obj.Insert(Reg); }
public string Gets(decimal ID_EP_MPAA, int Vigencia) { PaaBLL obj = new PaaBLL(); return ByAUtil.convertListToXML(obj.Gets(Vigencia,ID_EP_MPAA)); }
public List<vEP_PAA_UNSPSC> GetProductos(int ID) { PaaBLL obj = new PaaBLL(); return obj.GetProductosPAA(ID); }
public vEP_PAA Get(int ID) { PaaBLL obj = new PaaBLL(); return obj.Get2(ID); }
public ByARpt DeletePAA(int IDPAA) { PaaBLL o = new PaaBLL(); return o.DeletePAA(IDPAA); }