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); }
public static int GetLeaseYard(int LeaseID) { int result = 0; result = DODAL.GetLeaseYard(LeaseID); return(result); }
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); }
public static List <IDeliveryOrderContainer> GetDeliveryOrderContriner(Int64 bookingId, int emptyYardId, int StockorLease, Int32 LeaseNo) { return(DODAL.GetDeliveryOrderContriner(bookingId, emptyYardId, StockorLease, LeaseNo)); }
public static List <IDeliveryOrder> GetDeliveryOrder(SearchCriteria searchCriteria, int userId) { return(DODAL.GetDeliveryOrder(searchCriteria, userId)); }
public static DataTable GetPendingLease(int LocID, int LineID) { return(DODAL.GetPendingLease(LocID, LineID)); }
public static DataTable GetBookingList(int Loc, int Line) { return(DODAL.GetBookingList(Loc, Line)); }
public static DataTable GetEmptyYard(int BookingId) { return(DODAL.GetEmptyYard(BookingId)); }