Example #1
0
 private static void AddAdvices(string relPartnerIln, string relDocumentType, string newOrderTrackingId, string relDocumentStandard, string orderPartnerIln)
 {
     if (relPartnerIln == orderPartnerIln)
     {
         Advices.AddRange(EdiService.Receive <DocumentReceivingAdvice>(relPartnerIln, relDocumentType, newOrderTrackingId, relDocumentStandard, ""));
     }
 }
Example #2
0
 private static void AddOrders(string relPartnerIln, string relDocumentType, string newOrderTrackingId, string relDocumentStandard, string orderPartnerIln)
 {
     if (relPartnerIln == orderPartnerIln)
     {
         var doc = EdiService.Receive <DocumentOrder>(relPartnerIln, relDocumentType, newOrderTrackingId, relDocumentStandard, "").First();
         Orders.Add(doc);
     }
 }