Esempio n. 1
0
 public ShipmentOrder VOBL(ShipmentOrder shipmentorder, IShipmentOrderService _shipmentorderService, IContactService _contactService, ICityLocationService _cityService)
 {
     if (shipmentorder.OBLStatus != "P")
     {
         if (shipmentorder.OBLCollectId == null)
         {
             shipmentorder.Errors.Add("Generic", "Invalid Freight Collect At");
         }
         else if (_cityService.GetObjectById(shipmentorder.OBLCollectId.Value) == null)
         {
             shipmentorder.Errors.Add("Generic", "Invalid Freight Collect At");
         }
     }
     return(shipmentorder);
 }
Esempio n. 2
0
 public ShipmentOrder VCreateObject(ShipmentOrder shipmentorder, IShipmentOrderService _shipmentorderService)
 {
     return(shipmentorder);
 }