Ejemplo n.º 1
0
        public override Sage.Common.Syndication.FeedEntry GetTransformedPayload(Application.Base.Document document)
        {
            PriceFeedEntry result = _transform.GetTransformedPayload(document as PriceDocument);

            result.commodity = (CommodityFeedEntry)_commodityFeedEntryWrapper.GetFeedEntry(document.Id);
            return(result);
        }
 public override Application.Base.Document GetTransformedDocument(Sage.Common.Syndication.FeedEntry payload)
 {
     Application.Base.Document document = _transform.GetTransformedDocument(payload as TradingAccountFeedEntry);
     if (document.CrmId == null)
     {
         document.CrmId = payload.Key;
     }
     return(document);
 }
Ejemplo n.º 3
0
 public override Sage.Common.Syndication.FeedEntry GetTransformedPayload(Application.Base.Document document)
 {
     throw new NotImplementedException();
 }
 public override Sage.Common.Syndication.FeedEntry GetTransformedPayload(Application.Base.Document document)
 {
     return(_transform.GetTransformedPayload(document as PricingListsDocument));
 }
 public override Sage.Common.Syndication.FeedEntry GetTransformedPayload(Application.Base.Document document)
 {
     return(_transform.GetTransformedPayload(document as UnitOfMeasureDocument));
 }