Example #1
0
 public Package(int ID, Order objOrder, Customer objCustInfo, OrderInfo objOrdInfo)
 {
     BaseOrder = objOrder;
     CustInfo = objCustInfo;
     PackageID = ID.ToString();
     PackageOrderNumber = objOrdInfo.OrderNumber;
     PackageSubOrderNumber = objOrdInfo.OrderItemId;
     ShipMethod = objOrdInfo.ShipMethod;
 }
Example #2
0
        public Package(int ID, Product objItem, Order objOrder, int orderItemId, Customer objCustInfo, string carrier)
        {
            BaseOrder = objOrder;
            CustInfo = objCustInfo;
            Carrier = carrier;
            PackageID = ID.ToString();
            PackageOrderNumber = objOrder.OrderNumber;
            PackageSubOrderNumber = orderItemId;

            itemNum = objItem.ItemNumber;
            itemDesc = objItem.Description;
            signReq = (objItem.SignatureRequired ? "Y" : "N");

            ShipMethod = objOrder.OrderItems[itemNum + "_" + orderItemId].OrderInfo.ShipMethod;
        }