Ejemplo n.º 1
0
 public SubscriptionAgencyFormEC2()
 {
     InitializeComponent();
     _saepFunc = new SubscriptionAgencyEndPointFunctionEC2();
     _saepFunc.ReturnMessageXml += ReturnMessageXmlHandler;
     ShipmentSs = new SubmitSubscriptionShipmentEC2();
     ShipmentSs.SubscriptionDetails = new SubscriptionDetails();
     ShipmentSs.SubscriptionDetails.Subscriptionlist = new SubscriptionList();
     ResultSs = new ReceiptExternal();
     SetupObjForPropGrid();
 }
Ejemplo n.º 2
0
 private void SubmitAndInstantiatePrefilledFormTask()
 {
     SetBasicShipmentSettings(ShipmentSaipf);
     try
     {
         ResultSaipf = _paepFunc.SubmitAndInstantiatePrefilledFormTask(ShipmentSaipf);
         SetViewedItem(ResultSaipf, "Result from SubmitAndInstantiatePrefilledFormTask");
     }
     catch (Exception ex)
     {
         SetViewedItem(ex, "Error during SubmitAndInstantiatePrefilledFormTask");
     }
 }
Ejemplo n.º 3
0
 private void SubmitSubscription()
 {
     SetBasicShipmentSettings(ShipmentSs);
     try
     {
         ResultSs = _saepFunc.SubmitSubscription(ShipmentSs);
         SetViewedItem(ResultSs, "Result from SubmitSubscription");
     }
     catch (Exception ex)
     {
         SetViewedItem(ex, "Error from SubmitSubscription");
     }
 }
Ejemplo n.º 4
0
        public PrefillAgencyForm()
        {
            InitializeComponent();
            _paepFunc = new PrefillAgencyEndPointFunction();
            _paepFunc.ReturnMessageXml += ReturnMessageXmlHandler;
            ShipmentSpf   = new SubmitPrefillFormTaskShipment();
            ShipmentSaipf = new SubmitAndInstantiatePrefillFormTaskShipment();
            ResultSpf     = new ReceiptExternal();
            ResultSaipf   = new ReceiptExternal();

            ShipmentSpf.PrefillFormTask = new PrefillFormTaskDetails();
            ShipmentSpf.PrefillFormTask.PreFillFormTasklist = new PreFillFormTaskBEList();
            SetupObjForPropGrid();
        }
Ejemplo n.º 5
0
 public ReceiptForm()
 {
     InitializeComponent();
     Receipt                     = new ReceiptExternal();
     ReceiptV2                   = new Receipt.Receipt();
     ReceiptList                 = new ReceiptExternalList();
     ReceiptListV2               = new ReceiptList();
     reFunc                      = new ReceiptEndPointFunctionality();
     reFunc.ReturnMessageXml    += ReturnMessageXmlHandler;
     SaveReceipt                 = new ReceiptExternal();
     UpdateReceipt               = new Receipt.Receipt();
     receiptSearchShipment       = new ReceiptSearchExternalShipment();
     receiptV2SearchShipment     = new ReceiptV2SearchExternalShipment();
     receiptSaveShipment         = new ReceiptSaveExternalShipment();
     receiptUpdateShipment       = new ReceiptUpdateExternalShipment();
     receiptListSearchShipment   = new ReceiptListSearchExternalShipment();
     receiptListV2SearchShipment = new ReceiptListV2SearchExternalShipment();
     SetupObjectsForPropertyGrid();
 }
 public ReceiptAgencyFormEC2()
 {
     InitializeComponent();
     ReceiptExt                = new ReceiptExternal();
     ReceiptV2                 = new ReceiptAgencyEC2.Receipt();
     ReceiptList               = new ReceiptExternalList();
     ReceiptListV2             = new ReceiptList();
     RaeFunc                   = new ReceiptAgencyEndpointFunctionalityEC2();
     RaeFunc.ReturnMessageXml += ReturnMessageXmlHandler;
     SaveReceipt               = new ReceiptExternal();
     UpdateReceipt             = new ReceiptAgencyEC2.Receipt();
     SetupObjectsForPropertyGrid();
     ReceiptSearchShipment       = new ReceiptSearchExternalShipmentEC2();
     ReceiptV2SearchShipment     = new ReceiptV2SearchExternalShipmentEC2();
     ReceiptSaveShipment         = new ReceiptSaveExternalShipmentEC2();
     ReceiptUpdateShipment       = new ReceiptUpdateExternalShipmentEC2();
     ReceiptListSearchShipment   = new ReceiptListSearchExternalShipmentEC2();
     ReceiptListV2SearchShipment = new ReceiptListV2SearchExternalShipmentEC2();
     TestShipment = new BaseShipment();
 }