public CorrespondenceAgencyNoSystemForm() { InitializeComponent(); InitializeComponent(); _caepFunc = new CorrespondenceAgencyNoSystemEndPointFunction(); _caepFunc.ReturnMessageXml += ReturnMessageXmlHandler; ShipmentTest = new BaseShipment(); ShipmentIc = new InsertCorrespondenceShipmentAec { InsertCorrespondence = new InsertCorrespondenceV2() }; ShipmentIc.InsertCorrespondence.SdpOptions = new SdpOptions(); Notifications = new NotificationBEList(); ShipmentIc.InsertCorrespondence.Notifications = Notifications; ShipmentIc.InsertCorrespondence.ReplyOptions = new CorrespondenceInsertLinkBEList(); ShipmentIc.InsertCorrespondence.Content = new ExternalContentV2(); ShipmentIc.InsertCorrespondence.Content.Attachments = new AttachmentsV2(); Filter = new GetCorrespondenceStatus(); CorrespondenceStatus = new CorrespondenceStatusResultV3(); Filter.CorrespondenceStatusFilter = new CorrespondenceStatusFilterV3(); Filter.CorrespondenceStatusFilter.SdpSearchOptions = new SdpStatusSearchOptions(); GchShipment = new GetCorrespondenceStatusHistoryAecShipment(); SetUpObjForPropGrid(); tb_userName.Enabled = false; tb_password.Enabled = false; }
public CorrespondenceStatusHistoryAecResult GetCorrespondenceStatusHistory(GetCorrespondenceStatusHistoryAecShipment shipment) { using (var client = GenerateProxy(shipment)) { CorrespondenceStatusHistoryRequestExternalBE req = new CorrespondenceStatusHistoryRequestExternalBE(); req.CorrespondenceSendersReferences = shipment.Request; OperationContext = _context + "GetcorrespondenceStatusHistory"; return(new CorrespondenceStatusHistoryAecResult(client.GetCorrespondenceStatusHistoryAEC(req))); } }
public CorrespondenceStatusHistoryAecResult GetCorrespondenceStatusHistory(GetCorrespondenceStatusHistoryAecShipment shipment) { using (var client = GenerateProxy(shipment)) { SdpStatusInformation info = new SdpStatusInformation(); CorrespondenceStatusHistoryRequestExternalBE req = new CorrespondenceStatusHistoryRequestExternalBE(); req.CorrespondenceSendersReferences = shipment.Request; OperationContext = _context + "GetcorrespondenceStatusHistory"; var result = client.GetCorrespondenceStatusHistoryAEC(req.CorrespondenceSendersReferences, out info); return(new CorrespondenceStatusHistoryAecResult(result, info)); } }
private void btn_GCH_LS_Click(object sender, EventArgs e) { GchShipment = InvokeLoad <GetCorrespondenceStatusHistoryAecShipment>(); }