protected override IFieldBinding[] GetBindings()
 {
     return(_bindingsCreator
            .With <WmsOWB>()
            .CreateOrReplaceForGrid()
            .List());
 }
예제 #2
0
 protected override IFieldBinding[] GetBindings()
 {
     return(_bindingsCreator.With <YExternalTraffic>()
            .CreateOrReplace(i => i.ExternalTrafficPassNumber)
            .CreateOrReplace(i => i.ExternalTrafficID)
            .CreateOrReplace(i => i.Status)
            .CreateOrReplace(i => i.ExternalTrafficDriver)
            .CreateOrReplace(i => i.ExternalTrafficDriver.WorkerLastName)
            .CreateOrReplace(i => i.ExternalTrafficDriver.WorkerPhoneMobile)
            .CreateOrReplace(i => i.ExternalTrafficDriver.WorkerBirthday)
            .CreateOrReplace(i => i.WorkerPass)
            .CreateOrReplace(i => i.Vehicle)
            .CreateOrReplace(i => i.Vehicle.VehicleRN)
            .CreateOrReplace(i => i.Vehicle.VehicleVIN)
            .CreateOrReplace(i => i.Vehicle.VehicleColor.UserEnumName)
            .CreateOrReplace(i => i.Vehicle.VehicleOwnerLegal.PartnerName)
            .CreateOrReplace(i => i.Vehicle.VehicleType.UserEnumName)
            .CreateOrReplace(i => i.Vehicle.VehicleMaxWeight)
            .CreateOrReplace(i => i.Vehicle.VehicleEmptyWeight)
            .CreateOrReplace(i => i.Vehicle.VehiclePerson.WorkerLastName)
            .CreateOrReplace(i => i.ExternalTrafficPlanArrived)
            .CreateOrReplace(i => i.ExternalTrafficFactArrived)
            .CreateOrReplace(i => i.ExternalTrafficFactDeparted)
            .CreateOrReplace(i => i.ExternalTrafficHostRef)
            .CreateOrReplace(i => i.ExternalTrafficVerified)
            .CreateOrReplace(i => i.Parking)
            .CreateOrReplace(i => i.ExternalTrafficTrailerRN)
            .CreateOrReplace(i => i.ExternalTrafficDesc)
            .CreateOrReplace(i => i.VDriverPass)
            .CreateOrReplace(i => i.VDriverAddress)
            .CreateOrReplace(i => i.ExternalTrafficDriver.WorkerPhoto)
            .CreateOrReplace(i => i.ExternalTrafficForvarder)
            .CreateOrReplace(i => i.ExternalTrafficCarrier)
            .List());
 }
예제 #3
0
 protected override IFieldBinding[] GetBindings()
 {
     return(_bindingsCreator
            .With <CstReqCustomsPos>()
            .CreateOrReplaceForGrid()
            .CreateOrReplaceHidden(i => i.ReqCustoms)
            .List());
 }
예제 #4
0
 protected override IFieldBinding[] GetBindings()
 {
     return(_bindingsCreator
            .With <YInternalTraffic>()
            .CreateOrReplaceForGrid()
            .CreateOrReplaceHidden(i => i.ExternalTraffic)
            .List());
 }
 protected override IFieldBinding[] GetBindings()
 {
     return(_bindingsCreator.With <WmsIWB>()
            .CreateOrReplaceHidden(i => i.IWBID)
            .CreateOrReplace(i => i.IWBName)
            .CreateOrReplace(i => i.IWBCMRNumber)
            .CreateOrReplace(i => i.IWBCMRDate)
            //TODO: iwbPos.TTN .CreateOrReplace(i => i.IWBID)
            //TODO: iwbPos.TTN2 .CreateOrReplace(i => i.IWBID)
            //TODO: cargoIwb.id list .CreateOrReplace(i => i.WmsCargoIWB_List)
            .List());
 }
예제 #6
0
 protected override IFieldBinding[] GetBindings()
 {
     return(_bindingsCreator.With <YExternalTraffic>()
            .CreateOrReplace(i => i.ExternalTrafficID)
            .CreateOrReplace(i => i.ExternalTrafficDriver)
            .CreateOrReplace(i => i.ExternalTrafficDriver.WorkerPhoneMobile)
            .CreateOrReplace(i => i.ExternalTrafficPlanArrived)
            .CreateOrReplace(i => i.ExternalTrafficDriver.WorkerPhoto)
            .CreateOrReplace(i => i.Vehicle)
            .CreateOrReplace(i => i.ExternalTrafficForvarder)
            .CreateOrReplace(i => i.ExternalTrafficCarrier)
            .List());
 }
예제 #7
0
 protected override IFieldBinding[] GetBindings()
 {
     return(_bindingsCreator
            .With <CstTransportDocument>()
            .CreateOrReplaceForGrid()
            .Remove(i => i.DateIns)
            .CreateOrReplaceHidden(i => i.TransportDocumentId)
            .Remove(i => i.Transact)
            .Remove(i => i.UserIns)
            .Remove(i => i.UserUpd)
            .Remove(i => i.DateUpd)
            .CreateOrReplaceHidden(i => i.ReqCustoms)
            .List());
 }
 protected override IFieldBinding[] GetBindings()
 {
     return(_bindingsCreator
            .With <YInternalTraffic>()
            .CreateOrReplaceForGrid()
            .Remove(i => i.DateIns)
            .CreateOrReplaceHidden(i => i.InternalTrafficID)
            .Remove(i => i.Transact)
            .Remove(i => i.UserIns)
            .Remove(i => i.UserUpd)
            .Remove(i => i.DateUpd)
            .Remove(i => i.ExternalTraffic)
            .Remove(i => i.Status)
            .Remove(i => i.Gate)
            .Remove(i => i.InternalTrafficFactArrived)
            .Remove(i => i.InternalTrafficFactDeparted)
            .CreateOrReplaceHidden(i => i.ExternalTraffic)
            .List());
 }
예제 #9
0
 protected override IFieldBinding[] GetBindings()
 {
     return(_bindingsCreator
            .With <YPassRequest>()
            .CreateOrReplaceForGrid()
            .CreateOrReplaceHidden(i => i.PassRequestID)
            .Remove(i => i.Transact)
            .Remove(i => i.UserIns)
            .Remove(i => i.UserUpd)
            .Remove(i => i.DateIns)
            .Remove(i => i.DateUpd)
            .Remove(i => i.WorkerPassNumber)
            .Remove(i => i.WorkerPass)
            .Remove(i => i.WorkerFio)
            .Remove(i => i.Worker)
            .Remove(i => i.Vehicle)
            .Remove(i => i.PhoneNumber)
            .Remove(i => i.ArrivalDatePlan)
            .Remove(i => i.PassNumber)
            .Remove(i => i.VehicleNumber)
            .Remove(i => i.State)
            .List());
 }
예제 #10
0
 protected override IFieldBinding[] GetBindings()
 {
     return(_bindingsCreator.With <YPassRequest>()
            .CreateOrReplaceForCard()
            .List());
 }