示例#1
0
        public static string SaveDeliveryOrder(IDeliveryOrder deliveryOrder, List <DeliveryOrderContainerEntity> lstCntr, int modifiedBy)
        {
            int    result  = 0;
            string message = string.Empty;
            string xmlDoc  = GeneralFunctions.Serialize(lstCntr);

            result = DODAL.SaveDeliveryOrder(deliveryOrder, xmlDoc, modifiedBy);

            switch (result)
            {
            case -1:    //Transaction error occurs.
                message = "Transaction error occurs";
                break;

            case 0:     //No records saved.
                message = "No records saved";
                break;

            default:     //Successfully saved
                message = ResourceManager.GetStringWithoutName("ERR00009");
                break;
            }

            return(message);
        }
示例#2
0
        public static int GetLeaseYard(int LeaseID)
        {
            int result = 0;

            result = DODAL.GetLeaseYard(LeaseID);

            return(result);
        }
示例#3
0
        public static string DeleteDeliveryOrder(Int64 doId)
        {
            int    result  = 0;
            string message = string.Empty;

            result = DODAL.DeleteDeliveryOrder(doId);

            switch (result)
            {
            case -3:     //Transaction data exists.
                message = "Transaction data exists";
                break;

            case 0:     //No records deleted.
                message = "No records deleted";
                break;

            default:     //Successfully deleted
                message = ResourceManager.GetStringWithoutName("ERR00010");
                break;
            }

            return(message);
        }
示例#4
0
 public static List <IDeliveryOrderContainer> GetDeliveryOrderContriner(Int64 bookingId, int emptyYardId, int StockorLease, Int32 LeaseNo)
 {
     return(DODAL.GetDeliveryOrderContriner(bookingId, emptyYardId, StockorLease, LeaseNo));
 }
示例#5
0
 public static List <IDeliveryOrder> GetDeliveryOrder(SearchCriteria searchCriteria, int userId)
 {
     return(DODAL.GetDeliveryOrder(searchCriteria, userId));
 }
示例#6
0
 public static DataTable GetPendingLease(int LocID, int LineID)
 {
     return(DODAL.GetPendingLease(LocID, LineID));
 }
示例#7
0
 public static DataTable GetBookingList(int Loc, int Line)
 {
     return(DODAL.GetBookingList(Loc, Line));
 }
示例#8
0
 public static DataTable GetEmptyYard(int BookingId)
 {
     return(DODAL.GetEmptyYard(BookingId));
 }