コード例 #1
0
 public static Collection <PurchaseOrderHeaderText> SearchPurchaseOrder()
 {
     try
     {
         return(PurchaseOrderHeaderTextDAO.RetrieveByQuery(""));
     }
     catch (Exception ex)
     {
         Utility.ExceptionLog(ex);
         throw (ex);
     }
 }
コード例 #2
0
 public static Collection <PurchaseOrderHeaderText> GetPurchaseOrderHeaderText(string orderNumber)
 {
     try
     {
         string whereCluase = "";
         string orderCluase = "";
         whereCluase = " EBELN = '" + Utility.EscapeSQL(orderNumber) + "'";
         orderCluase = " TXTITM asc ";
         return(PurchaseOrderHeaderTextDAO.RetrieveByQuery(whereCluase, orderCluase));
     }
     catch (Exception ex)
     {
         Utility.ExceptionLog(ex);
         throw (ex);
     }
 }